. NET Framework Design reading notes (i)---. NET platform composition

Source: Internet
Author: User
Tags contains garbage collection microsoft sql server web services win32 account security visual studio biztalk
Notes | program | design. NET Platform constitutes





1 Low-level operating system Windows





because Web services and applications that use Web services are still running on computers, and since computers have peripherals, we still need an operating system. Windows has added XML support ... All versions of Windows XP and Windows.NET (now renamed Windows Server 2003) provide the best support for a service-driven world.





in particular, Windows 2003 Server is integrated with Microsoft. NET Passport Xml Web service support. Passport is a user authentication service. The efficiency of logging on to a Passport-certified Web site and Web service will increase significantly. In other words, users will no longer need to enter a username and password each time they visit a different internet site.





Additionally, Windows XP and Windows Server 2003 provide built-in support for the. NET Framework.











2 Ancillary Products:. NET Enterprise Server











These products are mainly for the enterprise informatization and information integration to provide help.





Microsoft Application Center





Microsoft BizTalk Server 2000 (now out of a new version)





Microsoft Commerce Server 2000





Microsoft Exchange 2000 mail server





Microsoft hostintegration Server 2000





Microsoft Internet Security and Acceleration (ISA) Server 2000





Microsoft Mobile Information Server 2002





Microsoft SQL Server 2000











This product is just beginning to have nothing to do with our. NET platform. However, in the future, it is possible to integrate some. NET features into these products, and the current version of BizTalk integrates the. NET features, poor and developed through Vs.net 2003.











3 Microsoft XML Web service:. NET My Servers











Microsoft as a Web service's underlying technology provider, it also launched its own XML Web services





. NET Alerts





. NET ApplicationSettings





. NET Calendar





. NET Categories





and so on ...











4 Development platform:. NET Framework










The
. NET Framework contains two parts: the Common language runtime (Common Language Runtime---CLR) and the. NET Framework Class Library (framework class Libarary--FCL).




The
. NET Framework is the most critical part of the. NET Platform.





This book is about developing applications and XML Web services that are intended for the. NET Framework.










The
. NET Framework development platform allows us to create a wide variety of applications: XML Web Services, Web Forms, Win32 GUI programs, Win32 CUI applications, Windows services, utilities, and stand-alone component modules.





Windows 2003 Server is built in. NET Framework










The
microsft. NET Framework provides developers with more technology than any previous Microsoft platform, such as code reuse, code specialization, resource management, multilingual development, security, deployment, management, and more. When designing the. NET Framework, Microsoft also felt the need to improve some of the flaws in the current Windows platform.





Some of the services provided by the CLR and FCL:





L-Consistent programming model





today's Windows operating system, some features need to be accessed through a dynamic-link library DLL, and some features are accessed through Com-like. Under the. NET Framework, all application services are provided to developers in a consistent, object-oriented programming model.





L Simplified Programming approach




One of the
of the CLR is to simplify the complex infrastructure that is required in Win32 and COM environments. Under the CLR, we do not need a registry, a globally unique identifier, Iunknown, ADDREF, release, HRESULT, and so on.





l Reliable version mechanism




The
. NET Framework uses a new version mechanism to isolate application components, ensuring that an application can always load the components that were used when the test was built. Shut down the "DLL hell" door completely.





L Lightweight Deployment Management





Under the. NET Framework, components are no longer subject to any references to the registry. The installation of most. NET Framework applications requires nothing more than copying files to a directory. Then add the shortcuts to the desktop, the Start menu on the line





L extensive platform support





compiled. NET Framework source code is actually a universal intermediate language (Common intermediate Language) that the CLR translates these intermediate languages into CPU instructions only at run time. This means that as long as a single machine contains the CLR and FCL that are compatible with ECMA, we can. NET Framework application is deployed on this machine.





L Seamless Language integration





CRLs require that all language-oriented languages adhere to a specification and common language specification called the Common type system (Common type systems, referred to as CTS)





L Simple Code reuse





l Automated memory Management (garbage collection)





the CLR automatically tracks the use of resources for us.





L Solid Type safety





the CLR can ensure that all code is type-safe.





l Rich debugging support





CLR fully supports cross language debugging





L Unified Error Reporting




In the
CLR, all failed calls are reported through exceptions.





L new Security Policy





the traditional security mechanism is based on the user account to control.





code access Security in the CLR provides us with a code-centric approach to control.





L Powerful Interoperability




The
. NET Framework fully supports COM and WIN32 functions in traditional DLLs.











5 integrates development environment Visual Studio. Net





Microsoft's visual Stuaio. NET 2003 is the best. NET Framework application development tool.





























Summary:





This chapter focuses on the composition of the. NET platform and the most critical parts of the. NET platform---the characteristics of the CLR and FCL.




The 13 major features of the
. NET Framework:











1. Consistent programming Model





2. Simplified programming Methods





3. A reliable version mechanism





4. Lightweight Deployment Management





5. Wide range of platform support





6. Seamless language Integration





7. Easy code Reuse





8. Automated memory management (garbage collection)





9. Solid type safety





10. Rich Debugging support





11. Unified Error Reporting





12. A new security policy





13. Strong ability to interoperate











In fact, I personally feel that 5th is not very meaningful at the moment, because up to now the. NET Framework can only be used well on windows, heard a mono but not very mature right now? 12th is really very important, based on user account security mechanism for the Internet is not very safe, which directly affects the popularity of. NET, but also affect my job:).





There are Microsoft's corporate servers I know only part of the purpose, and the other part doesn't know what to do with it. There is no time to take the initiative to find relevant information. A few days ago I took part in Microsoft Developer Day to know what BizTalk was for. The keynote speaker was also a bull. The information on the dizzy and dizzy things, he spoke clearly, a listen to understand AH.





technology or language features or some integration solutions, only to understand it, will go to use it, but the problem is that in many cases it can work without it, but it costs more time and cost. And I was at a higher cost to solve the problem, did not know that there is a better solution exists, and is around me. I don't have much time to study the techniques and characteristics behind the endless stream of nouns.





There are two ways to solve this problem: try to get to know new things, even if you just start to think it's not the same as your work and interest. The other is to expect that providers (such as Microsoft) will be more focused on what the programmer can do with those products to solve the actual application problems. (at least it's like a programmer's propaganda)





until I heard the BizTalk lectures, I know this thing is actually very suitable for our company. We can solve a lot of difficult problems through BizTalk.








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.