IC窗口
community.icburner.com
Sign in
|
Join
|
Help
首页
精华文章
媒体
问答
维基百科
圈子
精华
June 2009 - VS2010学习
VS2010学习
Home
Syndication
RSS for Posts
Atom
Email Notifications
Go
Recent Posts
Simplifying Entity Framework: Data-Driven Design
T4 Templates: A Quick-Start Guide for ASP.NET MVC Developers
Beginning Mocking With Moq 3
A 26-part series of Business Apps Example for Silverlight 3 & .NET RIA Services July Update
ASP.NET 2.0 Membership, Roles, Forms Authentication, and Security Resources – ScottGu’s Blog
Tags
C#
DDD
EF4
Entity Framework
Entity Framework 4.0
Entity Framework Feature CTP1 for .NET 4.0
Entity Framework v2
IoC
jQuery
Kigg
Kigg系列文章
LINQ to Entities
LINQ to SQL
MVC
MVC2
NerdDinner
Oxite
POCO
T4
TDD
Test
Tip
Unity
VS2010
WPF
View more
Archives
December 2009 (8)
November 2009 (1)
October 2009 (18)
September 2009 (4)
August 2009 (24)
July 2009 (70)
June 2009 (180)
Sort by:
Most Recent
|
Most Viewed
|
Most Commented
ASP.NET MVC Domain Routing
Ever since the release of ASP.NET MVC and its routing engine ( System.Web.Routing ), Microsoft has been trying to convince us that you have full control over your URL and routing. This is true to a certain extent: as long as it’s related to your...
Published
2009/6/30 18:27
by
革命
Filed under:
MVC
A view from the cloud (or: locate your ASP.NET MVC views on Windows Azure Blob Storage)
Hosting and deploying ASP.NET MVC applications on Windows Azure works like a charm. However, if you have been reading my blog for a while, you might have seen that I don’t like the fact that my ASP.NET MVC views are stored in the deployed package...
Published
2009/6/30 18:25
by
革命
Filed under:
MVC
ASP.NET MVC TDD using Visual Studio 2010
Phil Haack announced yesterday that the tooling support for ASP.NET MVC is available for Visual Studio 2010. Troy Goode already blogged about the designer snippets (which are really really cool, just like other parts of the roadmap for ASP.NET MVC 2.0...
Published
2009/6/30 18:15
by
革命
Filed under:
MVC
,
TDD
Revised: ASP.NET MVC and the Managed Extensibility Framework (MEF)
A while ago, I did a blog post on combining ASP.NET MVC and MEF (Managed Extensibility Framework) , making it possible to “plug” controllers and views into your application as a module. I received a lot of positive feedback as well as a hard...
Published
2009/6/30 18:11
by
革命
Filed under:
MVC
,
MEF
Validating with Lambda Expressions
I’ve recently been working on a small library for doing validation with lambda expressions. It allows you to run a set of validators against an object, then collects the validation errors in a list. Here are some examples: var person = new Person...
Published
2009/6/30 17:49
by
革命
Filed under:
C#
Storing ModelState in TempData with ASP.NET MVC
MVC Preview 5 introduced the contept of ModelState for storing validation failures. As the ModelState is part of the ViewData, it is only available for the current request. This means that you cannot redirect to another action in order to show the error...
Published
2009/6/30 15:50
by
革命
Filed under:
MVC
Dependency Injection with ASP.NET MVC Action Filters
Action Filter attributes in ASP.NET MVC are a very nice way of encapsulating logic into small reusable components that can easily be reused across multiple controllers. However, if you need your action filters to do anything complex, injecting services...
Published
2009/6/30 15:50
by
革命
Filed under:
MVC
,
IoC
,
DI
Integrating FluentValidation with MvcContrib’s Fluent Html Helpers
A recent addition to the MvcContrib project are a set of HTML helpers that use a fluent interface written by Tim Scott. One of the great things about these helpers is that you can change how the HTML is rendered by writing custom IMemberBehavior objects...
Published
2009/6/30 15:49
by
革命
Filed under:
MVC
Using ModelState with MvcContrib’s Fluent HTML Helpers
What is ModelState? The ASP.NET MVC ModelState dictionary allows you to record validation errors which can then be displayed in your web page. For example, imagine you add a textbox to a page using the MVC framework’s built-in HTML helpers, then...
Published
2009/6/30 15:48
by
革命
Filed under:
MVC
What is a Controllerless Action?
In a typical ASP.MVC project, a controller maps to a class and and action maps to a method on that class, eg: public class CustomerController : Controller { private CustomerRepository customerRepository; public CustomerRepository...
Published
2009/6/30 15:46
by
革命
Filed under:
MVC
Rewriting the MvcContrib Grid
Over the next couple of weeks I’m hoping to write a few posts on the upgrades I’m doing to the MvcContrib grid component. These are the features that I’m planning on adding: A Fluent Interface Like the HTML-helpers built into the ASP...
Published
2009/6/30 15:46
by
革命
Filed under:
MVC
Using FluentValidation with ASP.NET MVC Opinionated Input Builders
I’ve been following Eric Hexter’s series on using opinionated input builders with ASP.NET MVC and wanted to see whether it would be possible to use his InputBuilder code together with FluentValidation . In Eric’s example, he has a class...
Published
2009/6/30 15:38
by
革命
Filed under:
MVC
db4o POCO Repository using Visual Studio 2010 .Net 4.0 Beta 1 and ASP.Net MVC 1.0
Note: This article applies to beta software and comes with no warranty or support, use at your own discretion. You must have Visual Studio.Net 2010 Beta 1 installed on your machine to make use of the code. KandaAlpha now hosted on CodePlex, download from...
Published
2009/6/30 13:48
by
革命
Filed under:
EF4
,
POCO
,
DDD
Application-wide action filters in ASP.NET MVC
Ever had a team of developers using your ASP.NET MVC framework? Chances are you have implemented some action filters (i.e. for logging) which should be applied on all controllers in the application. Two ways to do this: kindly ask your developers to add...
Published
2009/6/30 12:12
by
革命
Filed under:
MVC
Thread Safety through Self-Loading Collections
Introduction If you are a website programmer, you are developing applications that are multi-threaded (whether you know it or not!). This is wonderful and wicked at the same time. Why, do you ask? Many different users can request the same page with the...
Published
2009/6/28 11:06
by
革命
1
2
3
4
5
Next >
...
Last »