aspnet 技術(shù) 外文文獻(xiàn)譯文和原文.doc
約16頁DOC格式手機(jī)打開展開
aspnet 技術(shù) 外文文獻(xiàn)譯文和原文,asp.nettechnique 1. building asp.net pagesasp.net and the .net frameworkasp.net is part of microsoft's overall .net framework, which contains a vast set of prog...
內(nèi)容介紹
此文檔由會員 wanli1988go 發(fā)布
ASP.NET Technique
1. Building ASP.NET Pages
ASP.NET and the .NET Framework
ASP.NET is part of Microsoft's overall .NET framework, which contains a vast set of programming classes designed to satisfy any conceivable programming need. In the following two sections, you learn how ASP.NET fits within the .NET framework, and you learn about the languages you can use in your ASP.NET pages.
The .NET Framework Class Library
Imagine that you are Microsoft. Imagine that you have to support multiple programming languages—such as Visual Basic, JScript, and C++. A great deal of the functionality of these programming languages overlaps. For example, for each language, you would have to include methods for accessing the file system, working with databases, and manipulating strings.
Furthermore, these languages contain similar programming constructs. Every language, for example, can represent loops and conditionals. Even though the syntax of a conditional written in Visual Basic differs from the syntax of a conditional written in C++, the programming function is the same.
Finally, most programming languages have similar variable data types. In most languages, you have some means of representing strings and integers, for example. The maximum and minimum size of an integer might depend on the language, but the basic data type is the same.
ASP.NET 技術(shù)
1.構(gòu)建 ASP.NET 頁面
ASP.NET 和ASP.NET結(jié)構(gòu)
ASP.NET 是微軟.NET framework整體的一部分, 它包含一組大量的編程用的類,滿足各種編程需要。 在下列的二個(gè)部分中, 你如何學(xué)會 ASP.NET 很適合的放在.NET framework, 和學(xué)會能在你的 ASP.NET 頁面中使用語言。
.NET類庫
假想你是微軟。 假想你必須支持大量的編程語言-比如 Visual Basic 、 JScript 和 C++. 這些編程語言的很多功能具有重疊性。 舉例來說,對于每一種語言,你必須包括存取文件系統(tǒng)、與數(shù)據(jù)庫協(xié)同工作和操作字符串的方法。
此外,這些語言包含相似的編程構(gòu)造。 每種語言,舉例來說,都能夠使用循環(huán)語句和條件語句。 即使用 Visual Basic 寫的條件語句的語法不與 用C++ 寫的不一樣,程序的功能也是相同的。
最后,大多數(shù)的編程語言有相似的數(shù)據(jù)變量類型。 以大多數(shù)的語言,你有設(shè)定字符串類型和整型數(shù)據(jù)類型的方法。舉例來說, 整型數(shù)據(jù)最大值和最小值可能依賴語言的種類,但是基本的數(shù)據(jù)類型是相同的。
對于多種語言來說維持這一功能需要很大的工作量。 為什么繼續(xù)再創(chuàng)輪子? 對所有的語言創(chuàng)建這種功能一次,然后把這個(gè)功能用在每一種語言中豈不是更容易。
.NET類庫不完全是那樣。 它含有大量的滿足編程需要的類。舉例來說,.NET類庫包含處理數(shù)據(jù)庫訪問的類和文件協(xié)同工作,操作文本和生成圖像。 除此之外,它包含更多特殊的類用在正則表達(dá)式和處理Web協(xié)議。
.NET framework,此外包含支持所有的基本變量數(shù)據(jù)類型的類,比如:字符串、整型、字節(jié)型、字符型和數(shù)組。
1. Building ASP.NET Pages
ASP.NET and the .NET Framework
ASP.NET is part of Microsoft's overall .NET framework, which contains a vast set of programming classes designed to satisfy any conceivable programming need. In the following two sections, you learn how ASP.NET fits within the .NET framework, and you learn about the languages you can use in your ASP.NET pages.
The .NET Framework Class Library
Imagine that you are Microsoft. Imagine that you have to support multiple programming languages—such as Visual Basic, JScript, and C++. A great deal of the functionality of these programming languages overlaps. For example, for each language, you would have to include methods for accessing the file system, working with databases, and manipulating strings.
Furthermore, these languages contain similar programming constructs. Every language, for example, can represent loops and conditionals. Even though the syntax of a conditional written in Visual Basic differs from the syntax of a conditional written in C++, the programming function is the same.
Finally, most programming languages have similar variable data types. In most languages, you have some means of representing strings and integers, for example. The maximum and minimum size of an integer might depend on the language, but the basic data type is the same.
ASP.NET 技術(shù)
1.構(gòu)建 ASP.NET 頁面
ASP.NET 和ASP.NET結(jié)構(gòu)
ASP.NET 是微軟.NET framework整體的一部分, 它包含一組大量的編程用的類,滿足各種編程需要。 在下列的二個(gè)部分中, 你如何學(xué)會 ASP.NET 很適合的放在.NET framework, 和學(xué)會能在你的 ASP.NET 頁面中使用語言。
.NET類庫
假想你是微軟。 假想你必須支持大量的編程語言-比如 Visual Basic 、 JScript 和 C++. 這些編程語言的很多功能具有重疊性。 舉例來說,對于每一種語言,你必須包括存取文件系統(tǒng)、與數(shù)據(jù)庫協(xié)同工作和操作字符串的方法。
此外,這些語言包含相似的編程構(gòu)造。 每種語言,舉例來說,都能夠使用循環(huán)語句和條件語句。 即使用 Visual Basic 寫的條件語句的語法不與 用C++ 寫的不一樣,程序的功能也是相同的。
最后,大多數(shù)的編程語言有相似的數(shù)據(jù)變量類型。 以大多數(shù)的語言,你有設(shè)定字符串類型和整型數(shù)據(jù)類型的方法。舉例來說, 整型數(shù)據(jù)最大值和最小值可能依賴語言的種類,但是基本的數(shù)據(jù)類型是相同的。
對于多種語言來說維持這一功能需要很大的工作量。 為什么繼續(xù)再創(chuàng)輪子? 對所有的語言創(chuàng)建這種功能一次,然后把這個(gè)功能用在每一種語言中豈不是更容易。
.NET類庫不完全是那樣。 它含有大量的滿足編程需要的類。舉例來說,.NET類庫包含處理數(shù)據(jù)庫訪問的類和文件協(xié)同工作,操作文本和生成圖像。 除此之外,它包含更多特殊的類用在正則表達(dá)式和處理Web協(xié)議。
.NET framework,此外包含支持所有的基本變量數(shù)據(jù)類型的類,比如:字符串、整型、字節(jié)型、字符型和數(shù)組。