微软代码示例:ASP.NET 2.0 三层架构应用程序教程系列

本文转自:http://www.codeusing.com/hi/uephee.wen/resource/view/170.aspx

资源分类:微软代码示例               更新日期:2008-10-11

主页:http://msdn.microsoft.com/en-us/library/aa581769.aspx

语言:英文  授权形式:免费

微软 Scott Mitchell 为大家准备的 ASP.NET 2.0 三层架构应用程序系列教程,共35讲,分别有C#和VB.NET版本。

Introduction
Tutorial 1: Creating a Data Access Layer
Tutorial 2: Creating a Business Logic Layer
Tutorial 3: Master Pages and Site Navigation
Basic Reporting
Tutorial 4: Displaying Data With the ObjectDataSource
Tutorial 5: Declarative Parameters
Tutorial 6: Programmatically Setting the ObjectDataSource‘s Parameter Values
Master/Detail
Tutorial 7: Master/Detail Filtering With a DropDownList
Tutorial 8: Master/Detail Filtering With Two DropDownLists
Tutorial 9: Master/Detail Filtering Across Two Pages
Tutorial 10: Master/Detail Using a Selectable Master GridView with a Details DetailView
Custom Formatting
Tutorial 11: Custom Formatting Based Upon Data
Tutorial 12: Using TemplateFields in the GridView Control
Tutorial 13: Using TemplateFields in DetailsView
Tutorial 14: Using the FormView‘s Templates
Tutorial 15: Displaying Summary Information in the GridView‘s Footer
Editing, Inserting, and Deleting Data
Tutorial 16: An Overview of Inserting, Updating, and Deleting Data
Tutorial 17: Examining the Events Associated with Inserting, Updating, and Deleting
Tutorial 18: Handling BLL-Level and DAL-Level Exceptions in an ASP.NET Page
Tutorial 19: Adding Validation Controls to the Editing and Inserting Interfaces
Tutorial 20: Customizing the Data-Modification Interface
Tutorial 21: Implementing Optimistic Concurrency
Tutorial 22: Adding Client-Side Confirmation when Deleting
Tutorial 23: Limiting Data-Modification Functionality Based on the User
Paging and Sorting
Tutorial 24: Paging and Sorting Report Data
Tutorial 25: Efficiently Paging Through Large Amounts of Data
Tutorial 26: Sorting Custom-Paged Data
Tutorial 27: Creating a Customized Sorting User Interface
Custom Button Actions
Tutorial 28: Adding and Responding to Buttons to a GridView
Displaying Data with the DataList and Repeater
Tutorial 29: Displaying Data with the DataList and Repeater Controls
Tutorial 30: Formatting the DataList and Repeater Based upon Data
Tutorial 31: Showing Multiple Records per Row with the DataList Control
Tutorial 32: Nested Data Web Controls
Filtering Scenarios with the DataList and Repeater
Tutorial 33: Master/Detail Filtering with a DropDownList
Tutorial 34: Master/Detail Filtering Across Two Pages
Tutorial 35: Master/Detail Using a Bulleted List of Master Records with a Details DataList

下载说明:每次课程之后都会有相应的代码,最终课程代码:Visual C# 版本 Visual Basic 版本

原文地址:https://www.cnblogs.com/tianciliangen/p/8567914.html

时间: 2024-08-08 01:14:04

微软代码示例:ASP.NET 2.0 三层架构应用程序教程系列的相关文章

ASP.NET MVC5.0+Entity Framework(EF)6.1系列教程

ASP.NET MVC5.0+Entity Framework(EF)6.1系列教程 从webform+ado.net开发模式转换到asp.net mvc+ef开发模式已经有一年多时间了.一直希望能够将自己开发中的一点微薄经验写下啦,现在列个目录,鼓励自己写下去. 1.1 Entity Framework(EF) ASP.NET MVC+Entity Framework(EF)技术介绍 ASP.NET MVC+Entity Framework(EF)项目搭建 3种Entity Framework

asp.net mvc 加三层架构 完美搭配

http://www.hysql.org/aspnet/20180630/5712.html 先来一张项目的层级结构图: Model:模型层,主要是各种类型.枚举以及ORM框架,框架完成数据库和实体类的映射.项目中选用了微软的开源ORM框架 EntityFramework 6.0 (以下简称EF),数据库则选择了微软的轻量级数据库SQL Server Compact 4.0本地数据库(简称Compact),Compact对EF支持比较完美,又属于文档型数据库,部署起来比较简洁. DAL:数据访问

