基于ASP.NET的信息发布网站的设计与实现
2016-04-22贾宗星


摘 要: 为解决企业信息共享与同步问题,设计了一种基于ASP.NET的信息发布网站。该网站采用B/S模式, 以Visual Studio为开发平台, SQL Server为数据库,实现了信息的统一授权管理和集中发布。文章介绍了信息发布网站的开发工具、开发模式、体系结构、详细设计及关键技术的实现。
关键词: ASP.NET; B/S; 统一授权; 信息发布
中图分类号:TP319 文献标志码:A 文章编号:1006-8228(2016)04-36-03
Design and implementation of information publishing Website based on ASP.NET
Jia Zongxing
(School of Information Science and Engineering, Shanxi Agricultural University, Taigu, Shanxi 030801, China)
Abstract: In order to solve the problem of enterprise information sharing and synchronization, an information publishing Website based on ASP.NET is designed. The Website adopts B/S mode, with Visual Studio as the development platform and SQL Server as the database, to realize the unified managing and centralized publishing for information. This paper introduces the development tools, development mode, architecture, detailed design and the implementation of key technology of the information publishing Website.
Key words: ASP.NET; B/S; unified authorization; information publishing
0 引言
计算机技术和互联网的发展,促进了生活、生产信息量增多,同时信息类型多,信息的来源多样,信息处理的过程复杂[1]。如何有效传播和利用这些信息,已成为当前企业必须考虑的问题[1]。面对商业社会竞争日益激烈,市场变化的步伐逐步加快,越来越多的企业认识到了信息技术对企业持续发展的重要性和迫切性。为适应企业发展,需开发一个信息发布网站,以解决各种信息共享和同步的问题。
本系统采用C#语言编码,基于ASP.NET 3.5技术和B/S模式[2],同时将Dreamweaver CS6和Visual Studio 2010两种软件结合起来实现界面和编码,采用SQL Server2008作为数据库[3]。通过数据库集成企业内各种信息资源,实现了对信息的统一授权管理和集中发布,提高了工作效率。
1 系统平台和系统工作模式
1.1 asp.net三层架构
本系统采用ASP.NET技术,基于三层架构模式开发[3]。
⑴ 表现层
用于用户接口的展示,用业务层的类和对象来“驱动”这些接口。
在ASP.NET中,该层包括aspx页面、用户控件、服务器以及某些与安全相关的类和对象。
⑵ 业务层
用于访问数据层,从数据层取数据、修改数据、删除数据,并将结果返回给表现层。
在ASP.NET中,该层包括使用SqlClient或OleDe从SQL Server或Access数据库取数据、更新数据及删除数据,并把取得的数据放到DataReader或DataSet中返回给表现层。……
