IC窗口
community.icburner.com
Sign in
|
Join
|
Help
首页
精华文章
媒体
问答
维基百科
圈子
精华
VS2010学习
»
All Tags
»
IoC
(
RSS
)
Browse by Tags
VS2010学习
Home
Syndication
RSS for Posts
Atom
Email Notifications
Go
Recent Posts
Ninject 2 Reaches Beta!
Building Testable ASP.NET MVC Applications
Common Service Locator Library - IServiceLocator Interface Abstracting IoC Containers
UnityContainer and UnityConfigurationSection - Populating Unity Container via App.config or Web.config
Unity IoC Dependency Injection and ASP.NET Model-View-Presenter
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)
DI
Entity Framework
MVC
TDD
Unity
Ninject 2 Reaches Beta!
A month or so ago, I started a spike of a new version of Ninject to test out some ideas that have been floating around in my head. I fully intended to throw it away and integrate what I’d learned into the existing Ninject codebase – but gradually...
Published
2009/7/19 0:52
by
革命
Filed under:
IoC
,
DI
Building Testable ASP.NET MVC Applications
You've probably heard the old adage, " Better , faster , cheaper , pick any two." If you want something good and fast, it isn't going to be cheap, and if you want something fast and cheap, it isn't going to be very good. Cheaper...
Published
2009/7/18 1:27
by
革命
Filed under:
MVC
,
IoC
,
TDD
Common Service Locator Library - IServiceLocator Interface Abstracting IoC Containers
I think it has been a proven practice for some time now to minimize the footprint of your chosen Dependency Injection Tool / Inversion of Control Container in your .NET Applications / Frameworks / Libraries in case someone wants to choose a different...
Published
2009/7/17 16:10
by
革命
Filed under:
Unity
,
IoC
UnityContainer and UnityConfigurationSection - Populating Unity Container via App.config or Web.config
The Unity IoC Tutorials provided to date using the ASP.NET MVC Framework and ASP.NET Model-View-Presenter have programmatically added services and components via the Register and SetSingleton Methods on UnityContainer . In this Unity Tutorial, I will...
Published
2009/7/17 16:04
by
革命
Filed under:
Unity
,
IoC
Unity IoC Dependency Injection and ASP.NET Model-View-Presenter
The Unity IoC Container can be used in your ASP.NET Web Applications to provide dependency injection, especially when using Model-View-Presenter. There are several ways that one can use Unity to wire-up the presenter class and its dependencies to the...
Published
2009/7/17 16:03
by
革命
Filed under:
Unity
,
IoC
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
自定义Unity对象生命周期管理集成ADO.NET Entity Framework
在Unity中,从Unity 取得的实例为 Transient。如果你希望使用多线程方式,就需要在组成时使用lifecycle参数,这时候取出的组件就不再是同一个了。在Unity IOC中,它支持我们对于组件的实例进行控制,也就是说我们可以透明的管理一个组件拥有多少个实例。Unity IOC容器提供了如下几种生命处理方式: # Singleton:一个组件只有一个实例被创建,所有请求的客户使用程序得到的都是同一个实例。 # Transient:这种处理方式与我们平时使用new的效果是一样的...
Published
2009/6/11 13:31
by
革命
Filed under:
Entity Framework
,
Unity
,
IoC