Asp.Net MVC+EF+三层架构的完整搭建过程

架构图: 使用的数据库: 一张公司的员工信息表,测试数据 解决方案项目设计: 1.新建一个空白解决方案名称为Company 2.在该解决方案下,新建解决方案文件夹(UI,BLL,DAL,Model) 当然还可以加上common 3.分别在BLL,DAL,Model 解决方案文件夹下创建类库项目 (1).BLL解决方案文件夹: Company.BLL.Company.IBLL.Company.BLLContainer (2).DAL解决方案文件夹: Company.DAL.Company.IDAL

Asp.Net MVC+EF+三层架构

架构图: 使用的数据库: 一张公司的员工信息表,测试数据 解决方案项目设计: 1.新建一个空白解决方案名称为Company 2.在该解决方案下,新建解决方案文件夹(UI,BLL,DAL,Model) 当然还可以加上common 3.分别在BLL,DAL,Model 解决方案文件夹下创建类库项目 (1).BLL解决方案文件夹: Company.BLL.Company.IBLL.Company.BLLContainer (2).DAL解决方案文件夹: Company.DAL.Company.IDAL

ASP.NET创建三层架构图解详细教程

1.新建项目 2.创建Visual Studio解决方案 3.再创建项目 4.选择类库类型 5.依次创建bll(业务逻辑层),dal(数据访问层)和model(模型层也可以叫实体层) 6.添加一个网站 7.选择相应的类型 8.修改名称 9.设为启动项目 10.结构如下 11. 生成model 12.在dal中引用model 13.选择model引用 14.看一下 15.dal还可以引用其他类库,如DBUtility 16.数据库帮助类库 17.model不引用任何类库 18.底层类库在上层类库中

ASP.NET4.5Web API及非同步程序开发系列(3)

接着上一篇博客的内容做一个补充,正好是一个大哥提出来的,我们看看一个有趣的现象. 请求相关问题的补充: 我们先在Controller中的定义一个我们在前一篇博客中已经测试过的方法如下: public class DemoController : ApiController { [HttpGet] public HttpResponseMessage InsertPerson(string name,int age) { return this.Request.CreateResponse(Htt

使用VS Code开发.Net Core 2.0 MVC Web应用程序教程之一

好吧,现在我们假设你已经安装好了VS Code开发工具..Net Core 2.0预览版的SDK dotnet-sdk-2.0.0(注意自己的操作系统),并且已经为VS Code安装好了C#扩展(在VS Code的扩展菜单中输入OmniSharp,安装扩展即可) 一.我们先在我们的电脑硬盘的某个神奇的目录下新建一个文件夹.我把这个地方选在D:\WorkTest下,创建的文件夹名称为MyCMS.注意,这一步不是在VS Code中完成的,貌似VS Code中不能创建文件夹. 二.在VS Code开发

ASP.NET 4.0 来了

伴随着VS2010的公开测试,ASP.NET4.0也进入了我们的视线.ASP.NET4.0究竟给我们带来了什么,将在哪些方面提高我们的生产力? 在何时你需要使用ASP.NET4.0开发你的网站程序? 需要更严格的遵守Web标准: 需要更流畅的Web Form开发方式: 需要更好的搜索引擎优化: 需要后知后觉的纠正一些不够优良的设计,这些设计甚至可能是在ASP.NET 1.0发布之前就存在的: 需要将现有的功能重新改造为支持server farm或跨application domains: 需要将

Asp.Net之三层架构

三层架构之理论: 通常意义上讲的三层架构就是将整个项目应用划分为:表现层(UI),业务逻辑层(BLL),数据访问层(DAL).与传统的二层架构的区别在于在用户界面(UI)和数据库服务器之间,添加中间层.而中间层又可划分为业务逻辑层(BLL),数据访问层(DAL)和数据对象模型层(Model).其中的数据对象模型层(Model)可以把表当做一个对象来处理,充分体现了面向对象的思想.三层架构因为"高内聚,低耦合"的特性,更利于 系统的设计和开发,同时为可能的变更提供了更小的单元,有利于系统