易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP.NET MVC 简介

这个是在网上找的一个关于ASP.NET MVC 的定义,我觉得已经解释的够好了,所以就借过来用用了 ,呵呵
希望有心学习ASP.NET MVC 的朋友先熟悉定义,在后续的文章中会更轻松的学习ASP.NET MVC
下面我们一起踏上ASP.NET MVC 之旅吧,只要有恒心和毅力,祝学者们旅途愉快!
The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating MVC-based Web applications. The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc namespace and is a fundamental, supported part of the System.Web namespace.
MVC is a standard design pattern that many developers are familiar with. Some types of Web applications will benefit from the MVC framework. Others will continue to use the traditional ASP.NET application pattern that is based on Web Forms and postbacks. Other types of Web applications will combine the two approaches; neither approach excludes the other.
MVC架构模式将应用程序分为模型-视图-控制器三个主要组织部分,ASP.NET MVC框架提供一种可以代替ASP.NET Web Forms模式来创建基于MVC的应用程序,ASP.NET MVC是轻量级的,高可测试的框架,并且可以结合现有的ASP.NET的特性如母板、基于membership的身份验证,MVC框架基础定义在System.Web.Mvc命名空间中的,成为System.Web命名空间的一部分。
MVC作为一个标准的设计模式被广大的开发人员所熟知。某些类型的Web应用程序将受益于MVC framework。其它类型的应用程序可以继续使用传统的基于Postbacks的Web forms模式进行ASP.NET开发,也可以结合这两种模式,它们是并行存在而不是互相冲突的。
The MVC framework includes the following components:
MVC框架包含如下组成部分:
Models. Model objects are the parts of the application that implement the logic for the application's data domain. Often,


相关文档:

ASP.NET的状态管理

 
为什么要状态管理
     B/S与C/S两种架构的有着完全不同的运行机制。C/S基本上所有的软件功能都在客户端(Client)中实现(所以C/S也称为胖客户端架构),服务器端(Server)只提供基础服务,最为典型的是数据库服务提供数据服务。而B/S架构主要的功能在服务端(Server)实现,客户端的浏览器( ......

ASP.NET文件下载函数使用

 ASP.NET文件下载函数使用是什么情况呢?在你的Page_Load中添加这样的代码:
Page.Response.Clear();
bool success = ResponseFile(Page.Request, Page.Response, "目的文件名称", @"源文件路径", 1024000);
if (!success) Response.Write("下载文件出错!"); Page.Response.End();
ASP.NET文件下载函数代码为: ......

ASP.NET安全认证 一

作者:寒羽枫(cityhunter172)

代码写 N 久了,总想写得别的。这不,上头说在整合两个项目,做成单一登录(Single Sign On),也有人称之为“单点登录”。查阅相关文档后,终于实现了,现在把它拿出来与大家一起分享。或许大家会问:“这与标题不符呀?”别急,在下笔之前,我脑子里想到了我刚使用 ......

asp.net 调用存储过程

1.获取Return返回值
 程序代码//存储过程
//Create PROCEDURE MYSQL
//     @a int,
//     @b int
//AS
//     return @a + @b
//GO
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["LocalSqlServer"].ToStri ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号