My MSN

Click OK to add this content

 
Content Preview: rss
-+ASP.NET and the .NET Framework
1342 days ago
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. ASP.NET是微软.NET框架总体战略的一部分。它包含了一组满足各种可以想象到的需求的类。在之后的两个部分,你将会学到ASP.NET是怎样融合到.NET框架中去的,而且你将会学到可以在ASP.NET页面中使用到的语言。 The .NET Framework Class Library .NET框架类库 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. 假设你就是微软,假设你必须支持多语言编程,例如VB,JS,C++。这些语言的很多函数都重复了,比如对于每种语言,你都必须包含一些访问文件系统,与数据库打交道,以及处理字符串的函数。 Furthermore, these languages contain ...
-+Part I: Working with ASP.NET Web Forms
1344 days ago
Chapter 1. Building ASP.NET Pages   In this chapter, you learn how to build basic ASP.NET Web Forms Pages. Don't let the Forms part of the name mislead you. Web Forms Pages can do much more than display standard HTML forms. Most, if not all, of the pages of your ASP.NET application will be Web Forms Pages, which enable you to create pages with interactive, dynamic, or database-driven content. 在这一章节,你将学到怎样建立一个基本的ASP.NET Web Forms Pages.不要被名字中的Forms误导了你。Web Forms Pages 可以做比仅仅显示一个普通的HTML更多的事情。在你的ASP.NET中将会多数都是Web Forms Pages,而这些将会使你创建交互的,动态的或者基于数据库内容的页面。 Web Forms Pages are pieced together out of two building blocks. First, you assemble the dynamic portion of the user interface by using ASP.NET controls. ASP.NET controls enable you to display "smart" HTML forms, for example, and present interactive grids of database data. The first part of this chapter provides an overview of all the ASP.NET controls. Web Forms Pages ...
-+Conventions Used in This Book
1344 days ago
The following typographic conventions are used in this book: 以下这些印刷体的命名规则将在本书中被使用: Code lines, commands, statements, variables, and any text you type or see onscreen appears in a mono typeface. Bold mono typeface is often used to represent the user's input. 代码行,命令,声明,变量和所有你在屏幕上看到或输入的文本都是以单一字体出现的,而加黑的字体用来标示用户的输入信息。 Placeholders in syntax descriptions appear in an italic mono typeface. Replace the placeholder with the actual filename, parameter, or whatever element it represents. 在语法描述中的占位符将以italic mono 的字体形式出现。用实际的文件名,参数名或者任何这些占位符代表的元素来代替这些占位符。 Italics highlight technical terms when they're being defined. 当一些技术名次被定义的时候,这些词会被以高显得形式标注出来。 The  icon is used before a line of code that is really a continuation of the preceding line. Sometimes a line of code is too long to fit as a single line on the page. If you see before a line of code, remember that it's part of the line immediately above it.   The book also contains Notes, Tips, and ...
-+Code Naming Conventions Used in This Book
1362 days ago
The topic of variable naming and code conventions is a touchy one. Programmers tend to develop their personal naming conventions and don't like others dictating how they should write their code. 变量命名规则和编码规范一直是一个比较敏感的话题。程序员更倾向于有自己的编程命名规则,他们不喜欢别人告诉他们应该怎么写自己的代码。 Nevertheless, having a common convention is valuable when code must be read by multiple people in an organization (think code reviews). Having a common convention also makes it easier to read your own code if you return to it at a later date. 不管怎样,如果会有比较多的人来阅读代码,有一个共同的编程规范更有利些(比如代码审查)。有一个共同的约定能让你在隔一段时间以后再阅读自己的代码的时候,能够很容易读懂。 The most popular variable naming convention is called Hungarian Notation. It was originally developed by Charles Simonyi at Microsoft and has been used internally at Microsoft for a number of years. According to this convention, you should name all variables starting with a standard three or four letter prefix that represents the variable's data type. For example, an integer variable used to represent ...
-+How This Book Is Organized
1363 days ago
Although I encourage you to read this book from start to finish, reading chapter by chapter, I realize that not everyone has time to do so. If necessary, you can use this book solely as a reference and jump to a chapter only when the need arises. It might be helpful, therefore, to have an idea of the overall organization of this book.   尽管我建议你把这本书从头到尾都读完,但我意识到不是谁都有足够的时间。如果必要的话,你可以仅仅把它当作一本参考资料来看,仅在需要的时候跳到相应的章节。所以了解到这个文章的结构对你还是有些帮助的。 Part I : Working with ASP.NET Web Forms — The chapters in this part provide you with detailed information on building ASP.NET pages with form and validation controls. All the controls used for constructing interactive HTML forms are discussed. 第一部分:用ASP.NET Web Forms开发---本部分的几个章节提供了一些详细的信息教你使用框架(?)和验证控件构建ASP.NET页面。所有关于构建交互性HTML界面的控件都将会被介绍。 Part II : Advanced ASP.NET Page Development — These chapters discuss how to create your own controls with user controls, how to use mobile controls to create Web pages that work with cell ...
© 2009 MicrosoftMicrosoft