天天看点

mvc3 学习链接收集

The mvc3 study links collection

​​http://dotnetslackers.com/articles/ASPNET/default.aspx​​

​​Built-in Unit Test for ASP.NET MVC 3 in Visual Studio 2010 Part 2​​

Xianzhong Zhu, Feb 04, 2011

Views: 3,209 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article, we will delve into unit testing controllers in ASP.NET MVC, especially in terms of ASP.NET MVC 3 related concerns.

​​5 Helpful DateTime Extension Methods​​

Scott Mitchell, Feb 02, 2011

Views: 17,335 Avg Rating: 0/5 Votes: 0 Comments: 1

5 useful and handy Helpful DateTime Extension tips

​​AJAX ModalPopUpExtender with GridView (Database) With Client-side Validation​​

Mihi Soni, Jan 31, 2011

Views: 2,604 Avg Rating: 0/5 Votes: 0 Comments: 0

The main idea of this article is to fetch data from a database, bind the data with ASP.NET GridView control and then to perform edition functionality using ModalPopup extender with validations control provided by ASP.NET.

​​Built-in Unit Test for ASP.NET MVC 3 in Visual Studio 2010 Part 1​​

Xianzhong Zhu, Jan 19, 2011

Views: 4,078 Avg Rating: 0/5 Votes: 0 Comments: 0

In this series of articles, Xianzhong Zhu will provide you with a detailed tutorial on using Visual Studio 2010's built-in unit testing framework to develop ASP.NET MVC 3.0 based applications. In this first article, he'll focus on the fundamental concepts and tooling support in Visual Studio 2010.

​​Unit testing an HttpModule with NUnit and RhinoMock​​

Kenneth Uildriks, Jan 12, 2011

Views: 2,397 Avg Rating: 0/5 Votes: 0 Comments: 0

This article outlines one approach to mocking ASP.NET and freeing your unit tests and your continuous integration server from dependencies on IIS and virtual directory configuration.

​​Composing ASP.NET MVC applications​​

Manning Publications, Jan 07, 2011

Views: 2,131 Avg Rating: 0/5 Votes: 0 Comments: 0

This article is taken from the book Dependency Injection in .NET. Object Composition is one of three important dimensions of DI. ASP.NET MVC was designed with DI in mind, so composing an application is as easy as implementing a custom IControllerFactory and registering it with the framework.

​​Buffering Exploration in ASP.NET MVC 3 - Part 3​​

Xianzhong Zhu, Jan 05, 2011

Views: 2,062 Avg Rating: 0/5 Votes: 0 Comments: 0

In the previous part of this series, we've explored a typical usage of data caching - via a helper class that encapsulates the caching management. And also, we've covered one case of complex caching - file dependencies. In this third part, we will continue to explore the complex caching dependencies - SQL Cache Notification Dependencies.

​​Buffering Exploration in ASP.NET MVC 3 - Part 2​​

Xianzhong Zhu, Jan 03, 2011

Views: 2,425 Avg Rating: 0/5 Votes: 0 Comments: 0

In the first part of this series, we've mainly explored Output Cache related issues. In this second part, however, we are going to delve into the general Data Cache topic.

​​Cache Exploration in ASP.NET MVC 3 - Part 1 ​​

Xianzhong Zhu, Dec 22, 2010

Views: 5,453 Avg Rating: 0/5 Votes: 0 Comments: 0

In this series of articles, we are going to explore as many as possible aspects of cache programming in the latest ASP.NET MVC 3 RC2 framework. And also, all the related samples have been tested against the latest ASP.NET MVC 3 RC 2.

​​Protect ASP.NET MVC 3 Applications Using AntiForgery Helpers​​

Xianzhong Zhu, Dec 17, 2010

Views: 4,050 Avg Rating: 0/5 Votes: 0 Comments: 0

Since ASP.NET MVC 1, CSRF (Cross Site Request Forgery) has been considered by introducing a set of anti-forgery helpers. In this article, we are to detail into CSRF related concepts and ASP.NET MVC's helper functions again CSRF.

​​Experience ASP.NET MVC 3 Beta/RC -the New Dependency Injection Support - Part 2​​

Xianzhong Zhu, Dec 08, 2010

Views: 4,209 Avg Rating: 0/5 Votes: 0 Comments: 1

In the last article, we've mainly discussed the new-styled DI support in ASP.NET MVC 3 Beta/RC in relation to the two new services - IControllerActivator and IViewPageActivator. Obviously, both of them are connected with controllers and views. In this article, however, we will shift our attention to the Model (generally called viewmodal in many blogs) related DI manipulations.

​​Experience ASP.NET MVC 3 Beta/RC -the New Dependency Injection Support - Part 1​​

Xianzhong Zhu, Dec 01, 2010

Views: 4,265 Avg Rating: 0/5 Votes: 0 Comments: 1

Starting from this article, let's explore some more advanced concepts and related utilizations associated with flexible Dependency Injection support introduced in ASP.NET MVC 3 Beta.

​​Experience ASP.NET MVC 3 Beta - New View Helpers Part 2​​

Xianzhong Zhu, Nov 17, 2010

Views: 4,580 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article, we are going to continue to explore the other three important helpers - WebImage, WebMail, and Crypto.

​​Experience ASP.NET MVC 3 Beta - the Unobtrusive jQuery-Based Ajax Support ​​

Xianzhong Zhu, Nov 10, 2010

Views: 4,716 Avg Rating: 0/5 Votes: 0 Comments: 0

In this installment, I'll first tell you a short story about unobtrusive JavaScript. Then, we'll delve into the unobtrusive client-side validation support. Finally, we will research into a more interesting story - the unobtrusive jQuery-Based Ajax support.

​​Experience ASP.NET MVC 3 Beta - New View Helpers Part 1​​

Xianzhong Zhu, Nov 08, 2010

Views: 7,414 Avg Rating: 5/5 Votes: 1 Comments: 0

In addition to the introduction of a new view engine Razor, ASP.NET MVC 3 Beta has also introduced numerous new HtmlHelpers, such as Chart, Crypto, WebGrid, WebImage, WebMail, etc. This article aims to introduce the two commonly-used new helper controls – WebGrid and Chart using relevant examples.