What Is ASP.NET?

What Is ASP.NET?

Welcome to the ASP.NET QuickStart Tutorial Getting Started Introduction The ASP.NET QuickStart is a series of ASP.NET samples and What is ASP.NET? supporting commentary designed to quickly acquaint Language Support developers with the syntax, architecture, and power of the ASP.NET Web programming framework. The QuickStart ASP.NET Web Forms samples are designed to be short, easy-to-understand Introducing Web Forms illustrations of ASP.NET features. By the time you have Working with Server Controls completed the QuickStart tutorial, you will be familiar with: Applying Styles to Controls Server Control Form Validation ● ASP.NET Syntax. While some of the ASP.NET Web Forms User Controls syntax elements will be familiar to veteran ASP developers, several are unique to the new Data Binding Server Controls framework. The QuickStart samples cover each Server-Side Data Access element in detail. Data Access and Customization ● ASP.NET Architecture and Features. The Working with Business Objects QuickStart introduces the features of ASP.NET that Authoring Custom Controls enable developers to build interactive, world-class Web Forms Controls Reference applications with much less time and effort than ever before. Web Forms Syntax Reference ● Best Practices. The QuickStart samples demonstrate the best ways to exercise the power of ASP.NET Web Services ASP.NET while avoiding potential pitfalls along the Introducing Web Services way. Writing a Simple Web Service Web Service Type Marshalling What Level of Expertise Is Assumed in the Using Data in Web Services QuickStart? Using Objects and Intrinsics If you have never developed Web pages before, the The WebService Behavior QuickStart is not for you. You should be fluent in HTML and HTML Pattern Matching general Web development terminology. You do not need previous ASP experience, but you should be familiar with ASP.NET Web Applications the concepts behind interactive Web pages, including Application Overview forms, scripts, and data access. Using the Global.asax File Managing Application State Working with the QuickStart Samples HttpHandlers and Factories The QuickStart samples are best experienced in the order in which they are presented. Each sample builds on concepts discussed in the preceding sample. The sequence Cache Services begins with a simple form submittal and builds up to Caching Overview integrated application scenarios. Page Output Caching Page Fragment Caching Page Data Caching Copyright 2001 Microsoft Corporation. All rights reserved. Configuration Configuration Overview Configuration File Format Retrieving Configuration Deployment Deploying Applications Using the Process Model Handling Errors Security Security Overview Authentication & Authorization Windows-based Authentication Forms-based Authentication Authorizing Users and Roles User Account Impersonation Security and WebServices Localization Internationalization Overview Setting Culture and Encoding Localizing ASP.NET Applications Working with Resource Files Tracing Tracing Overview Trace Logging to Page Output Application-level Trace Logging Debugging The SDK Debugger Performance Performance Overview Performance Tuning Tips Measuring Performance ASP to ASP.NET Migration Migration Overview Syntax and Semantics Language Compatibility COM Interoperability Transactions Sample Applications A Personalized Portal An E-Commerce Storefront A Class Browser Application IBuySpy.com Get URL for this page What is ASP.NET? Getting Started ASP.NET is a programming framework built on the common Introduction language runtime that can be used on a server to build What is ASP.NET? powerful Web applications. ASP.NET offers several Language Support important advantages over previous Web development models: ASP.NET Web Forms Introducing Web Forms ● Enhanced Performance. ASP.NET is compiled Working with Server Controls common language runtime code running on the server. Unlike its interpreted predecessors, ASP.NET Applying Styles to Controls can take advantage of early binding, just-in-time Server Control Form Validation compilation, native optimization, and caching Web Forms User Controls services right out of the box. This amounts to Data Binding Server Controls dramatically better performance before you ever Server-Side Data Access write a line of code. Data Access and Customization ● World-Class Tool Support. The ASP.NET Working with Business Objects framework is complemented by a rich toolbox and Authoring Custom Controls designer in the Visual Studio integrated Web Forms Controls Reference development environment. WYSIWYG editing, drag- Web Forms Syntax Reference and-drop server controls, and automatic deployment are just a few of the features this ASP.NET Web Services powerful tool provides. Introducing Web Services ● Power and Flexibility. Because ASP.NET is based Writing a Simple Web Service on the common language runtime, the power and Web Service Type Marshalling flexibility of that entire platform is available to Web Using Data in Web Services application developers. The .NET Framework class Using Objects and Intrinsics library, Messaging, and Data Access solutions are all The WebService Behavior seamlessly accessible from the Web. ASP.NET is HTML Pattern Matching also language-independent, so you can choose the language that best applies to your application or partition your application across many languages. ASP.NET Web Applications Further, common language runtime interoperability Application Overview guarantees that your existing investment in COM- Using the Global.asax File based development is preserved when migrating to Managing Application State ASP.NET. HttpHandlers and Factories ● Simplicity. ASP.NET makes it easy to perform common tasks, from simple form submission and Cache Services client authentication to deployment and site Caching Overview configuration. For example, the ASP.NET page Page Output Caching framework allows you to build user interfaces that Page Fragment Caching cleanly separate application logic from presentation Page Data Caching code and to handle events in a simple, Visual Basic - like forms processing model. Additionally, the common language runtime simplifies development, Configuration with managed code services such as automatic Configuration Overview reference counting and garbage collection. Configuration File Format Retrieving Configuration ● Manageability. ASP.NET employs a text-based, hierarchical configuration system, which simplifies applying settings to your server environment and Deployment Web applications. Because configuration information Deploying Applications is stored as plain text, new settings may be applied Using the Process Model without the aid of local administration tools. This Handling Errors "zero local administration" philosophy extends to deploying ASP.NET Framework applications as well. An ASP.NET Framework application is deployed to a Security server simply by copying the necessary files to the Security Overview server. No server restart is required, even to deploy Authentication & Authorization or replace running compiled code. Windows-based Authentication Forms-based Authentication ● Scalability and Availability. ASP.NET has been Authorizing Users and Roles designed with scalability in mind, with features User Account Impersonation specifically tailored to improve performance in clustered and multiprocessor environments. Further, Security and WebServices processes are closely monitored and managed by the ASP.NET runtime, so that if one misbehaves Localization (leaks, deadlocks), a new process can be created in Internationalization Overview its place, which helps keep your application Setting Culture and Encoding constantly available to handle requests. Localizing ASP.NET Applications ● Customizability and Extensibility. ASP.NET Working with Resource Files delivers a well-factored architecture that allows developers to "plug-in" their code at the appropriate Tracing level. In fact, it is possible to extend or replace any Tracing Overview subcomponent of the ASP.NET runtime with your Trace Logging to Page Output own custom-written component. Implementing Application-level Trace Logging custom authentication or state services has never been easier. Debugging ● Security. With built in Windows authentication and The SDK Debugger per-application configuration, you can be assured that your applications are secure. Performance Performance Overview The remainder of the QuickStart presents practical Performance Tuning Tips examples of these concepts. Measuring Performance ASP to ASP.NET Migration Copyright 2001 Microsoft Corporation. All rights reserved. Migration Overview Syntax and Semantics Language Compatibility COM Interoperability Transactions Sample Applications Links to the Web: Support | Search | microsoft.com Welcome | ASP.NET | Windows Forms | How Do I...? Hide TOC | I want my samples in... Language Support Languages Declare a variable The Microsoft .NET Platform currently offers built-in support for three languages: C#, Visual Basic, Issue a statement and JScript. Comment my code Declare a simple property The exercises and code samples in this tutorial demonstrate how to use C#, Visual Basic, and Use an indexed property JScript to build .NET applications. For information regarding the syntax of the other languages, refer Declare an indexed property to the complete documentation for the .NET Framework SDK. Declare an enumeration Enumerate a collection or array The following table is provided to help you understand the code samples in this tutorial as well as Declare

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    192 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us