- Back to Home »
- References »
- Introduction to .NET
Posted by :
Sudhir Chekuri
Friday, 27 September 2013
In this Introduction to .NET we covered concepts of features of .net , .net ide , versions of visual studio and about visual studio .NET is a framework introduced by Microsoft in the year 2000. It is a collection of different technologies and languages. Microsoft has released .net with a great idea of adding all the technologies and programming languages of them inside the same .net framework . It is used for developing different types of applications. It is updated every year with new technologies which gives a great competition for all the other technologies. Java is a great competitor for it. We can create applications like console, windows, web, web services, windows services, windows phone applications, windows store apps and so on.
When dotnet was introduced JAVA is the most popular technology used for developing different kinds of applications and it is a free source too. So, to beat such a big competitor Microsoft came up with a great new creative programming and technologies. Even though .net is not a free product lot of companies are using it for developing a wide variety of applications. It has some great and unique features like language independency and simple development and deployment gave a great success in the technology world.
.NET supports programming languages like C# , VB , F# , E# , PHP Sharp , Synergy , net ruby and so on. So, any of the supported language can be used as code behind language for creating applications.
net features
1. Language Independency
.NET applications can be developed using any of the programming languages that DotNET supports. This feature is known as language independency.
2. Language Interoperability
The IL(Intermediate Language) code generated from one .NET language can be reused in any other .NET languages.
This is known as language interoperability.
C#.NET code ---(csc)----> Intermediate language code
VB.NET code ---(vbc)----> Intermediate language code
C#.NET code is converted into intermediate language code using CSC( C Sharp compiler) and VB.NET code is converted into intermediate language code using VBC( Visual Basic compiler).
3. Platform Independent
In .NET twice compilation takes place.
First source code is converted into Intermediate language code using language compilers.
Then IL code is converted into machine dependent code using CLR(Common language runtime).
4. Memory management
.NET Framework's garbage collector is used for automatic allocation and clearing of memory.
5. Easy development and deployment
Using Visual Studio and predefined methods DotNET applications can be easily developed and deployed.
Introduction to .NET IDE
IDE stands for Integrated development environment. IDE is a tool used to develop applications.
Visual studio is the IDE in DOTNET. Visual studio is a product of Microsoft.
It is a not a free source. Visual studio IDE is a powerful tool that simplifies the application development. For .NET Visual studio is the only Ide using which you can develop any type of DotNET applications.
For JAVA we have number of IDE s like Edit plus, NET beans, eclipse,..
Versions of MS VISUAL STUDIO
Product name with Supported framework versions
Visual Studio - 1.0
Visual Studio 2003 - 1.1
Visual Studio 2005 - 2.0
Visual Studio 2008 - 2.0, 3.0, 3.5
Visual Studio 2010 - 2.0, 3.0, 3.5, 4.0
Visual Studio 2012 - 2.0, 3.0, 3.5, 4.0, 4.5
Introduction to IDE Windows with shortcuts
1. Editing Window
used to design and code your .NET applications.
2. Solution Explorer
(ctrl + alt + L)
All the files in your project are explored using solution explorer under a root folder.
Double click on the file in solution explorer displays the file content in editing window.
3. Server Explorer
(ctrl + alt + S)
It explores all the sever connections.
4. Toolbar
(ctrl + alt + X)
Contains all controls used for designing your .NET applications.
You can drag and drop controls to your design pages.
automatically code is generated for that controls.
5. Properties
(F4)
It is used to modify the properties and appearances of the controls which is selected.
6. Error List
(ctrl + w+ e)
used to show the errors, warnings and messages with descriptions in the coding after compilation.
F5 is the shortcut key to start debugging and shift + F5 to stop debugging.
Intellisence
Generation of list keywords, methods,... which can be used in that context.
This a special feature in MS Visual studio that helps the developers to know the methods and other properties names which they can use in that context.
Introduction to .net code compilation
In .NET two compilations take place.
First the source code written by the developer is compiled using respective language compiler and converts into msil(microsoft intermediate language) code .
This msil code is compiled again to give native code using clr(common language runtime).
Actually JIT(Just In Time) compiler inside CLR is responsible for converting MSIL code to native code(Binary code) which is understandable by the system.
Microsoft .NET Framework
Before reading this article about what is .NET framework , first we have to understand about the history of technologies and programming languages we have before introducing .net . Microsoft introduced .net framework in the year 2000 with new features which are not available in any of the other technologies. It is a platform to develop and execute .net applications.
Microsoft has released different versions of .net framework . They are 1.0, 1.1, 2.0, 3.0, 3.5, 4.0, 4.5. It is a collection of technologies, programming languages and servers. It is an outline in which new technologies, programming languages are added in every update. Technologies inside .net framework are shown in the below figure followed by the explanation about each technology inside it. It will give you an overview knowledge about them. To use the latest features and technologies available in the framework you have to use the latest visual studio version. Visual studio comes with predefined application templates which helps the developers to work faster. Go through the last post to know more about visual studio IDE.
So, In the above image all the technologies available in different versions of .net framework are clearly shown. Each technology had its own importance and they are used for developing different types of applications. Base class library and common language runtime are the main component used for develop and execute .net applications respectively. Rest all available in the above diagram are explained below.
CLR (Common language runtime)
It is is used for executing DotNET applications.
BCL (Base class library)
It is a collection of predefined methods used for developing DotNET applications.
Win forms
It is a technology used to develop windows applications.
ASP.NET
ASP stands for active server pages.
It is a technology used to develop Web applications.
ADO.NET
ADO stands for Active X Data Objects.
It is a middleware technology used to connect front end and back end of DotNET applications.
WCF
WCF stands for Windows Communication Foundation.
It is used to create and deploy distributed applications.
WPF
WPF stands for Windows Presentation Foundation.
It is used to create rich windows applications contains rich graphics.
WF
WF stands for Windows Workflow Foundation.
It is used for developing work flow enabled applications on windows.
It targets a number of goals and offers a workflow framework for diverse applications and unifying system for human flow
Card Space
Used to store users information in digital format and present them in visual format.
It is used for identifying the users.
It is used for security.
Card space stores users information.
It stores references to users digital identities for them, presenting them to users as visual information cards.
It helps users in easy and secure accessing of applications and websites using their identities.
It also allow users to create personal cards which contains their personal information but third party issued cards are used for transactions.
LINQ
LINQ stands for Language Integrated Query.
It is written as LINQ but pronounced as link.
It is used for simplyfying the traditional querying.
It can be used along with C# code.
It is a single querying interface for multiple data sources.
ADO.NET ENTITY FRAMEWORK
It provides added features under the traditional ADO.NET.
It is used for developing data access applications by programming against a conceptual application model.
It decreases the lines of code and maintenance required for data oriented applications.
PARALLEL LINQ
Used for parallel implementation of LINQ objects.
TASK PARALLEL LIBRARY
It is a set of public types and api’s in the system.Threading and system.threading.tasks.
It is a library supports to perform tasks parallely.
LIGHTSWITCH
It is a technology used to create Line of Bussiness applications easily.
Windows Store Apps
It is a technology used to create touch based applications that are placed in the online store of Windows 8 apps.
When dotnet was introduced JAVA is the most popular technology used for developing different kinds of applications and it is a free source too. So, to beat such a big competitor Microsoft came up with a great new creative programming and technologies. Even though .net is not a free product lot of companies are using it for developing a wide variety of applications. It has some great and unique features like language independency and simple development and deployment gave a great success in the technology world.
.NET supports programming languages like C# , VB , F# , E# , PHP Sharp , Synergy , net ruby and so on. So, any of the supported language can be used as code behind language for creating applications.
net features
1. Language Independency
.NET applications can be developed using any of the programming languages that DotNET supports. This feature is known as language independency.
2. Language Interoperability
The IL(Intermediate Language) code generated from one .NET language can be reused in any other .NET languages.
This is known as language interoperability.
C#.NET code ---(csc)----> Intermediate language code
VB.NET code ---(vbc)----> Intermediate language code
C#.NET code is converted into intermediate language code using CSC( C Sharp compiler) and VB.NET code is converted into intermediate language code using VBC( Visual Basic compiler).
3. Platform Independent
In .NET twice compilation takes place.
First source code is converted into Intermediate language code using language compilers.
Then IL code is converted into machine dependent code using CLR(Common language runtime).
4. Memory management
.NET Framework's garbage collector is used for automatic allocation and clearing of memory.
5. Easy development and deployment
Using Visual Studio and predefined methods DotNET applications can be easily developed and deployed.
Introduction to .NET IDE
IDE stands for Integrated development environment. IDE is a tool used to develop applications.
Visual studio is the IDE in DOTNET. Visual studio is a product of Microsoft.
It is a not a free source. Visual studio IDE is a powerful tool that simplifies the application development. For .NET Visual studio is the only Ide using which you can develop any type of DotNET applications.
For JAVA we have number of IDE s like Edit plus, NET beans, eclipse,..
Versions of MS VISUAL STUDIO
Product name with Supported framework versions
Visual Studio - 1.0
Visual Studio 2003 - 1.1
Visual Studio 2005 - 2.0
Visual Studio 2008 - 2.0, 3.0, 3.5
Visual Studio 2010 - 2.0, 3.0, 3.5, 4.0
Visual Studio 2012 - 2.0, 3.0, 3.5, 4.0, 4.5
Introduction to IDE Windows with shortcuts
1. Editing Window
used to design and code your .NET applications.
2. Solution Explorer
(ctrl + alt + L)
All the files in your project are explored using solution explorer under a root folder.
Double click on the file in solution explorer displays the file content in editing window.
3. Server Explorer
(ctrl + alt + S)
It explores all the sever connections.
4. Toolbar
(ctrl + alt + X)
Contains all controls used for designing your .NET applications.
You can drag and drop controls to your design pages.
automatically code is generated for that controls.
5. Properties
(F4)
It is used to modify the properties and appearances of the controls which is selected.
6. Error List
(ctrl + w+ e)
used to show the errors, warnings and messages with descriptions in the coding after compilation.
F5 is the shortcut key to start debugging and shift + F5 to stop debugging.
Intellisence
Generation of list keywords, methods,... which can be used in that context.
This a special feature in MS Visual studio that helps the developers to know the methods and other properties names which they can use in that context.
Introduction to .net code compilation
In .NET two compilations take place.
First the source code written by the developer is compiled using respective language compiler and converts into msil(microsoft intermediate language) code .
This msil code is compiled again to give native code using clr(common language runtime).
Actually JIT(Just In Time) compiler inside CLR is responsible for converting MSIL code to native code(Binary code) which is understandable by the system.
Microsoft .NET Framework
Before reading this article about what is .NET framework , first we have to understand about the history of technologies and programming languages we have before introducing .net . Microsoft introduced .net framework in the year 2000 with new features which are not available in any of the other technologies. It is a platform to develop and execute .net applications.
Microsoft has released different versions of .net framework . They are 1.0, 1.1, 2.0, 3.0, 3.5, 4.0, 4.5. It is a collection of technologies, programming languages and servers. It is an outline in which new technologies, programming languages are added in every update. Technologies inside .net framework are shown in the below figure followed by the explanation about each technology inside it. It will give you an overview knowledge about them. To use the latest features and technologies available in the framework you have to use the latest visual studio version. Visual studio comes with predefined application templates which helps the developers to work faster. Go through the last post to know more about visual studio IDE.
So, In the above image all the technologies available in different versions of .net framework are clearly shown. Each technology had its own importance and they are used for developing different types of applications. Base class library and common language runtime are the main component used for develop and execute .net applications respectively. Rest all available in the above diagram are explained below.
CLR (Common language runtime)
It is is used for executing DotNET applications.
BCL (Base class library)
It is a collection of predefined methods used for developing DotNET applications.
Win forms
It is a technology used to develop windows applications.
ASP.NET
ASP stands for active server pages.
It is a technology used to develop Web applications.
ADO.NET
ADO stands for Active X Data Objects.
It is a middleware technology used to connect front end and back end of DotNET applications.
WCF
WCF stands for Windows Communication Foundation.
It is used to create and deploy distributed applications.
WPF
WPF stands for Windows Presentation Foundation.
It is used to create rich windows applications contains rich graphics.
WF
WF stands for Windows Workflow Foundation.
It is used for developing work flow enabled applications on windows.
It targets a number of goals and offers a workflow framework for diverse applications and unifying system for human flow
Card Space
Used to store users information in digital format and present them in visual format.
It is used for identifying the users.
It is used for security.
Card space stores users information.
It stores references to users digital identities for them, presenting them to users as visual information cards.
It helps users in easy and secure accessing of applications and websites using their identities.
It also allow users to create personal cards which contains their personal information but third party issued cards are used for transactions.
LINQ
LINQ stands for Language Integrated Query.
It is written as LINQ but pronounced as link.
It is used for simplyfying the traditional querying.
It can be used along with C# code.
It is a single querying interface for multiple data sources.
ADO.NET ENTITY FRAMEWORK
It provides added features under the traditional ADO.NET.
It is used for developing data access applications by programming against a conceptual application model.
It decreases the lines of code and maintenance required for data oriented applications.
PARALLEL LINQ
Used for parallel implementation of LINQ objects.
TASK PARALLEL LIBRARY
It is a set of public types and api’s in the system.Threading and system.threading.tasks.
It is a library supports to perform tasks parallely.
LIGHTSWITCH
It is a technology used to create Line of Bussiness applications easily.
Windows Store Apps
It is a technology used to create touch based applications that are placed in the online store of Windows 8 apps.