In this dot net tutorial, you will learn about introduction to dot net, introduction to dot net framework, dot net architecture,
.NET
- .NET=
NEXT GENERATION OF MICROSOFT TECHNOLOGY
- It is made up of tools, programming languages and libraries for developing many different types of applications such as desktop, web, console, mobile, cloud applications, etc, …
- .NET is a latest technology not a programming language
- It gives the environment to develop windows and web based GUI applications
- .NET is purely language independent.
.NET Framework
- It is an original implementation of .NET and one of the tools provided by .NET infrastructure & service tools
- It is not a programming language
- Latest version: 4.8.1 (Aug 2022)
- Other Versions: 1.0, 2.0, 3.0, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, etc, …
Three Components
- Each version of NET framework contains the three main components like CLR, base class libraries and other managed libraries
- Common Language Runtime (CLR)
- Runtime engine in .NET (Runtime manager)
- Convert the IL code (Machine code) into target output
- Base Class Library
- It gives the support to develop different types of applications using .NET languages
- Ex. System, System.IO, System.Net, System.Xml, etc,.
- Windows / Web Applications
- Creating windows / web applications using .NET framework
NET ARCHITECTURE
Operating System
- C#.NET is a platform dependant OS
- Fully depends on windows OS only and Little depends on Linux OS
Common Language Runtime (CLR)
- Runtime Engine in .NET
- Mainly used to translate the IL code into target output
Predefined Namespaces
- It represents the built-in namespaces which are actually equivalent to packages in java.
Examples
S.N | Namespaces | Description |
1. | System | It is used for basic operations in .NET |
2. | System.IO | This namespace is used for input & output related operations, File and Directory related operations |
3. | System.Text | This namespace is used to support string features in .NET |
4. | System.Data | It is used for database related operationsStorage and retrievalCRUD operations |
5. | System.Net | It is used for network related operations |
6. | System.Windows.Forms | Used to create Windows GUI application / Desktop based applications |
7. | System.Web | This namespace is used to create Web GUI application |
TYPES OF .NET APPLICATION
- .NET supports four or more applications. They are
- Console Application
- Windows / Desktop Application
- Web / Internet Application
- Database Application
1. Console Application
- Creating an application without any graphical component, that is called console application.
2. Windows / Desktop Application (offline)
- Creating an application, with use of graphical components that is called windows GUI Application (windows forms application)
- It is an offline application: possible to run the windows GUI application in a particular machine at a time
- Technologies: WindowsForms (WF.NET), Windows Presentation Foundation (WPF.NET)
- Output: Windows GUI Application (Form window)
3. Web / Internet Application
- Creating an application, with use of graphical components that is called Web GUI Application
- It is an online application: possible to run the web GUI application in a all machine at a time via internet access
- Technologies: ASP.NET, Windows Presentation Foundation (WPF Browser Application)
- Output: HTML with GUI (Web browser window)
4. Database Application
- Creating a database related application
- Technology: ADO.NET
- Output: DOS Window / Windows GUI / Web GUI
- Language Independent
- .NET is a language independent
- We can develop a software application using any .NET languages.
EXAMPLES
1. .NET Supported Programming Languages
- C#.NET
- J#
- VC++
- VB.NET
- Boo
- Ruby (Iron Ruby)
- Python (Iron Python), etc…
2 .NET Supported Markup Languages
- HTML
- XML
- XAML
- ASP
- ASP.NET(C#), etc…