ASP.NET Hosting Tutorials
Welcome to a series of tutorials that will look at the steps involved in deploying an ASP.NET web application to a production environment managed by a web host provider, as well as exploring common challenges that might be encountered. These tutorials are geared to be concise and provide step-by-step instructions with plenty of screen shots to walk you through the process visually.
- Introduction and Core Concepts
- Deploying Data-Driven Applications
- Handling and Logging Runtime Errors
-
Site Administration
Introduction and Core Concepts :
1 .ASP.NET Hosting Options: ASP.NET web applications are typically designed, created, and tested in a local development environment and need to be deployed to a production environment once it is ready for release. This tutorial provides a high-level overview of the deployment process and serves as an introduction to this tutorial series.
Download ASP.NET Hosting Options
2.Determining What Files Need to Be Deployed: What files need to be deployed from the development environment to the production environment depends in part on whether the ASP.NET application was built using the Web Site Model or Web Application Model. Learn more about these two project models and how the project model affects deployment.
Download Determining What Files Need to Be Deployed
3.Deploying Your Site Using an FTP Client : The simplest way to deploy an ASP.NET application is to manually copy the necessary files from the development environment to the production environment. This tutorial shows how to use an FTP client to get the files from your desktop to the web host provider.
Download Deploying Your Site Using an FTP Client
4.Deploying Your Site Using Visual Studio : Visual Studio includes tools for deploying a website. Download Deploying Your Site Using Visual Studio
5. Common Configuration Differences Between Development and Production : In earlier tutorials we deployed our website by copying all of the pertinent files from the development environment to the production environment. However, it is not uncommon for there to be configuration differences between environments, which necessitates that each environment have a unique Web.config file. This tutorial examines typical configuration differences and looks at strategies for maintaining separate configuration information.
Download Common Configuration Diff between Development & Production
6.Core Differences Between IIS and the ASP.NET Development Server : When testing an ASP.NET application locally, chances are you are using the ASP.NET Development Web Server. However, the production website is most likely powered IIS. There are some differences between how these web servers handle requests, and these differences can have important consequences. This tutorial explores some of the more germane differences.
Download Core Differences Between IIS and the ASP.NET Development Server
ASP.NET 4.0 and Visual Studio 2010 Web Development Beta 1 Overview
Many exciting changes for ASP.NET are coming in the .NET Framework version 4.0. This document gives an overview of many of the new features that are included in the upcoming Beta 1 release of .NET 4.0 and in the Visual Studio 2010 release.
Download ASP.NET4.0_and_Visual_Studio_2010_Web_Development_Beta_1_Overview
IIS 6.0 Material
Download complete IIS 6.0 Material
Security Tools
Welcome to a series of tutorials about ASP.NET Security, which explores techniques for authenticating visitors through a web form, authorizing access to particular pages and functionality, and managing user accounts in an ASP.NET application.
This tutorial will explore techniques for authenticating visitors through a web form, authorizing access to particular pages and functionality, and managing user accounts in an ASP.NET application. Download Security Basics and Asp.Net Support article.
In this tutorial we will turn from mere discussion to implementation; in particular, we will look at implementing forms authentication. The web application we start constructing in this tutorial will continue to be built upon in subsequent tutorials, as we move from simple forms authentication to membership and roles. Download An Overview of Forms Authentication article.(V.V.V Imp one) . See video Basic Forms Authentication
In this tutorial we will examine the various forms authentication settings and see how to modify them through the forms element. This will entail a detailed look at customizing the forms authentication ticket’s timeout value, using a login page with a custom URL (like SignIn.aspx instead of Login.aspx), and cookieless forms authentication tickets. Forms Authentication Configuration and Advanced Topics
Data Access Tutorial
Welcome to a series of tutorials that will explore techniques for implementing these common Data Access patterns in ASP.NET 2.0. These tutorials are geared to be concise and provide step-by-step instructions with plenty of screen shots to walk you through the process visually.
Learn how to create the Data Access Layer (DAL), using typed DataSets, to access the information in a database. Download Creating Data Accesslayer article.
Learn how to centralize your business rules into a Business Logic Layer (BLL) that serves as an intermediary for data exchange between the presentation layer and the DAL. Download Creating Business Logic Layer article.
One common characteristic of user-friendly websites is that they have a consistent, site-wide page layout and navigation scheme. This tutorial looks at how you can create a consistent look and feel across all pages that can easily be updated. Download about Master Pages and Site Navigation.
To provide flexibility, the GridView offers the TemplateField, which renders using a template. A template can include a mix of static HTML, Web controls, and databinding syntax. In this tutorial we’ll examine how to use the TemplateField to achieve a greater degree of customization with the GridView control. Download Using Template Fields in Gridview Control article.
Learn how to configure the SqlDataSource to insert, update, and delete data. Download An Overview of Inserting,Updating and Deleting Data with SqlDataSource article.
Learn how to map an ObjectDataSource’s Insert(), Update(), and Delete() methods to the methods of BLL classes, as well as how to configure the GridView, DetailsView, and FormView controls to provide data modification capabilities. Download An Overview of Inserting,Editing, Deleting Data Article.
In the interfaces we’ve created so far, a user can accidentally delete data by clicking the Delete button when they meant to click the Edit button. In this tutorial we’ll add a client-side confirmation dialog box that appears when the Delete button is clicked. Download Adding Client Side Confirmation when Deleting article.
Paging and sorting are two very common features when displaying data in an online application. In this tutorial we’ll take a first look at adding sorting and paging to our reports, which we will then build upon in future tutorials. Download Paging and Sorting Report Data article.
Learn how to allow users to upload binary files (such as Word or PDF documents) to your Web site where they may be stored in either the server’s file system or the database. Download Uploading Files in Binary Format article.
Learn how to create a Web interface that allows the user to both enter text data and upload binary files. To illustrate the options available to store binary data, one file will be saved in the database while the other is stored in the file system. Download Including a FileUpload option when Adding a New Record article.
In earlier tutorials we have created SQL statements in our code and passed the statements to the database to be executed. An alternative approach is to use stored procedures, where the SQL statements are pre-defined at the database. In this tutorial we learn how to have the TableAdapter Wizard generate new stored procedures for us. Download Creating New Stored Procedures for the Typed Dataset’s Table Adapter article.
Learnn ObjectDataSource control Using this control you can bind data retrieved from the BLL created in the previous tutorial without having to write a line of code! Download Displaying Data with Object Data Source article.
Learn how to use a parameter set to a hard-coded value to select the data to display in a DetailsView control. Download Declarative Paramters article.
Look at adding a method to our DAL and BLL that accepts a single input parameter and returns data. The example will set this parameter programmatically. Downlaod Programmatically Setting the Object Data Sources Parameter article.
Learn how to display the master records in a DropDownList control and the details of the selected list item in a GridView. Download Master/Detail Filtering With a Dropdownlist Article.