What is .NET ? Microsoft.NET is a set of Microsoft software technologies for connecting information, people, systems and devices. It enables high level of software integration through the use of XML Web Services. The .NET is a platform that provides a standardized set of services: It’s just like Windows, except distributed over the Internet. It exports a common interface so that it’s programs can be run on any system that supports .Net. Goals of .NET Tie all devices to the Internet Software as a service Data and applications accessible on all devices Truly compile once, run anywhere Scalability
An Overview on .NET .NET was designed to replace all legacy Microsoft Languages J++, C++, ASP, Visual Basic. Offers Language uniformity. .NET Provides Common Intermediate Language IL (or MSIL) IL concept is based on CLI. CLI is a standard not a language. C#, VB.NET, J# compiles into IL. Non-interpreted, Just-In-Time (JIT) Compiled Code. Each client has CLR. CLR is your sandbox. Provides safe environment for code execution.
Managed Execution Process Choosing CLR complaint compiler Compile your code into Microsoft Intermediate Language MSIL (or IL assembly language code). Compiling MSIL into Native Code. Compilation by Just-in-time compiler Install-time Code generation using NGen.exe. Executing Code.
Code MSIL Source Code Language Compiler Metadata Execution JIT Compiler Native Code Compilation and Execution Cycle Compilation Before installation or the first time each method is called
Different Versions of .NET Framework Microsoft .NET Framework v4.0 Microsoft .NET Framework v3.5 Microsoft .NET Framework v3.0 Microsoft .NET Framework v2.0 Microsoft .NET Framework v1.1 Microsoft .NET Framework v1.0
Technologies in .NET Framework V2.0 Common language runtime (CLR). Support for generic types and methods. Compilers for C#, Visual Basic, C++, and J#. Base class libraries. ADO.NET. ASP.NET. Windows Forms. XML Web services. .NET Remoting
What was new in .NET Framework 3.0? .NET FRAMEWORK Windows Presentation Foundation (WPF) Windows Workflow Foundation (WF) build user interfaces for applications and media-rich experiences build workflow-enabled applications Windows Communication Foundation (WCF) Windows Cardspace build and run connected systems, with a focus on Web services build secure online user authentication
What is Microsoft .NET Framework 3.5? 2.0 = ASP.NET, CLR, Web Services, WinForms 3.0 = Cardspace, WCF, WF, WPF 3.5 = AJAX, LINQ, REST, RSS Microsoft Visual Studio 2008 .NET Framework 3.5 .NET Framework 3.0 SP1 .NET Framework 2.0 SP1
What is Microsoft .NET Framework 4.0? 2.0 = ASP.NET, CLR, Web Services, WinForms 3.0 = Cardspace, WCF, WF, WPF 3.5 = AJAX, LINQ, REST, RSS 4.0 = xxx
VB C++ C# J# … Common Language Specification ASP.NET Web Forms Web Services Windows® Forms ADO.NET and XML Base Class Library Common Language Runtime Operating System .NET Framework Platform & Tools
Base Class Library Support Thread Support COM Marshaler Type Checker Exception Manager Security Engine Debug Engine IL to Native Compilers Code Manager Garbage Collector Class Loader CLR Internals
Languages Targeted for CLR Microsoft Ships Several Languages: C#, VB.NET C++ (With managed extensions) JScript.NET J#, ILasm Third Party Languages Eiffel by Eiffel Software COBOL by Fujistu FORTRON Delphi by Borland Perl by ActiveState Many Research toy languages.
Description Discovery Protocols The .NET Unified Classes System.Windows.Forms Services UI Design ComponentModel HTMLControls WebControls System.Web (ASP .NET) System.Drawing Drawing2D Printing Caching Security Imaging Text Configuration SessionState System.XML OLEDB SQLClient XSL Serialization System.Data Common SQLTypes XPath Schema Schema Collections IO Security Runtime InteropServices Configuration Net ServiceProcess System Remoting Reflection Diagnostics Text Serialization Threading Resources Globalization
Relationship between CLR, Class Library and Your Application.
Benefits of Windows Applications with .NET You can access data uses ADO.NET. GDI+ allows advanced drawing. Your windows application can make calls exposed through XML web services. You can access OS services. You can develop multi tier distributed applications with the help of .NET. Improved localization support. Windows forms features a security model that is code-based. Extensive XML Supporting classes. With WPF you can build rich media aware applications.
Microsoft .NET Framework Introduction to Visual Studio IDE
Introducing Visual Studio Visual Studio is a completed set of development tool for building Desktop Applications ASP.NET Web Applications XML Web Services Mobile Applications. Class Libraries, .NET Components & Active X Controls Supporting Languages are: Visual C# Visual Basic.NET Visual C++ More and more.., In addition to above languages you can also access functionality of .NET Framework, which provides access to key technologies that simplifies the development of ASP.NET applications and XML Web Services.
Introducing Visual Studio Benefits of Visual Studio over manually writing code on text editors. It make application development faster, easier, and more reliable. Code-aware editors that include statement completion, syntax checking, and other IntelliSense features. Visual designers for forms with drag and drop controls. Visual designers for Windows Presentation Foundation. Integrated compilation and Debugging. Source Control. Project management tools for creating and managing application files, including deployment locally, over an intranet or over the Internet. Support for Win32 based applications and wizards.
Introducing Visual Studio Visual Studio gives a very sophisticated MDI application environment. In which you can do just about every thing related to developing your code. It offers the following: Text Editor Design View Editor Supporting Windows Ability to compile from within the environment Integrated Debugger Integrated MSDN Help Access to other programs.