1 / 53

.NET Framework Introduction

.NET Framework Introduction. .NET Framework Introduction. Support Structure. Nouman Qureshi Noomeee19@hotmail.com. .NET Framework Introduction. Support Structure. Software also designs or develop before framework , but there we should have to do extra efforts . .

gaetan
Download Presentation

.NET Framework Introduction

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. .NET Framework Introduction Nouman Qureshi Noomeee19@hotmail.com

  2. .NET Framework Introduction • Support Structure Nouman Qureshi Noomeee19@hotmail.com

  3. .NET Framework Introduction • Support Structure. • Software also designs or develop before framework , but there we should have to do extra efforts . Nouman Qureshi Noomeee19@hotmail.com

  4. .NET Framework Introduction • Support Structure. • Software also designs or develop before framework , but there we should have to do extra efforts . • Minimum Libraries Available. Nouman Qureshi Noomeee19@hotmail.com

  5. .NET Framework Introduction • Support Structure. • Software also designs or develop before framework , but there we should have to do extra efforts . • Minimum Libraries Available. • Garbage Collection , Exception Handling , Mouse Routine etc. • Wheel is Invent. ! Nouman Qureshi Noomeee19@hotmail.com

  6. .NET Framework Introduction • Support Structure. • Software also designs or develop before framework , but there we should have to do extra efforts . • Minimum Libraries Available. • Garbage Collection , Exception Handling , Mouse Routine etc. • Applications was thick (thousand’s lines of code). Nouman Qureshi Noomeee19@hotmail.com

  7. .NET Framework Introduction • No Layer Between App and OS. Nouman Qureshi Noomeee19@hotmail.com

  8. .NET Framework Introduction • Software also designs or develop before framework , but there we should have to do extra efforts . • Minimum libraries was available we built maximum • Like in C/C++ Mouse Programming etc • Now In framework such type of libraries are from very first day. Nouman Qureshi Noomeee19@hotmail.com

  9. .NET Framework Introduction • Before Framework your application was thick and libraries was thin. • Because minimum libraries was available and maximum you should develop. • For example to enable mouse in C/C++ we code thousands of lines of code. So your application size will be large. Nouman Qureshi Noomeee19@hotmail.com

  10. .NET Framework Introduction • Also if two developer are developing then they both have to define their own code for mouse no one can use code of other. • But Now If framework is available your application will be thin. • Before framework your application communicate OS directly. • Components of framework are highly integrated with each other. Prepared By : Syed Noman Ali

  11. .NET Framework Introduction • Garbage Collection , Exception Handling , Mouse Routine are available from first day. • Now you don’t to have to invent wheel , wheel is available you just use wheel. • To Run Application You required Framework. Prepared By : Syed Noman Ali

  12. .NET Framework Introduction • Framework platform independent, language independent , tool independent . • Different framework are available in different languages. • .NET New and Enhanced Technology. Prepared By : Syed Noman Ali

  13. .NET Framework Introduction • Means a Framework which is new and also enhanced, Enhanced means which was available before. • .Net Framework Software is a software component, which install on Os. • . For Internet. • Framework Has Different Components. Prepared By : Syed Noman Ali

  14. .NET Framework Introduction • Framework platform independent, language independent , tool independent . • Different framework are available in different languages. • .NET New and Enhanced Technology. Prepared By : Syed Noman Ali

  15. .NET Framework Introduction • Means a Framework which is new and also enhanced, Enhanced means which was available before. • .Net Framework Software is a software component, which install on Os. • . For Internet. • Framework Has Different Components. Prepared By : Syed Noman Ali

  16. .NET Framework Introduction • Libraries • Libraries are set of functionalities. • Libraries provide functionalities. • There are Base Class Library which provide common functionalities like DataType IO Generics. Prepared By : Syed Noman Ali

  17. .NET Framework Introduction • Frame Work Class Library has un common things like ASP.NET ADO.NET etc. • As A whole Framework library is FCL. • BCL is a sub set of FCL and FCL is a super set of BCL. • Framework libraries are dynamic. Prepared By : Syed Noman Ali

  18. .NET Framework Introduction • CLR • Before framework application directly communicate with your OS . • there was no layer between OS and Application . • Which was vulnerable. Your application can do any thing with your OS. • If Your application crash Your OS also Crash. Prepared By : Syed Noman Ali

  19. .NET Framework Introduction • Like Blue Screen in Earlier Version of Windows. • But Now if your application crashed , framework close your application rather than impact on OS. Prepared By : Syed Noman Ali

  20. .NET Framework Introduction • Requirement of Application or OS services which is required to your application framework (CLR) provide to your application. Prepared By : Syed Noman Ali

  21. .NET Framework Introduction • Before framework application directly communicate with your OS . • there was no layer between OS and Application . • Which was vulnerable. Your application can do any thing with your OS. • Microsoft gives a layer between your application and OS. Prepared By : Syed Noman Ali

  22. .NET Framework Introduction • If Your application crash Your OS also Crash. • Like Blue Screen in Earlier Version of Windows. • But Now if your application crashed , framework close your application rather than impact on OS. Prepared By : Syed Noman Ali

  23. .NET Framework Introduction • Requirement of Application or OS services which is required to your application framework (CLR) provide to your application. • CLR is live or run time environment when you run your application , CLR communicate with your OS. Prepared By : Syed Noman Ali

  24. .NET Framework Introduction • Strong Reason For Developing .NET , Application which is created in C++ ,Vb6 programmer can’t use application of C++ . • If an Application is Written in C++ in VB you have to write this application again. • Because Tool Change , Language Change , Input Change , Output change. Prepared By : Syed Noman Ali

  25. .NET Framework Introduction • C++ Developer Says he/she create strong application he/she use pointers etc . • VB6 programmer says he/she creates application rapidly. • Now like a wheel we create and application in C++ and we can use in VB6 etc. Prepared By : Syed Noman Ali

  26. .NET Framework Introduction • Now you have visual studio single integrated development environment, one tool in which you can create application in C++ as Well a VB6 etc. • But Before .NET tool change language change , input change , output change , Compiler different . Prepared By : Syed Noman Ali

  27. .NET Framework Introduction • First your learn Tool then language syntax etc. • Now Tool same , IDE same , Input (Libraries ) same, out put same . • 30 + languages run on single IDE Prepared By : Syed Noman Ali

  28. .NET Framework Introduction • A tool which facilitate all developers. • C# developer using these tool as well as VB , C++ etc. • In a single tool VB6 application is compiling , C# sharp compiling , C++ compiling , not possible to think , but Microsoft does. Prepared By : Syed Noman Ali

  29. .NET Framework Introduction • VB.Net compiler is vbc , C# compiler is csc . • All language running on a single platform. • Behind the scene when you compile your application of VB vbc compiler use, C# application csc compiler use on a single IDE. Prepared By : Syed Noman Ali

  30. .NET Framework Introduction • How its possible application written in C++ or VB can use in C#. • When you compile your application of C# , C# compiler csc produce output in MSIL which is another low level language. • Also when you compile your VB application , vb compiler vsc compiler produce out in MSIL. Prepared By : Syed Noman Ali

  31. .NET Framework Introduction • C# application out is in MSIL and VB application out also in MSIL. • Out which is produce by vsc VB.NET in the form of MSIL , VB.NET compiler can consume this out put. • You can write library , now you can use this library through add reference on 1000 places now your compiler is also producer as well as consumer. Prepared By : Syed Noman Ali

  32. .NET Framework Introduction • Suppose you write a function after compile make it DLL , now you can use any where. • VB.NET compiler is producing and consuming MSIL , C# compiler consuming and producing MSIL , SO now C# compiler can understand output produced by VB.NET. Prepared By : Syed Noman Ali

  33. .NET Framework Introduction • Because when both C# and VB.NET understands MSIL so they can communicate. Prepared By : Syed Noman Ali

  34. .NET Framework Introduction • You compile your application MSIL or exe produce. When your double click or run your application CLR again Compile your application using JIT and produce native according to your OS. • IF Your Os is windows 7 then it will generate native code according to windows7. Prepared By : Syed Noman Ali

  35. .NET Framework Introduction • Before framework when you compile your code on 32 bit system , so 32 can use your code only. • But Now your application can run after 10 years because of forward compatibility. Except one platform 16bit. • Now Your application will be platform independent but for Windows. Prepared By : Syed Noman Ali

  36. .NET Framework Introduction • When JIT compile MSIL this is double compilation. • When you compile one language and in the result another language produce is cross compilation. • Double compilation .NET framework does and Cross compilation you have to do. Prepared By : Syed Noman Ali

  37. What is WinAPI Or Win32 API ? Prepared By : Syed Noman Ali

  38. What is WinAPI Or Win32 API ? • Windows APIs are dynamic-link libraries (DLLs) that are part of the Windows operating system. Prepared By : Syed Noman Ali

  39. What is WinAPI Or Win32 API ? • You use them to perform tasks when it is difficult to write equivalent procedures of your own. Prepared By : Syed Noman Ali

  40. What is WinAPI Or Win32 API ? • Is Microsoft's core set of application programming interfaces (APIs) available in the Microsoft Windows operating systems. Prepared By : Syed Noman Ali

  41. What is WinAPI Or Win32 API ? • For example, Windows provides a function named FlashWindowEx that lets you make the title bar for an application alternate between light and dark shades. Prepared By : Syed Noman Ali

  42. What is WinAPI Or Win32 API ? • The advantage of using Windows APIs in your code is that they can save development time because they contain dozens of useful functions that are already written and waiting to be used. Prepared By : Syed Noman Ali

  43. What is WinAPI Or Win32 API ? • The disadvantage is that Windows APIs can be difficult to work with and unforgiving when things go wrong. Prepared By : Syed Noman Ali

  44. What is WinAPI Or Win32 API ? • Windows APIs represent a special category of interoperability. Prepared By : Syed Noman Ali

  45. What is WinAPI Or Win32 API ? • The Windows API, informally WinAPI,. • It was formerly called the Win32 API; Prepared By : Syed Noman Ali

  46. What is WinAPI Or Win32 API ? • .NET provides a new API, new functionality, and new tools for writing Windows and Web applications, components, and services in the Web age. Prepared By : Syed Noman Ali

  47. What is WinAPI Or Win32 API ? • Windows APIs do not use managed code, do not have built-in type libraries, and use data types that are different than those used with Visual Studio. Prepared By : Syed Noman Ali

  48. Why do we need a new API • The Windows API, the library of functions used to write Windows applications, was originally written in C and has steadily grown over the years. Prepared By : Syed Noman Ali

  49. What is WinAPI Or Win32 API ? • It now consists of many thousands of routines and has several problems. Prepared By : Syed Noman Ali

  50. What is WinAPI Or Win32 API ? • First, it has grown very large and has no coherent internal organization, which can make it hard to use. Prepared By : Syed Noman Ali

More Related