Your SlideShare is downloading. ×
0
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Microsoft.net architecturte
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Microsoft.net architecturte

1,414

Published on

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,414
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×