1 / 20

What is Dot NET

What is Dot NET. It is a major technology change. Just like the computer world moved from DOS to Windows, now the technology is moving to .NET. NET technology was introduced by Microsoft, to catch the market from the SUN's Java.

ardice
Download Presentation

What is Dot NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What is Dot NET • It is a major technology change. • Just like the computer world moved from DOS to Windows, now the technology is moving to .NET. • NET technology was introduced by Microsoft, to catch the market from the SUN's Java. • Few years back, Microsoft had only VC++ and VB to compete with Java . • With the world depending more and more on Internet/Web and java related tools, Microsoft seemed to be loosing the battle. • One fine morning, they announced : "We are not sleeping. We have the answer for you.". And that answer was .NET.

  2. History of Dot Net • Microsoft put their best men at work for a secret project called Next Generation Windows Services (NGWS)., under the direct supervision of Mr. Bill Gates. • Sometime in the July 2000, Microsoft announced a whole new software development framework for Windows called .NET in the Professional Developer Conference (PDC). • Microsoft also released PDC version of the software for the developers to test. • After initial testing and feedback Beta 1 of .NET was announced. • Microsoft then announced Beta 2 after it incorporated many changes suggested by the community into the software. • Finally, in March 2002 Microsoft released final version of the .NET framework.

  3. Short comings of the present programming languages • Microsoft's VC++ was a powerful tool. But it was too complex. It has too many datatypes, and developers had to learn many libraries including WIndows SDK, MFC, COM etc. • Even though Visual basic was very easy to use, it was not very flexible to develop serious applications. • SUN's Java became a very good choice for these reasons. It had the flixibility and power of C++ and at the same time easy enough to catch the attention of VB programmers. • Microsoft recognised these factors and they introducd the .NET considering all these factors.

  4. Features of DOT NET • It is a pure object oriented programming model. • It is a platform neutral framework. • It supports many programming languages, including C# (C Sharp), VB.NET, J# and managed C++. etc. • .NET provides a common set of class libraries, which can be accessed from any .NET based programming language. There will not be separate set of classes and libraries for each language. • If we know any one .NET language, we can write code in any .NET language!! • In future versions of Windows, .NET will be freely distributed as part of operating system and users will never have to install .NET separately.

  5. Flavours of DOT NET • .NET Framework SDK: -As with most of the programming languages, .NET has a complete Software Development Kit (SDK) - more commonly referred to as .NET Framework SDK – • that provides classes, interfaces and language compilers necessary to program for .NET.

  6. Flavours of DOT NET • Common Language Runtime:-CLR is a runtime environment in which programs written in C# and othe DOT NET languages are executed. • It also supports Cross Language Interoperatibility. • Whether we write code in VB.NET or C#, when we compile, our code will get converted to MSIL (Microsoft Intermediate language).

  7. Flavours of DOT NET • Platform Independent:-The code we write is platform independent, because whatever you write is getting compiled into MSIL. • But when you execute the MSIL, the .NET framework in the target system will convert the MSIL into native platform code.

  8. Flavours of DOT NET • Common Type System:-The .NET framework provides multiple language support using the feature known as common type system built into the CLR. • CTS supports a variety of types and operations and therefore calling one language from the other does not require type conversions.

  9. Flavours of DOT NET • Development Tools:-VS.NET is a powerful and flexible IDE that makes developing .NET applications easy. • Some of the features of VS.NET that make us more productive are: • Drag and Drop design • IntelliSense features • Syntax highlighting and auto-syntax checking • Excellent debugging tools • Easy project management • less lines of code required • requires less time to develop • lower deployment costs

  10. Visual Studio Dot NET IDE • Visual Studio Dot net is Microsofts IDE for creating running and debugging programs written in a variety of .NET programming languages. • When Visual studio .NET is executed the start page is displayed. • When clicked get started page will load a page which contains the names of the recent projects. • Other links to the start page offer information resources about .NET

  11. Various windows in Visual StudioIDE • Solutions Explorer Window • Intellisense Code designer Window • Properties Window • Dynamic Help Window • Toolbox Window • Object Browser

  12. Visual Studio Dot NET IDE • There are two buttons on the page open Project and new project. • Which are used to open an existing project and create a new project.

  13. Dot net framework • Dot NET has gone through 3 significant phases of development:- • OLE technology • COM technology • .NET technology

  14. OLE Technology • Abbreviation of Object Linking and Embedding • It enables you to create objects with one application and then link or embed them in a second application. • Embedded objects retain their original format and links to the application that created them. • This enabled users develop applications which requires interoperability between various products such as MS Word and MS Excel.

  15. COM Technology • Microsoft introduced the component bases model in 1995 for developing software programs to overcome the limitations of the current system. • In the component based approach a program is broken into a number of independent components where each one offers a particular service. • Each component can be developed and tested independently and then integrated into the main system.

  16. Benefits of COM approach • Reduces overall complexity of the software. • Enables distributed development across multiple departments. • Enhance software maintainability

  17. .Net technology • This provides a new level of inter operability by compiling code into IL(intermediate language). • An inherent characteristic of IL code is metadata.

  18. Common language runtime • CLR is provides a number of services that includes:- • Loading and execution of programs • Memory isolation for applications • Verification of type safety • Compilation of IL into native executable code • Providing metadata • Memory management • Enforcement of security • Interoperability with other system • Managing exceptions and errors

  19. Common Language runtime C# source code compiler IL and metadata Metadata Engine Linker Exe code Class loader Basic class library JIT compiler Machine dependant code Runtime manager output

  20. Common Type System • The Common type system is a standard that specifies how type definitions are represented in computer memory. • It provides cross language inter operability.

More Related