安装、执行基于 的服务程序, 安装、执行基于Windows的服务程序,不能访 的服务程序 问特定服务,诸如Active Directory、Web 问特定服务,诸如 、 Services。 。 定时器、 定时器、其他更复杂的应用程序时间调度
System.ServiceProcess
System.Timers
.NET Framework的优势 的优势
提高生产力 整合性 完全面向对象
易于重用 提供构架企业应用程序的全面支持
部署
操作系统独立性 平台独立性
高性能 总拥有成本低
VS.NET中的企业应用程序模板 中的企业应用程序模板
提供多层结构模板
?Business Fa?ade ?Business Rules ?Data Access ?System Framework ?Web Service ?Web UI ?Win UI
演示 Visual Studio .NET中的企业应用程序模板 中的企业应用程序模板
Duwa
mish 7 C#中的层次结构 中的层次结构
Session 3 企业级应用程序的构架
如何编写好的需求 Design Goals .NET Framework对设计目标的支持 对设计目标的支持 企业级应用程序的部署
如何编写好的需求
功能需求必须是可测试的 功能需求必须避免实现细节 好的功能需求
Administrator must be able to create, read, update, and delete (CRUD) customer accounts.
Administrator must be able to configure the max outstanding balance for a customer Administrator must be able to change the name of a customer
不好的功能需求
该站点必须易于使用(功能需求不可测试) 该站点必须易于使用(功能需求不可测试) 该站点必须用VB.NET语言编写(涉及实现细节) 语言编写( 该站点必须用 语言编写 涉及实现细节)
如何编写好的需求
An Internet customer will be able to browse the PetShop .NET pets catalog by category. An Internet customer will be able to search for specific pets by key
word: An Internet customer will be able to select one or more pets and place them in a shopping cart for purchase. …
.NET technology a