ASP.NET Development from Beginner to Mastery
Tags
Summary
Editor's review
Who it's for
A good fit for
- Learners with some programming foundation (e.g., familiarity with any language such as C or Java) who want to systematically learn ASP.NET web development
- Students in computer-related majors who want to connect school theory with a concrete enterprise-level web development framework
- Traditional WebForms developers who want to transition to the more modern, mainstream ASP.NET MVC architecture
- Developers who need a clearly structured, step-by-step reference book so they can consult relevant modules at any time during project development
Not a good fit for
- Readers who want to quickly master a single skill point (e.g., only front-end page creation); this book's system is relatively extensive
- Readers seeking detailed coverage of the latest cross-platform technologies such as .NET Core or .NET 6/7/8; this book is based on the earlier .NET Framework and ASP.NET MVC
Reading tips
- It is recommended to read in chapter order and not skip around, because later chapters often build on the knowledge in earlier ones
- Be sure to practice every code example in the book while reading; it is best to extend or modify the code yourself to deepen understanding
- The book can be used as the main textbook while combining it with Microsoft official documentation and community technical blogs to obtain the latest technological developments and best practices
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- 版权信息
- 内容提要
- 前言
- 本书实例目录
- 第1章 ASP.NET基础
- 1.1 认识网页和网站
- 1.1.1 网页基础知识
- 1.1.2 网站
- 1.2 Web技术简介
- 1.2.1 本地计算机和远程服务器
- 1.2.2 Web应用程序的工作原理
- 1.2.3 常用的Web开发技术
- 1.2.4 ASP.NET在Web开发中的作用
- 1.3 Web标准
- Web开发标准概述
- 1.4 ASP.NET基础
- 1.4.1 ASP.NET简介
- 1.4.2 全新的.NET Framework 4.5
- 1.4.3 公共语言运行时
- 1.5 3种必备技术
- 1.5.1 HTML技术基础
- 1.5.2 CSS技术基础
- 1.5.3 JavaScript技术基础
- 1.6 技术解惑
- 1.6.1 ASP.NET技术和新兴技术HTML 5的结合
- 1.6.2 学好ASP.NET的建议
- 第2章 搭建开发环境
- 2.1 配置ASP.NET环境
- 2.1.1 安装IIS
- 2.1.2 IIS的配置
- 2.2 Visual Studio 2012概述
- 2.2.1 Visual Studio 2012基础
- 2.2.2 Visual Studio 2012的新功能
- 2.2.3 安装Visual Studio 2012
- 2.2.4 设置默认环境
- 2.2.5 新建项目
- 2.2.6 解决方案资源管理器
- 2.2.7 文本编辑器
- 2.2.8 生成与查错
- 2.2.9 强大的工具箱
- 2.3 编译和部署ASP.NET程序
- 2.3.1 编译、运行ASP.NET程序
- 2.3.2 部署ASP.NET程序
- 2.4 第一个ASP.NET程序
- 第3章 C#基础
- 3.1 C#概述
- 3.1.1 C#的推出背景
- 3.1.2 C#的特点
- 3.2 .NET Framework框架简介
- 3.2.1 .NET Framework简介
- 3.2.2 几个常见的概念
- 3.2.3 程序编译
- 3.3 C#的基本语法
- 3.4 变量
- 3.4.1 C#的类型
- 3.4.2 给变量命名
- 3.5 常量
- 3.6 类型转换
- 3.6.1 隐式转换
- 3.6.2 显式转换
- 3.6.3 装箱与拆箱
- 3.7 其他数据类型
- 3.7.1 枚举
- 3.7.2 结构
- 3.7.3 数组
- 3.8 基本.NET框架类
- 3.8.1 Console类
- 3.8.2 Convert类
- 3.8.3 Math类
- 3.9 表达式
- 3.10 运算符
- 3.11 语句和流程控制
- 3.11.1 选择语句
- 3.11.2 循环语句
- 3.11.3 跳转语句
- 3.12 技术解惑
- 3.12.1 代码缩进的意义
- 3.12.2 变量是否必须初始化
- 3.12.3 常量和变量的区别
- 3.12.4 为什么使用类型转换
- 3.12.5 避免分配额外的内存空间
- 3.12.6 在编程中要确保尽量少的装箱
- 3.12.7 使用语句的几种限制
- 3.12.8 带/不带表达式的return语句
- 第4章 面向对象编程
- 4.1 面向对象编程基础
- 4.1.1 OOP思想介绍
- 4.1.2 C#的面向对象编程
- 4.2 函数是神秘的箱子
- 4.2.1 定义和使用函数
- 4.2.2 函数参数详解
- 4.3 类
- 4.3.1 定义类
- 4.3.2 类的成员
- 4.4 对象
- 4.4.1 创建对象
- 4.4.2 使用对象
- 4.5 属性
- 4.6 命名空间
- 4.6.1 编译单元
- 4.6.2 完全限定名标识
- 4.6.3 using指令
- 4.7 灵活自由的集合
- 4.7.1 C#集合概述
- 4.7.2 使用集合
- 4.8 继承
- 4.8.1 类的层次结构
- 4.8.2 声明继承
- 4.8.3 继承规则
- 4.9 多态
- 4.9.1 虚方法和虚方法重写
- 4.9.2 重写方法的特点
- 4.10 接口
- 4.10.1 定义接口
- 4.10.2 接口的实现和继承
- 4.11 委托
- 4.11.1 声明委托
- 4.11.2 委托链
- 4.12 事件
- 4.12.1 声明事件
- 4.12.2 使用事件
- 4.13 技术解惑
- 4.13.1 面向对象的作用
- 4.13.2 一个函数只做一件事
- 4.13.3 何时使用静态函数,何时使用实例函数
- 4.13.4 引用参数和输出参数的关系和区别
- 4.13.5 不要在密封类型中声明虚拟成员
- 4.13.6 不要在密封类型中声明受保护的成员
- 4.13.7 类和对象之间的关系和区别
- 第5章 ASP.NET的页面结构
- 5.1 一个简单的ASP.NET文件
- 5.1.1 简单ASP.NET文件实例
- 5.1.2 ASP.NET页面元素介绍
- 5.2 ASP.NET页面指令
- 5.2.1 Page指令
- 5.2.2 @Master指令
- 5.2.3 @Control指令
- 5.2.4 @Import指令
- 5.2.5 @Implements指令
- 5.2.6 @Assembly指令
- 5.2.7 @PreviousPageType指令
- 5.2.8 @MasterType指令
- 5.2.9 @OutputCache指令
- 5.2.10 @Reference指令
- 5.2.11 @Register指令
- 5.3 技术解惑
- 5.3.1 两种布局ASP.NET页面的方式
- 5.3.2 @Register指令的真正用途
- 第6章 内置对象和应用程序配置
- 6.1 ASP.NET内置对象介绍
- 6.1.1 Response对象
- 6.1.2 Request对象
- 6.1.3 Application对象
- 6.1.4 Session对象
- 6.1.5 Server对象
- 6.1.6 Cookie对象
- 6.1.7 Cache对象
- 6.1.8 Global.asax文件
- 6.2 配置ASP.NET应用程序
- 6.2.1 配置文件结构
- 6.2.2 配置文件的继承层次结构
- 6.2.3 使用位置和路径
- 6.2.4 ASP.NET配置元素
- 6.2.5 自定义应用程序设置
- 6.3 预编译和编译
- 6.3.1 网站预编译
- 6.3.2 网站编译
- 6.4 技术解惑
- 6.4.1 对内置对象的总结
- 6.4.2 Session对象和Cookie对象的比较
- 6.4.3 Application对象和Session对象的区别
- 6.4.4 对Application、Session、Cookie、ViewState和Cache的选择
- 第7章 HTML服务器控件和Web服务器控件
- 7.1 HTML服务器控件
- 7.1.1 HTML服务器控件基础
- 7.1.2 HTMLButton控件
- 7.1.3 HTMLInput控件
- 7.2 Web服务器控件
- 7.3 标准控件
- 7.3.1 Label控件
- 7.3.2 TextBox控件
- 7.3.3 CheckBox和CheckBoxList控件
- 7.3.4 RadioButton和RadioButtonList控件
- 7.3.5 Image控件
- 7.3.6 Table控件
- 7.3.7 按钮控件
- 7.3.8 ListBox控件
- 7.3.9 CheckBoxList控件
- 7.3.10 DropDownList控件
- 7.3.11 DataList控件
- 7.3.12 Wizard控件和WizardStep控件
- 7.3.13 AdRotator控件
- 7.3.14 Calendar控件
- 7.3.15 HiddenField控件
- 7.3.16 FileUpload控件
- 7.3.17 ImageMap控件
- 7.4 技术解惑
- 7.4.1 总结用户登录系统的设计流程
- 7.4.2 服务器控件与HTML控件的区别
- 7.4.3 什么时候使用服务器控件,什么时候使用HTML控件
- 第8章 数据控件
- 8.1 数据绑定控件
- 8.1.1 GridView控件
- 8.1.2 DetailsView控件
- 8.1.3 FormView控件
- 8.1.4 Repeater控件
- 8.1.5 DataList控件
- 8.1.6 DetailsView控件
- 8.1.7 FormView控件
- 8.1.8 数据绑定控件演练
- 8.2 数据源控件
- 8.2.1 SqlDataSource控件
- 8.2.2 AccessDataSource控件
- 8.2.3 XmlDataSource控件
- 8.2.4 SiteMapDataSource控件
- 8.2.5 ObjectDataSource控件
- 8.2.6 LinkButton控件
- 8.3 技术解惑
- 8.3.1 GridView控件的优缺点分析
- 8.3.2 ListView控件的优缺点分析
- 8.3.3 GridView控件与DataGrid控件的对比
- 第9章 验证控件、用户控件和自定义控件
- 9.1 验证控件
- 9.1.1 RequiredFieldValidator控件
- 9.1.2 RangeValidator控件
- 9.1.3 CompareValidator控件
- 9.1.4 RegularExpressionValidator控件
- 9.1.5 CustomValidator控件
- 9.1.6 ValidationSummary控件
- 9.2 用户控件
- 9.2.1 入门用户控件
- 9.2.2 创建一个简单的用户控件
- 9.2.3 属性和事件
- 9.2.4 动态加载
- 9.2.5 片段缓存处理
- 9.3 自定义控件
- 9.3.1 一个简单的自定义Web用户控件
- 9.3.2 子控件
- 9.3.3 复合控件
- 9.4 技术解惑
- 9.4.1 为什么推出验证控件
- 9.4.2 验证时检查数据的两种时机
- 9.4.3 提高网站健壮性的两个原则
- 第10章 ASP.NET新增功能
- 10.1 更加简洁的web.config
- 10.2 新增的3个属性
- 10.2.1 ViewStateMode属性
- 10.2.2 ClientIDMode属性
- 10.2.3 EnablePersistedSelection属性
- 10.3 增强的Dynamic Data控件
- 10.4 并行运算
- 10.5 ADO.NET Data Services 1.5的新增功能
- 10.6 ADO.NET Entity Framework的新增功能
- 10.7 技术解惑
- 10.7.1 QueryExtender控件的用法
- 10.7.2 并行运算中的多线程
- 10.7.3 并行循环的中断和跳出
- 10.7.4 在并行循环中为数组/集合添加项
- 10.7.5 对SEO的改进
- 第11章 ADO.NET详解
- 11.1 ADO.NET简介
- 11.1.1 ADO.NET的作用
- 11.1.2 ADO.NET结构
- 11.2 ADO.NET对象
- 11.2.1 ADO.NET的使用环境
- 11.2.2 使用ADO.NET对象实现数据库访问
- 11.3 ODBC.NET Data Provider
- 11.3.1 ODBC .NET Data Provider概述
- 11.3.2 连接ODBC数据源
- 11.4 DataSet对象
- 11.4.1 DataSet概述
- 11.4.2 使用DataSet
- 11.5 XML
- 11.5.1 XML概述
- 11.5.2 文档类型定义
- 11.5.3 创建XML文件
- 11.5.4 DataSet读取XML数据
- 11.5.5 XML填充DataSet
- 11.6 技术解惑
- 11.6.1 和ADO以及其他数据访问组件相比,ADO.NET的优势是什么
- 11.6.2 如何选择DataReader/DataSet
- 11.6.3 在数据库中的E-R图
- 11.6.4 三层架构
- 11.6.5 ADO.NET起了一个接口的作用
- 第12章 使用母版页、样式、主题和皮肤
- 12.1 母版页详解
- 12.1.1 何谓母版页
- 12.1.2 创建母版页
- 12.1.3 创建内容页
- 12.1.4 母版页的嵌套
- 12.1.5 动态访问母版页
- 12.1.6 母版页的应用范围
- 12.1.7 缓存母版页
- 12.2 主题、样式和皮肤
- 12.2.1 主题概述
- 12.2.2 应用样式
- 12.2.3 应用主题和皮肤
- 12.2.4 如何创建主题
- 12.2.5 应用主题
- 12.3 技术解惑
- 12.3.1 母版页和普通Web页的区别
- 12.3.2 文件的存储和组织方式
- 第13章 个性化设置
- 13.1 个性化设置基础
- ASP.NET中的个性化用户配置
- 13.2 实现个性化用户配置
- 13.2.1 匿名用户个性化用户配置
- 13.2.2 注册用户个性化用户配置
- 13.3 技术解惑
- 13.3.1 Web.Config文件中一段完整的<profile>配置代码
- 13.3.2 Profile对象与Session对象的对比
- 第14章 使用WebPart构建门户
- 14.1 WebPart概述
- 14.1.1 Portal框架简介
- 14.1.2 WebPart的基本要素
- 14.2 WebPart的基本控件
- 14.2.1 WebPartManager控件
- 14.2.2 WebPartZone控件
- 14.2.3 CatalogZone控件
- 14.2.4 EditorZone控件
- 14.3 配置WebPart环境
- 14.4 创建、管理WebPart页面
- 14.4.1 使用WebPartZone控件创建WebPart页面
- 14.4.2 使用CatalogZone控件创建WebPart页面
- 14.4.3 使用EditorZone控件创建WebPart页面
- 14.4.4 管理WebPart页面
- 14.4.5 WebPart页面间的通信
- 14.4.6 自定义WebPart
- 14.5 技术解惑
- 14.5.1 实际应用中使用WebPart控件的方式
- 14.5.2 WebPart的定制功能推动了ASP.NET的发展
- 14.5.3 ASP.NET中3种WebPart部署方式
- 第15章 使用缓存
- 15.1 缓存概述
- 15.1.1 ASP.NET缓存介绍
- 15.1.2 ASP.NET中的几种缓存
- 15.2 整页输出缓存
- 15.2.1 使用@OutputCache指令
- 15.2.2 使用API缓存
- 15.2.3 页面输出缓存应用
- 15.3 页面部分缓存
- 15.3.1 使用@ OutputCache指令
- 15.3.2 使用PartialCachingAttribute类
- 15.3.3 使用ControlCachePolicy类
- 15.3.4 缓存后替换
- 15.4 应用程序数据缓存
- 15.4.1 将项添加到缓存中
- 15.4.2 检索缓存项的值
- 15.4.3 从缓存中移除项时通知应用程序
- 15.5 技术解惑
- 15.5.1 缓存的优缺点
- 15.5.2 如何从ASP.NET缓存中移除项
- 15.5.3 系统缓存的好处
- 15.5.4 服务器端缓存的两种类型
- 15.5.5 提升ASP.NET应用程序的性能
- 第16章 构建安全的ASP.NET站点
- 16.1 ASP.NET的安全性
- 16.1.1 ASP.NET安全性的几个相关概念
- 16.1.2 ASP.NET安全结构
- 16.1.3 身份验证的方式
- 16.2 用户账户模拟
- 16.2.1 模拟某一个用户
- 16.2.2 实现临时模拟
- 16.3 基于Windows的身份验证
- 16.3.1 配置IIS安全
- 16.3.2 配置Windows安全
- 16.3.3 配置Windows身份验证和授权
- 16.3.4 自定义角色
- 16.3.5 获取用户信息
- 16.4 基于表单的身份验证
- 16.5 登录控件
- 16.5.1 登录控件
- 16.5.2 用户向导控件
- 16.5.3 密码恢复控件
- 16.5.4 修改密码控件
- 16.5.5 其他控件
- 16.6 网站管理工具
- 16.6.1 用户管理
- 16.6.2 角色管理
- 16.6.3 访问规则管理
- 16.6.4 其他配置
- 16.7 技术解惑
- 16.7.1 正确验证用户输入数据的经验
- 16.7.2 ASP.NET中的角色管理
- 16.7.3 ASP.NET角色管理的工作原理
- 16.7.4 ASP.NET应用程序标识
- 16.7.5 有关代码访问安全性的知识
- 第17章 用户登录验证系统
- 17.1 用户登录验证系统介绍
- 17.2 规划项目文件
- 17.3 系统配置文件
- 17.4 搭建系统数据库
- 17.4.1 数据库设计
- 17.4.2 数据库访问层设计
- 17.5 设置主题皮肤
- 17.6 用户登录处理模块
- 17.6.1 创建图文验证码
- 17.6.2 编写用户登录界面
- 17.6.3 登录数据处理
- 17.7 用户注册处理模块
- 17.7.1 编写用户注册界面
- 17.7.2 注册数据处理
- 17.8 用户注销处理模块
- 17.8.1 注销程序激活页面
- 17.8.2 注销处理页面
- 第18章 在线信息搜索系统
- 18.1 在线信息搜索系统介绍
- 18.2 在线信息搜索系统模块文件
- 18.3 系统配置文件实现
- 18.4 搭建系统数据库
- 18.4.1 数据库设计
- 18.4.2 数据库访问层设计
- 18.5 设置主题皮肤文件
- 18.5.1 设置按钮元素样式
- 18.5.2 设置页面元素样式
- 18.6 信息搜索模块
- 18.6.1 信息搜索表单页面
- 18.6.2 搜索处理页面
- 18.6.3 搜索结果显示
- 18.6.4 搜索智能提示
- 第19章 图文处理模块
- 19.1 图文处理模块概述
- 19.2 图文处理模块实例实现文件
- 19.3 系统配置文件
- 19.4 系统设置文件的实现
- 19.5 搭建系统数据库
- 19.5.1 数据库设计
- 19.5.2 数据库访问层设计
- 19.6 系统文件列表显示模块
- 19.6.1 列表显示页面
- 19.6.2 列表处理页面
- 19.7 创建缩略图模块
- 19.7.1 创建缩略图页面
- 19.7.2 创建缩略图处理页面
- 19.8 创建水印图模块
- 19.8.1 创建水印图页面
- 19.8.2 创建水印图处理页面
- 19.9 文件上传处理模块
- 19.9.1 多文件上传处理模块
- 19.9.2 文件自动上传处理模块
- 第20章 在线留言本系统
- 20.1 在线留言本系统简介
- 20.2 在线留言本系统实例概述
- 20.3 系统配置文件
- 20.4 搭建系统数据库
- 20.4.1 数据库设计
- 20.4.2 数据库访问层设计
- 20.5 留言数据显示模块
- 20.5.1 留言列表显示页面
- 20.5.2 留言展开回复模块
- 20.6 留言分页列表显示模块
- 20.6.1 留言分页显示页面
- 20.6.2 分页处理页面
- 20.7 留言回复模块
- 20.7.1 留言回复表单页面
- 20.7.2 回复数据处理页面
- 20.8 留言发布模块
- 20.9 留言管理模块
- 20.9.1 留言管理列表页面
- 20.9.2 留言删除处理页面
- 第21章 在线聊天系统
- 21.1 项目规划分析
- 21.1.1 在线聊天系统功能原理
- 21.1.2 在线聊天系统构成模块
- 21.2 系统配置文件
- 21.3 搭建数据库
- 21.3.1 数据库设计
- 21.3.2 系统参数设置
- 21.4 数据库访问层
- 21.4.1 数据访问层——登录验证处理
- 21.4.2 数据访问层——聊天处理
- 21.4.3 数据访问层——系统管理
- 21.5 用户登录验证模块
- 21.5.1 用户登录表单页面
- 21.5.2 登录验证处理页面
- 21.6 系统主界面模块
- 21.6.1 在线聊天界面
- 21.6.2 在线聊天处理页面
- 21.7 客户的新需求
- 修改数据访问层——聊天室房间处理
- 21.8 聊天室显示界面
- 21.8.1 聊天室列表页面
- 21.8.2 聊天室列表处理页面
- 21.9 聊天室管理界面
- 21.9.1 聊天室添加模块
- 21.9.2 聊天室列表模块
- 21.9.3 聊天室修改模块
- 21.10 项目调试
- 欢迎来到异步社区!
- 异步社区的来历
- 社区里都有什么?
- 购买图书
- 下载资源
- 与作译者互动
- 灵活优惠的购书
- 纸电图书组合购买
- 社区里还可以做什么?
FAQ
Is this book suitable for people with zero programming background?
Does this book use ASP.NET Core?
What level can I reach after finishing this book?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Zhang Mingxing is a book author about whom limited public information is available; no confirmed record of his nationality, dates of birth and death, or English name exists. Judging from the two works held in the collection, his writing spans both programming technology and design thinking. ASP.NET Development from Beginner to Master is a typical introductory technical tutorial that systematically explains the fundamentals and practical path of web development for beginners, while Creative Thinking in Cross-Disciplinary Interaction Design turns to interaction design and creative thinking, focusing on the integration of different fields and reflection on design methods. The coexistence of these two subjects suggests that the author values both the practical implementation of technology and the conceptual expression of design. His works are classified under programming and design and are suitable for readers who wish to combine coding practice with a design perspective. Because public information is limited, further details about the author's background remain to be supplemented.