Photo
ASP.NET2.0 (ASP: Active Server Page) is a Microsoft. NET framework later. NET2.0 part, is an important, popular dynamic WEB development technologies.
directory
a: ASP.NET 2.0 What is the second: ASP.NET version of the history of three: with ASP.NET 2.0 technology similar to four: ASP.NET2.0 related Microsoft WEB Development Technical V: ASP.NET 2.0-related development tools Six: ASP.NET2.0 the composition and the sample code project seven: ASP.NET 2.0 WEB resources related to books and learning Eight: introducing the development of other more efficient administration and staff management performance and scalability One: ASP.NET 2.0 what is similar to PHP, JSP technology. ASP.NET 2.0 version released on December 7, 2005. As of today (2010/05/27), ASP.NET is the latest version of ASP.NET 4.0. Second: ASP.NET version of history comes the version of ASP.NET, had said together. NET Framework Version: time. NET version of ASP.NET Version 1.0 2003-04-24 2002-02-13 1.0 1.1 1.1 2005 - 11-07 2.0 2.0 3.0 3.0 2007-11-19 2006-11-06 2010-04-12 4.0 4.0 3.5 3.5 III: with ASP.NET 2.0 technology like ASP.NET WEB as a dynamic development of technology, with which similar technologies: PHP, JSP (Java Server Page), of course, the older ASP.NET: ASP. IV: ASP.NET2.0 WEB development technology related to use Microsoft ASP.NET 2.0 for WEB development, need to involve the relevant technologies include: IIS (Internet Information Service): It is requested as the server-side program, B / S end S structure. A programming language, which can be C #, VB.NET, C + +. NET, or other can run on. NET framework in any language, even the corresponding COBOL, PYTHON. Basic HTML, JavaScript, DIV + CSS of course, indispensable. If necessary, may be related to XML. There are also pop up in recent years Ajax technology (for asynchronous request services.) In addition,
nike air force one high, the general need for DB to provide background data storage services, commonly used SQL SERVER, MY SQL, ORACLE and so on. Five: ASP.NET 2.0-related development tools used to develop ASP.NET 2.0, the most common and most convenient, the most important tools available than Microsoft's own Visual Studio, the latest version of Visual Studio 2010, but 2008 and 2005 editions are still many companies and developers to use. Greatest advantage of using this IDE is easy, greatly improve the production efficiency. Of course, you can just use the NOTE PAD compiled a decent things,
air force one shoes, but developers should not use that to develop a simple method inefficient. In addition,. NET decompiler Reflector. Can. NET assemblies decompiled source code. Related version control tools: SVN, VSS, CVS, etc.. Related to unit testing tools: NUnit and so on. VI: ASP.NET2.0 project composition and sample code of a typical ASP.NET2.0 WEB projects generally include the following components: 1: The code (in C # language development as an example) ASPX file, the ASP.NET project The most common part, it provides a WEB page layout control. ASPX file for each separation technique generally through the code, was kind enough to file a ASPX.CS closely related, which involves. NET2.0 for PARTUAL CLASS features. That is a class that can be defined separately in a number of different files. ASP.NET application to point of view, this statement provides a page and the background of the control part of the code dealing with the separation, the structure is more clear and easy to maintain. ASCX file, the ASP.NET user control project definition file. Provided by the regular ASP.NET controls often do not meet the specific needs of different WEB project,
nike air force 1 high, we often need to control individual style, the control function, or control bundled reuse. Therefore, the development of custom development in ASP.NET user control is a common task. Similarly,
nike air force one low, with the same ASPX page separation technology, custom user controls, you can also control the attributes associated with the definition of custom methods isolated a ASCX.CS file. ASAX file in the WEB ASP.NET request processing process, some need to process each request is a public global events. Will generally need a Global.Asax file as a template example, by filling in all functions, can be a variety of global processing. using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.SessionState; using System.Xml.Linq; namespace MyWebProject {public class Global: System.Web.HttpApplication {protected void Application_Start (object sender, EventArgs e) {} protected void Session_Start (object sender, EventArgs e) {} protected void Application_BeginRequest (object sender, EventArgs e) {} protected void Application_AuthenticateRequest (object sender, EventArgs e) {} protected void Application_Error (object sender, EventArgs e) {} protected void Session_End (object sender, EventArgs e) {} protected void Application_End (object sender, EventArgs e) {}}} ASHX file When the need for WEB request processing flow of events for a more customized treatment,
air force one low nike, it needs to deal with HttpHandler related events, this time, the need to generate ASHX types of files. ASMX file, when the need for the development of related WEB SERVICE, it uses the ASMX file. MASTER file,
air force one low, template file, in a project, you may need a certain type of page template with a common framework, and then different pages filled with different specific content, this time to first define the template file can then be referenced in each page This template file, you can reduce duplication of development. And to facilitate change in maintenance. Examples are as follows: <form id=LogoText : HyperLink ID = asp: HyperLink ID = ; asp: HyperLink ID = <asp:HyperLink ID=; <asp:ContentPlaceHolder ID=documents related to the resource file, is the common picture file, project files can be placed directly below, and then referenced in the page 3: The configuration file has the main configuration file web.config, machine.config. Seven: ASP.NET 2.0-related books and learning resources for novices ASP.NET WEB study, recommend books as: ASP.NET Essentials (Essential ASP.NET with Examples in C #) Fritz Onion with Tsinghua University Press ASP.NET Advanced Program Design (3rd Edition) Mathew MacConald & Marie Szpuszte with, Posts & Telecom Press-related network resources:
http://www.cnblogs.com Chinese world. NET developers the main gathering place
http://www.msdn. com MSDN, the official website
http://www.asp.net Needless to say, it goes without saying that eight: more description of other ASP.NET is a programming framework built on the common language runtime that can be used on a server to build powerful Web applications. The first version of ASP.NET offered several important advantages over previous Web development models. ASP.NET 2.0 improves upon that foundation by adding support for several new and exciting features in the areas of developer productivity, administration and management, extensibility, and performance: Developer Productivity ASP.NET 2.0 encapsulates common Web tasks into application services and controls that can be easily reused across web sites. With these basic building blocks, many scenarios can now be implemented with far less custom code than was required in previous versions. With ASP.NET 2.0 it is possible to significantly reduce the amount of code and concepts necessary to build common scenarios on the web. New Server Controls. ASP.NET 2.0 introduces many new server controls that enable powerful declarative support for data access , login security, wizard navigation, menus, treeviews, portals, and more. Many of these controls take advantage of core application services in ASP.NET for scenarios like data access, membership and roles, and personalization. Some of the new families of controls in ASP.NET 2.0 are described below. Data Controls. Data access in ASP.NET 2.0 can be accomplished completely declaratively (no code) using the new data-bound and data source controls. There are new data source controls to represent different data backends such as SQL database, business objects, and XML, and there are new data-bound controls for rendering common UI for data, such as gridview, detailsview, and formview .. Navigation Controls. The navigation controls provide common UI for navigating between pages in your site, such as treeview, menu, and sitemappath. These controls use the site navigation service in ASP.NET 2.0 to retrieve the custom structure you have defined for your site. Login Controls. The new login controls provide the building blocks to add authentication and authorization-based UI to your site, such as login forms, create user forms, password retrieval, and custom UI for logged in users or roles. These controls use the built-in membership and role services in ASP.NET 2.0 to interact with the user and role information defined for your site. Web Part Controls. Web parts are an exciting new family of controls that enable you to add rich, personalized content and layout to your site, as well as the ability to edit that content and layout directly from your application pages. These controls rely on the personalization services in ASP.NET 2.0 to provide a unique experience for each user in your application. Master Pages. This feature provides the ability to define common structure and interface elements for your site, such as a page header, footer, or navigation bar, in a common location called a entire Web site. This improves the maintainability of your site and avoids unnecessary duplication of code for shared site structure or behavior. Themes and Skins. The themes and skins features in ASP.NET 2.0 allow for easy customization of your site's look-and-feel . You can define style information in a common location called a styles. Personalization. Using the new personalization services in ASP.NET 2.0 you can easily create customized experiences within Web applications. The Profile object enables developers to easily build strongly-typed, sticky data stores for user accounts and build highly customized, relationship based experiences . At the same time, a developer can leverage Web Parts and the personalization service to enable Web site visitors to completely control the layout and behavior of the site, with the knowledge that the site is completely customized for them. Personalizaton scenarios are now easier to build than ever before and require significantly less code and effort to implement. Localization. Enabling globalization and localization in Web sites today is difficult, requiring large amounts of custom code and resources. ASP.NET 2.0 and Visual Studio 2005 provide tools and infrastructure to easily build Localizable sites including the ability to auto-detect incoming locale's and display the appropriate locale based UI. Visual Studio 2005 includes built-in tools to dynamically generate resource files and localization references. Together, building localized applications becomes a simple and integrated part of the development experience. Administration and Management ASP.NET 2.0 is designed with administration and manageability in mind. We recognize that while simplifying the development experience is important, deployment and maintenance in a production environment is also a key component of an application's lifetime. ASP.NET 2.0 introduces several new features that further enhance the deployment, management, and operations of ASP.NET servers. Configuration API. ASP.NET 2.0 contains new configuration management APIs, enabling users to programmatically build programs or scripts that create, read, and update Web . config and machine.config configuration files. ASP.NET MMC Admin Tool. ASP.NET 2.0 provides a new comprehensive admin tool that plugs into the existing IIS Administration MMC, enabling an administrator to graphically read or change common settings within our XML configuration files . Pre-compilation Tool. ASP.NET 2.0 delivers a new application deployment utility that enables both developers and administrators to precompile a dynamic ASP.NET application prior to deployment. This precompilation automatically identifies any compilation issues anywhere within the site, as well as enables ASP.NET applications to be deployed without any source being stored on the server (one can optionally remove the content of. aspx files as part of the compile phase), further protecting your intellectual property. Health Monitoring and Tracing. ASP.NET 2.0 also provides new health-monitoring support to enable administrators to be automatically notified when an application on a server starts to experience problems. New tracing features will enable administrators to capture run-time and request data from a production server to better diagnose issues. ASP.NET 2.0 is delivering features that will enable developers and administrators to simplify the day-to-day management and maintenance of their Web applications. Flexible Extensibility ASP.NET 2.0 is a well-factored and open system, where any component can be easily replaced with a custom implementation. Whether it is server controls, page handlers, compilation, or core application services, you'll find that all are easily customizable and replaceable to tailor to your needs. Developers can plug in custom code anywhere in the page lifecycle to further customize ASP.NET 2.0 to their needs. Provider-driven Application Services. ASP.NET 2.0 now includes built-in support for membership (user name / password credential storage) and role management services out of the box. The new personalization service enables quick storage / retrieval of user settings and preferences, facilitating rich customization with minimal code. The new site navigation system enables developers to quickly build link structures consistently across a site. As all of these services are provider-driven, they can be easily swapped out and replaced with your own custom implementation. With this extensibility option, you have complete control over the data store and schema that drives these rich application services. Server Control Extensibility. ASP.NET 2.0 includes improved support for control extensibility, such as more base classes that encapsulate common behaviors, improved designer support, more APIs for interacting with client-side script, metadata-driven support for new features like themes and accessibility verification, better state management, and more. Data Source Controls. Data access in ASP.NET 2.0 is now performed declaratively using data source controls on a page. In this model, support for new data backend storage providers can be easily added by implementing custom data source controls. Additionally, the SqlDataSource control that ships in the box has built-in support for any ADO . NET managed provider that implements the new provider factory model in ADO.NET. Compilation Build Providers. Dynamic compilation in ASP.NET 2.0 is now handled by extensible compilation build providers, which associate a particular file extension with a handler that knows how to compile that extension dynamically at runtime. For example,. resx files can be dynamically compiled to resources,. wsdl files to web service proxies, and. xsd files to typed DataSet objects. In addition to the built-in support, it is easy to add support for additional extensions by implementing a custom build provider and registering it in Web.config. Expression Builders. ASP.NET 2.0 introduces a declarative new syntax for referencing code to substitute values into the page, called Expression Builders. ASP.NET 2.0 includes expression builders for referencing string resources for localization, connection strings, application settings, and profile values. You can also write your own expression builders to create your own custom syntax to substitute values in a page rendering. Performance and Scalability ASP.NET is built to perform , using a compiled execution model for handling page requests and running on the world's fastest web server, Internet Information Services. ASP.NET 2.0 also introduces key performance benefits over previous versions. 64-Bit Support. ASP.NET 2.0 is now 64-bit enabled, meaning it can take advantage of the full memory address space of new 64-bit processors and servers. Developers can simply copy existing 32-bit ASP.NET applications onto a 64-bit ASP.NET 2.0 server and have them automatically be JIT compiled and executed as native 64-bit applications (no source code changes or manual re-compile are required). Caching Improvements. ASP.NET 2.0 also now includes automatic database server cache invalidation. This powerful and easy-to-use feature allows developers to aggressively output cache database-driven page and partial page content within a site and have ASP.NET automatically invalidate these cache entries and refresh the content whenever the back-end database changes. Developers can now safely cache time-critical content for long periods without worrying about serving visitors stale data. The remainder of the QuickStart presents practical examples of these and other features in ASP.NET. asp.net is a programming framework built on the common language runtime, can be used to build powerful Web server application program. The first version of asp.net provides several important advantages over previous Web development models. asp.net 2.0 has improved, adding support on this basis, some new and exciting features in the areas of developer productivity, administration and management, scalability, and performance: the efficiency of the developer asp. net 2.0 package common Web tasks into application services and controls, can be easily reused across sites. With these basic building blocks in many cases, can now be implemented far less custom code than needed in previous versions. Asp.net 2.0 is possible with a significant reduction in the amount of code and concepts necessary to establish a common situation on the site. New server controls. asp.net 2.0 introduces many new server controls that enable powerful declarative support for data access, login security, wizard navigation, menus, treeviews, portals, and more. Many of these controls as the core applications using asp.net for the scene in the same data access, membership and roles, and personalization. Control the number of new families asp.net 2.0 are described below. Data control. Data access in asp.net 2.0 can do entirely in a statement (no code) using new data binding and data source control. A new data source controls to represent different data backends such as SQL database, enterprise, Business Objects, and XML, and a new data-bound controls to draw a common user interface data, such as gridview, detailsview , formview .. navigation controls. Navigation controls provide common user interface between the browser page on your site, such as tree views, menu, and sitemappath. These controls use the site navigation service in asp.net 2.0, to retrieve the custom structure you have defined for your site. Login control. The new login controls provide building blocks to add authentication and authorization based user interface to your site, such as login forms, create user forms, password retrieval, custom user interface, to record the user or role. These controls use the built-in membership and role services in asp.net 2.0 to interact with the user and role information defined for your site. Web Parts control. Web parts are an exciting new family of control, so you can add rich, personalized content and layout to your site, and the ability to edit the content and layout directly from your application's pages. These controls rely on personalized service in asp.net 2.0 provides a unique experience for each user in your application. Master page. This feature provides the ability to define common structure and interface elements for your site, such as the page header, footer, navigation or bar, in a common position, known as the website. In a simple place where you can control the look, feel, a lot of features for the entire site. This improves the maintainability of your site, and to avoid unnecessary duplication of code-sharing site structure or behavior. Theme and appearance. Theme and appearance features, in asp.net 2.0 website allows you to easily customize the look and feel. You can define style information in a common location, the so-called Want to master pages, which improves the maintainability of your site, and to avoid unnecessary duplication of code-sharing style. Personalization. Using the new personalization services in asp.net 2.0, you can easily create a custom Web application experience. Configuration file to allow developers to easily help customers build strong type, difficult data storage for user accounts and build highly customized, relationship based experiences. At the same time, developers can use Web Parts and personalization services to enable site visitors to completely control the layout and behavior of the site, and knowledge, the site is completely customized for them. personalizaton scenario, and now easier to build than ever before needs to be significantly less code and effort to implement. Localization. Globalization and localization to the site today is difficult, requires a lot of custom code and resources. asp.net 2.0 and Visual Studio 2005 provide tools and infrastructure, it is easy to establish the localization of sites, including the ability to automatically detect incoming locale, and displays the appropriate regional-based user interface. Visual Studio 2005 includes built-in tools to dynamically generate resource files and localization references. Taken together, building localized applications becomes a simple and integrated part of development experience. Administration and management is the design and management of asp.net 2.0 and manageability in mind. We recognize that while simplifying the development experience is very important, deployment and maintenance in a production environment, is also a key component of an application's life. asp.net 2.0 introduces several new features to further enhance the deployment, management and operation of the asp.net server. Configuration of the air pollution index. asp.net 2.0 contains new configuration management API, allowing users to programmatically build programs or scripts that create, read and update the Web.config and machine.config configuration files. asp.net the MMC management tools. asp.net 2.0 provides a new integrated management tool, into the existing IIS Administration MMC, enabling an administrator to graphically read or change common settings in our XML configuration files. A compilation of tools. asp.net 2.0 provides a new application deployment utility that enables both developers and administrators to precompile a dynamic asp.net application before deployment. This precompilation automatically identifies any compilation issues anywhere in the site, and the asp.net application to be deployed without any source being stored on the server (one can optionally remove the content. Aspx files as part of the compiler phase), further protecting your intellectual property. Health monitoring and tracking. asp.net 2.0 also provides new health monitoring support to enable administrators to automatically notify the application, start the server problems. The new tracking feature will allow managers to capture the running time and request data from the production server to better diagnose the problem. asp.net 2.0 provides features that enable developers and administrators to simplify the daily management and maintenance of their Web applications. Flexible and scalable asp.net 2.0 is a good factor and the open system, any component can be easily replaced by a custom implementation. Both the server controls, page processing, compilation, or core application services, you will find are very easy to customize and change in order to tailor to your needs. Developers can plug in custom code anywhere in the page lifecycle to further customize asp.net 2.0 to their needs. Supplier-driven applications. asp.net 2.0, now includes built-in support for membership (user name / password authentication storage) and role management services, out of the box. The new personalized service can quickly store / retrieve user settings and preferences, to promote a wealth of personalization and the smallest code. The new site navigation system enables developers to quickly build link structures consistently across the site. All of these service providers led, they can be easily swapped out and replaced with your own custom implementation. With this extension option, you have complete control over data storage and structure of the drive, these rich applications. Server Control Extensibility. asp.net 2.0 includes improved support for control extensibility, such as the more common general behavior of base classes to improve designer support, more air pollution index for the interaction with the client-side script, metadata-driven support new features such as themes and accessibility verification, better state management, and more. The data source control. Data access in the performance of asp.net 2.0 is now used to declare the data source control on a page. In this model, support for new data backend storage providers can easily say that by implementing custom data source control. In addition, sqldatasource control, ship in the box has built-in support, to provide any ado.net managed to achieve a new model of supplier factories in ado.net. Assembly, the establishment of supplier. In asp.net 2.0 dynamic compilation is now handled by extensible compilation build providers, which associate a particular file extension with the process to know how to compile that extension dynamically at runtime. For example, the. resx files can be dynamically compiled resources. WSDL files to Web Service proxy, and. Xsd files to typed DataSet objects. In addition to the built-in support, it is easy to add additional support to expand the implementation of a custom build provider and registering it in Web.config in. Expression builder. asp.net 2.0 introduces a declarative new syntax to substitute values into the light of the code page, called Expression builders. asp.net 2.0 includes expression builders for the reference to a string resource localization, connection strings, application settings and personal values. You can also write your own expression builders to create your own custom syntax to substitute values in a page rendering. Asp.net performance and scalability is based on the implementation, use the compiled execution model for handling page requests and running on the world's fastest web server, Internet Information Services. asp.net 2.0 also introduces key performance benefits over previous versions. 64-bit support. asp.net 2.0 is now the 64-bit enabled, which means it can take advantage of the memory address space of the new 64-bit processors and servers. Developers can simply copy existing 32-bit to a 64-bit asp.net applications asp.net 2.0 servers and their preparation and implementation of automated JIT, as a native 64-bit applications (no source code changes, or manually recompilation required). Cache improvements. asp.net 2.0 now also includes automatic database server cache invalidation. This powerful and easy-to-use features that allow developers to positive output cache database-driven web sites and some Web content, and have asp.net automatically invalidate these cache entries and refresh the content, the back-end database changes . Developers can now safely cache time of the key elements for a long time without worrying about serving visitors stale data. Quick introduction to the rest of the actual examples, these and other features in asp.net. Atlas Atlas entry for more extended reading: 1
http://www.asp.net
Open Category: Web Site