Monday, October 13, 2014

Asp.Net MVC (part-1)

MVC stands for Model View Controller.


  •     Before MVC: we have been using  concept of Split class.as we know it is not possible to make object of split class.
  •     It was not possible to  call any method from the aspx page  in    The  url.

                         
                                       BUT Right now

  After MVC:  we directly  call any particular method from Aspx page  in address bar.

                                                                                                     

Tuesday, September 16, 2014

ways of writing connections in Asp.net

  • The very elementary idea is to write the connection    string in a class file. and then use it's object  on our page where ever we required.
  • The second is we can write the connection string  in web.config file.
  • And the third  idea  is to  write the connection in  class file and make the DLL of that.This one is a standard way of writing  the connection in Asp.Net . 


Thursday, September 4, 2014

some technical terms used on internet.

The Web browser :

the browser is the vital component that provides an interface between the user and the web server.
the user sends a request through the browser to the web server.  when the web server returns the HTML page ,the browser displays it for the user. browser also supports client-side scriping .
that means you can write code that can be executed  by the browser .for example, when we accept input from  the user, it can be validated at the client end before being sent to the server.



The Web Server:
 The web server bears the responsibility of servicing client browsers.A web server Processes script and sends the rusulting HTML page to the client browsers who requested it.
the server side script may be stand-alone application or embedded in active server pages
web server can do more. they can provide connections.to other server-side components and shows information stored on other servers,these may be database servers,mails etc.

importent point about .NET

.NET is an application development Platform centered around the internet.


.NET platform forms the basis of applications that are language independent and can be run from different .NET compatible devices.

the .NET platform is based on two core technologies-XML and the internet protocols.









Wednesday, September 3, 2014

.NET Questions

Q:  How to add multiple website in one folder  ?
 we have to create a blank solutions like this....

1-File -> new project->other type project->visual


studio solutions->blank solution


2-rightclick on solution explorer of blank solution ->add existing website


many more solution can be added in this one blank solution.


Q:--------How-to make  own namespace ?

  • First make a blank solution as above.right click solution explorer  and
  • Add a class library  you will get the class over there you can add more classes over there.
  • Build this class library after building we will get the dll file of this class library  in the bin folder of that blank solution.
  • Now we have to add our dll in our main required website which is also added in this blank solution.
  • Right click ->add reference->browse->dll add.




Friday, August 22, 2014

History of Programming lanuages

                                                                                           

Program is a general word which  means the set of instructions.And a software is the set of programs to complete the task.
The History of Programming Language is comes from very long way as initially the scientist used
The room sized computer systems and it was just the series of 0 and 1 for instructions, they called it
Machine Language.
After machine Language there was another  language is invented which was same as machine language but not portable means  one assembly language program was not able to run on another computer as it was cpu specific.(though it was easy to write assembly language Program there was the need of assembler a third party which translates the assembly language Program in to machine Language.)
Before elaborating of  other Languages  here we must Know about the Oprating System   the oprating System is also a set of Programs which handles The computer resources.
There was a Language BPCL which is invented to write the operating system, the Modifed  Bpcl
Become the Language  B  but  it  also had some Performance Issues, therefore the work done on its modifications and now this and it become th language C,   C  language got great appreciations because    it was able to Perform On different hardware Plateforms.So Finally  the American  National Standards institute and international standard organization approved the standard version of C in 1989.
There is another important point is compiler ,  Compiler is nothing but like a translater for example if we understands hindi and somebody speaks in French so a translater will make it ease to understand for us to that language like English so that we can easily understand therefore the compiler is that programe which converts any programming language into machine language.therefore the Process of converting any language into machine language is compilation.
C++  In C Language there was no concept of Class or we can say there was no concept of Object oriented programming and also  there was no concept of namespace  (namespace is the group of releted classes) .othere then namespace in c++ and c# in C Language we use the Header files.
C++ is the fully object oriented Programming language.object oriented  methodology is the concept of reusability realistic modeling and easy to change approach.
In C++ we use class (a class is a certain virtual boundry).the whole  c++  Language is based on the four oops concept (1)Abstraction(2)encapsulation(3)Polymorphism(4)Inheritence    
C#        After C and C++  the C# has come with the microsoft .Net Packege in late nintees. C# was the complete object oriented programming from Microsoft and is developed for the .net framework.
In C there was no concept of header files as in C while in C# we use Namespace concept.C#
Also has feature of XML integration,we can use C# comments to generate XML documentation.
C# has several  unique features like it supports common type systems for the value type and reference type variables.


Thursday, August 14, 2014

versions of .Net framework


Here is a list which clears the versions of .net framework and its corresponding visual studio solution.

  1. Visual studio 2003 –framework 1.1
  2. Visual studio 2005—Framework 2.0
  3. Visual studio 2008—Framework 3.5
  4. Visual studio 2010-- framework 4.
  5. Visual studio 2012-- framework 4.5
  6. Visual studio 2013—framework 4.5