【正文】
相當(dāng)乏味,所以在許多活動(dòng)已經(jīng)形成了三個(gè)標(biāo)準(zhǔn)以簡(jiǎn)化流程:XML,SOAP和UDDI。正如我們前面討論的。但是,少為人知的是,這些都是IBM和Sun的倡議。與非托管代碼的互用 正如你可能已經(jīng)猜到了。但是,此代碼仍然是由CLR運(yùn)行時(shí),它只是沒有得到諸如通用類型系統(tǒng)和自動(dòng)內(nèi)存管理優(yōu)勢(shì)。您最終可能會(huì)在不同的情況使用不同的代碼 ■調(diào)用DLL函數(shù) 現(xiàn)在有許多函數(shù)都綁定了DLL。,所以如果你需要接觸他們,你會(huì)調(diào)用與非托管代碼。 ■使用COM組件 這應(yīng)該是你調(diào)用DLL函數(shù)的相同原因。 ■ 雖然這聽起來(lái)有點(diǎn)古怪,但它是可能的。,就好像這是一個(gè)COM服務(wù)器一樣。 這里有一點(diǎn)關(guān)于COM互用問(wèn)題的更多信息。微軟并沒有想迫使公司放棄現(xiàn)有的COM組件,,它的互操作層通過(guò)非法侵占來(lái)處理所有管理運(yùn)行和COM組件系統(tǒng)之間翻譯時(shí)傳遞的,就像與非托管代碼一樣。 在這其中的另一面,,譯文原出處:C.NET 開發(fā)者指南C . N ET Web Developer39。s GuideAdrian Turtschi,Jason Werry,Greg Hack,Joseph Albahari,Saurabh Nandu 技術(shù)編輯,Wei Meng Lee 資深編輯原文:C .NET Web Developer39。s GuideForewordSeldom in the history of puter software has any technology received such a positive response from developers and the industry, even while the technology is still in its nascent beta stage. The .NET Beta2 SDK from Microsoft has already been downloaded by millions of developers all over the world. Dozens of published books, Web sites and newsgroups devoted to the .NET platform, and relevant technical knowhow.Microsoft has invested billions of dollars and years of research in the creation of .NET. .NET is a prehensive strategy, consisting of operating systems, database servers, application servers, and the .NET Runtime, as well as managed languages that operate over the .NET platform.Some people think of the .NET platform as the practical implementation of the previously formulated Windows DNA. Others consider it as a response to developers’ ticklers of working with previous technologies and languages. Nevertheless, the mon misunderstanding still exists, simply assuming that .NET is the mere improvement over previous Microsoft technologies. In fact, the .NET platform has started from scratch, with such goals as security, scalability, reliability, flexibility, and interoperability, thereby making the .NET accessible to platform enterprise.The .NET platform displays a significant shift of Microsoft’s thinking. While building the .NET platform, Microsoft has shown strong support for open standards like XML, SOAP, and UDDI, rather than building its own proprietary standards and technologies. Even the core part of the .NET platform—the Common Language Infrastructure (CLI)—and the C specifications have been placed before ECMA for standardization.C, developed by Anders Hejlsberg of Microsoft, is defined as a simple, modern, objectoriented, and typesafe programming language derived from C and C++, deriving from a number of languages like C, C++, and Java. Specifically written to offer the simplicity of Visual Basic and power of C++ as an objectoriented language, C makes it easier for developers to create, debug, and deploy enterprise applications. It has also been predicted that C will bee the favored language for developing applications on the .NET platform.Visual , the next version of Visual Studio IDE, is also a key ponent of the .NET strategy. The Visual IDE has also been given a facelift and packed with a wide variety of new functionalities. A bitmap editor, debugger, Web Forms designer, Windows Forms designer, Web Services designer, XML editor, HTML editor, Web browser, Server Resources Explorer, and multilanguage support have all been packed into one single IDE.The focus of The C.NET Web Developer’s Guide is not on teaching you the core C language, but rather providing you with code examples that will help you leverage the functionalities of the .NET Framework Class Libraries. The .NET Framework collections of base classes cover many of the multiple APIs. Although impossible for one book to cover all the features, we have covered, in this book, the key concepts, libraries, and APIs of the .NET Framework, which can help create new applications using C.You have so many features to learn and master that we must get started now!!Chapter1 Introduction of the Microsoft .NET Platform Introduction The .NET platform is the foundation upon which the next generation of software will be built. Microsoft has invested a lot of capital in its development and attempted to make it as the new standard. A list of Microsoft partners has also supported .NET tools and ponents. You can check The .NET platform is anything more than a mere new language, software development kit (SDK), or even an operating system. It offers powerful new services, a new processorindependent binary format, new managed languages, managed language extensions to existing languages, and so forth. Effectively using these new tools makes possible a firm background of the platform that will enhance your applications. In this chapter, we take a look at the various ponents of the .NET platform. We not only introduce the concept and technology, but explain the terminology used to describe them as well. This will enable you to have a strong understanding of the internal workings of the .NET platform, thus reaping more benefits from the following chapters. Introduction of the .NET Platform The precept behind the .NET platform is the shift from one of PCs connected to servers through networks such as the Internet, to one where all manner of smart devices, puters, and services work together to provide a richer user experience. The .NET platform is Microsoft’s answer to the challenges this change will provide to software developers. How many ponents the .NET platform have? Different people have different answers. Servers such as BizTalk and SQL Server, as well as services such as .NET My Services and its first visible ponent, .NET Passport, are being described by some as integral parts of the .NET platform. Nonetheless, the .NET Framework, as far as many of us are concerned, can be anything that we can imagine when referring to .NET. It prises Visual (), the .NET Common Language Runtime (CLR), and the .NET Base Class Libraries (BCL). The other ponents may be required by specific applications, but they are not the necessary part of all .NET applications. Looking at the overall architectur