DotNetShoutout - Stories tagged with IoC
13
Shouts

Introducing Unity.WCF - providing easy IoC integration for your WCF services

published 481 days, 15 hours, 23 minutes ago posted by devtrendsdevtrends 490 days, 17 hours, 8 minutes ago
Friday, January 27, 2012 6:15:02 PM GMT Wednesday, January 18, 2012 4:29:28 PM GMT
There are numerous blog posts available that explain how to hook up Unity with WCF. Unfortunately, many of these are incomplete, too basic or just plain wrong. Additionally, as far as I can tell, nobody has created a NuGet package to get you up and running as quickly as possible. This post introduces Unity.WCF, an open source NuGet package that (hopefully) just works in most situations, deals with cleaning up IDisposable instances and also provides a nice mechanism for automatically adding WCF behaviors ... (more)
category: Web Dev | clicked: 114 | 2 comments | | source: www.devtrends.co.uk
tags: Unity, IoC, Dependecy Injection, WCF
5
Shouts

Inversion of Control Containers - Things Every Senior .NET Developer Should Know, Part 3

published 514 days, 1 hour, 22 minutes ago posted by Matt_TCFMatt_TCF 517 days, 7 hours, 46 minutes ago
Monday, December 26, 2011 8:15:27 AM GMT Friday, December 23, 2011 1:51:34 AM GMT
Think you're a senior developer? Not yet senior, but interested in taking the next step? Today’s topic in the "Things Every Senior .NET Developer Should Know" series will cover Dependency Injection, Inversion of Control containers, and my favorite Inversion of Control container, StructureMap. (more)
category: How To | clicked: 49 | 1 comment | | source: trycatchfail.com
tags: IoC, Inversion of control, Patterns, dependency injection, StructureMap
2
Shouts

Validating UnityContainer configuration

posted by http://byteflux.myopenid.com/http://byteflux.myopenid.com/ 596 days, 3 hours, 58 minutes ago
Wednesday, October 05, 2011 5:39:59 AM GMT
In one of my recent projects I have reached the need to validate that I have all dependencies correctly registered in my UnityContainer. For those that are not familiar with Unity, it is a dependency injection container that allows constructor, property and method call dependency injection. You can get more information about how Unity works and also download the latest release from Codeplex: http://unity.codeplex.com... (more)
category: How To | clicked: 13 | comment | | source: byteflux.me
tags: Unity, IoC, Validation, Inversion of control, C#, TDD, Test, dependency injection, DI
3
Shouts

How not to do dependency injection - the static or singleton container

published 677 days, 22 hours, 32 minutes ago posted by devtrendsdevtrends 680 days, 20 hours, 30 minutes ago
Friday, July 15, 2011 11:05:20 AM GMT Tuesday, July 12, 2011 1:07:52 PM GMT
Dependency injection and the use of IoC containers is becoming more and more popular but many development teams do not have the knowledge or experience necessary to fully utilise the power of the IoC container. In the next few posts, we will take a look at the most common mistakes and how to address them. In this post, we are going to talk about the static or singleton container and why this 'pattern' is such a bad idea. (more)
category: Architecture | clicked: 40 | comment | | source: devtrends.co.uk
tags: Unity, IoC, DI/IoC, ioc container, DI
4
Shouts

Configuration Settings Are A Dependency That Should Be Injected

posted by devtrendsdevtrends 766 days, 14 hours, 46 minutes ago
Sunday, April 17, 2011 6:51:08 PM GMT
Dependency Injection does not just apply to obvious dependencies such as repositories and logging components. It is very important to inject ALL dependencies including the less obvious ones. In my experience, one of the most overlooked areas is configuration. Many people seem perfectly happy to extract settings from config deep within their code. This is plain wrong. If you need to reference an AppSetting in your business logic, inject it. If you need a connection string in your data access code, inject ... (more)
category: Web Dev | clicked: 2 | comment | | source: devtrends.co.uk
tags: IoC, Dependecy Injection
9
Shouts

MSDN Magazine: Cutting Edge - Application Extensibility: MEF vs. IoC - Dino Esposito

published 795 days, 6 hours, 10 minutes ago posted by iftekharahmedamitiftekharahmedamit 797 days, 17 hours, 59 minutes ago
Sunday, March 20, 2011 3:27:49 AM GMT Thursday, March 17, 2011 3:38:37 PM GMT
There’s an interesting new component in the Microsoft .NET Framework 4 specifically designed to provide an effective answer to an evergreen question: How would you write extensible applications that can discover at run time all the parts they’re made of? As Glenn Block explained in his February 2010 article, “Building Composable Apps in .NET 4 with the Managed Extensibility Framework” (msdn.microsoft.com/magazine/ee291628), the Managed Extensibility Framework (MEF) can be used to streamline building com... (more)
category: Architecture | clicked: 33 | comment | | source: msdn.microsoft.com
tags: IoC, MEF, MSDN Magazine, Extensibility
5
Shouts

Do not implement IControllerActivator in ASP.NET MVC 3

published 802 days, 6 hours, 32 minutes ago posted by devtrendsdevtrends 803 days, 12 hours, 9 minutes ago
Sunday, March 13, 2011 3:05:45 AM GMT Friday, March 11, 2011 9:28:24 PM GMT
ASP.NET MVC 3 introduces two new interfaces to allow simple integration of IoC containers into the MVC pipeline, allowing many different types to be resolved using your IoC container of choice. These interfaces are IDependencyResolver and IControllerActivator but before you go ahead and implement both, ... (more)
category: Web Dev | clicked: 27 | 1 comment | | source: devtrends.co.uk
tags: ASP.NET MVC 3, IoC, IControllerActivator
10
Shouts

Dependency Injection in ASP.NET MVC 3 using DependencyResolver and ControllerActivator - Shiju Varghese's Blog

published 847 days, 14 hours, 15 minutes ago posted by http://shijucv.myopenid.com/http://shijucv.myopenid.com/ 850 days, 5 hours, 50 minutes ago
Wednesday, January 26, 2011 7:22:06 PM GMT Monday, January 24, 2011 3:47:29 AM GMT
In my previous examples for dependency injection in ASP.NET MVC, I have used an approach where creating a custom controller factory deriving from DefaultControllerFactory and override the GetControllerInstance method for dependency injection. But ASP.NET MVC 3 is providing great support for dependency injection with very nice abstraction. In this post, I will demonstrate how to achieve dependency injection using two interfaces introduced in ASP.NET MVC 3 - IDependencyResolver and IControllerActivator. Un... (more)
category: Web Dev | clicked: 15 | 2 comments | | source: weblogs.asp.net
tags: Unity, ASP.NET MVC 3, ASP.NET MVC, IoC, ASP.NET
3
Shouts

Using Inversion of Control in MonoDroid Applications

published 868 days, 15 hours, 26 minutes ago posted by gshacklesgshackles 870 days, 20 hours, 56 minutes ago
Wednesday, January 05, 2011 6:11:52 PM GMT Monday, January 03, 2011 12:41:13 PM GMT
Just because a mobile application needs to be (or should be, in most cases) small and lightweight doesn’t mean we should set aside best practices like Inversion of Control containers when building our apps. With so many options out there for .NET containers, which ones should we use? In this article I’ll go over some good options I’ve found for using dependency injection in MonoDroid applications. (more)
category: Architecture | clicked: 12 | comment | | source: www.gregshackles.com
tags: Mono, IoC, Inversion of control, Funq, tinyioc, dependency injection, Android
8
Shouts

A Basic IoC Container (C#)

published 942 days, 12 hours, 10 minutes ago posted by BlackWaspBlackWasp 944 days, 12 hours, 50 minutes ago
Saturday, October 23, 2010 9:27:43 PM GMT Thursday, October 21, 2010 8:47:16 PM GMT
Inversion of control (IoC) containers provide a specialised form of the service locator pattern that simplifies the way in which dependencies are registered and later resolved. This article describes how to create a basic IoC container using generics. (more)
category: How To | clicked: 4 | comment | | source: www.blackwasp.co.uk
tags: IoC, C#, Design Patterns
8
Shouts

Dependency Injection for Filters in MVC3

published 950 days, 18 hours, 46 minutes ago posted by JemmJemm 952 days, 23 hours, 40 minutes ago
Friday, October 15, 2010 2:51:37 PM GMT Wednesday, October 13, 2010 9:57:45 AM GMT
One of the new features of the Dependency Inject (DI) components from MVC3 is something called a IFilterProvider.  The purpose of this component is to provide a simpler way for MVC applications to interact with filters (action, exception, result, etc.). In the previous versions, trying to achieve something like providing DI support to filters was doable, it just required deeper integration into the MVC runtime. (more)
category: Web Dev | clicked: 1 | comment | | source: lozanotek.com
tags: IoC, ASPNETMVC, asp.net mvc 3.0, DI
9
Shouts

Dean Hume - Vote for your favourite .NET DI (IoC) Framework

published 968 days, 21 hours, 47 minutes ago posted by deanomachinodeanomachino 970 days, 22 hours, 19 minutes ago
Monday, September 27, 2010 11:50:34 AM GMT Saturday, September 25, 2010 11:18:12 AM GMT
Vote for your favourite .NET DI (IoC) Framework I've started to take a look at Dependency Injection Containers (IoC), mostly because we have started using them where I work and also just out of general interest and trying to get my mind around how they work. From wikipedia:  Inversion of control, or IoC, is an abstract principle describing an aspect of some software architecture designs in which the flow of control of a system is inverted in comparison to procedural programming. In tradit... (more)
category: Web Dev | clicked: 0 | comment | | source: www.deanhume.com
tags: IoC, .NET, C#, vote, DI
5
Shouts

Inversion of control (IOC containers) .NET IOC patterns

posted by http://agafonovslava.blogspot.com/http://agafonovslava.blogspot.com/ 978 days, 22 hours, 8 minutes ago
Friday, September 17, 2010 11:29:05 AM GMT
IoC is not a new concept, however. It has been around for several years now. Using object-oriented design principles and features such as interface, inheritance, and polymorphism, the IoC pattern enables better software design that facilitates reuse, loose coupling, and easy testing of software components. This article discusses IoC and demonstrates how to use this pattern in your software design without having to implement any of the open source frameworks. (more)
category: Architecture | clicked: 24 | comment | | source: blog.agafonov.net.ua
tags: Unity, IoC, S2Container.NET, Spring.NET, LinFu, Ninject, tinyioc, Hiro, Autofac, LightCore, Puzzle.NET, StructureMap, Castle Windsor, PicoContainer.NET
9
Shouts

Scott Hanselman - Hanselminutes Podcast 217 - MVC Turbine and IoC made easy with Javier Lozano

published 1070 days, 20 hours, 1 minute ago posted by rajuraju 1072 days, 21 hours, 28 minutes ago
Thursday, June 17, 2010 1:36:18 PM GMT Tuesday, June 15, 2010 12:09:23 PM GMT
My two-hundred-and-seventeenth podcast is up. Scott talks to Javier Lozano about his open source MVC Turbine project and how it makes Dependency Injection and inversion of control extremely easy. These concepts can be tricky to jump into and usually require custom code in your app. MVC Turbine makes it easy to get up and running in minutes with ASP.NET MVC and IoC... (more)
category: Podcast | clicked: 0 | comment | | source: www.hanselman.com
tags: ASP.NET MVC, IoC, MVC
6
Shouts

HanselMinutes - Show #217 - MVC Turbine and IoC made easy with Javier Lozano

published 1074 days, 23 hours, 9 minutes ago posted by rajuraju 1076 days, 7 hours, 42 minutes ago
Sunday, June 13, 2010 10:28:14 AM GMT Saturday, June 12, 2010 1:55:24 AM GMT
Scott talks to Javier Lozano about his open source MVC Turbine project and how it makes Dependency Injection and inversion of control extremely easy. These concepts can be tricky to jump into and usually require custom code in your app. MVC Turbine makes it easy to get up and running in minutes with ASP.NET MVC and IoC. (more)
category: Podcast | clicked: 1 | 1 comment | | source: www.hanselminutes.com
tags: ASP.NET MVC, IoC, HanselMinutes, MVC
6
Shouts

Dependency Injection in ASP.NET MVC NerdDinner App using Unity 2.0 - Shiju Varghese's Blog

published 1111 days, 1 hour, 59 minutes ago posted by http://shijucv.myopenid.com/http://shijucv.myopenid.com/ 1112 days, 3 hours, 13 minutes ago
Saturday, May 08, 2010 7:38:35 AM GMT Friday, May 07, 2010 6:24:18 AM GMT
In my previous post Dependency Injection in ASP.NET MVC NerdDinner App using Ninject, we did dependency injection in NerdDinner application using Ninject. In this post, I demonstrate how to apply Dependency Injection in ASP.NET MVC NerdDinner App using Microsoft Unity Application Block (Unity) v 2.0. Unity 2.0 Unity 2.0 is available on Codeplex at http://unity.codeplex.com . In earlier versions of Unity, the ObjectBuilder generic dependency injection mechanism, was distributed as a separate assembl... (more)
category: Web Dev | clicked: 5 | 3 comments | | source: weblogs.asp.net
tags: Unity, ASP.NET MVC, IoC, ASP.NET MVC 2, NerdDinner, ASP.NET
7
Shouts

AOP With Unity 2.0 - 3

published 1113 days, 23 hours, 49 minutes ago posted by xunilrjxunilrj 1116 days, 13 hours, 47 minutes ago
Wednesday, May 05, 2010 9:48:26 AM GMT Sunday, May 02, 2010 7:50:50 PM GMT
In the first post i showed a framework for Aspect-Oriented Programming ( AOP ) using only a proxy generator and a Unity 2.0. In this post i want to show the advances of the framework. Injection in properties. (more)
category: Architecture | clicked: 1 | comment | | source: www.machinaaurum.com.br
tags: Unity, IoC, C#, AOP
4
Shouts

Dependency Injection in ASP.NET MVC NerdDinner App using Ninject - Shiju Varghese's Blog

published 1118 days, 2 hours, 5 minutes ago posted by http://shijucv.myopenid.com/http://shijucv.myopenid.com/ 1119 days, 32 minutes ago
Saturday, May 01, 2010 7:32:38 AM GMT Friday, April 30, 2010 9:05:40 AM GMT
In this post, I am applying Dependency Injection to the NerdDinner application using Ninject. The controllers of NerdDinner application have Dependency Injection enabled constructors. So we can apply Dependency Injection through constructor without change any existing code. A Dependency Injection framework injects the dependencies into a class when the dependencies are needed. Dependency Injection enables looser coupling between classes and their dependencies and provides better testability of an applica... (more)
category: Web Dev | clicked: 2 | 1 comment | | source: weblogs.asp.net
tags: ASP.NET MVC, IoC, Ninject, ASP.NET MVC 2, Ninject 2
7
Shouts

Silverlight, M-V-VM ... and IoC - part 4

published 1119 days, 22 hours, 29 minutes ago posted by Guardian11Guardian11 1120 days, 15 hours, 58 minutes ago
Thursday, April 29, 2010 11:08:29 AM GMT Wednesday, April 28, 2010 5:39:03 PM GMT
Silverlight, MVVM and IoC, part 4; refactoring of the View and the ViewModel to use the new Silverlight 4 support for Commanding. We're moving towards a pure implementation of the MVVM pattern with every element resolved through IoC. (more)
category: Metro | clicked: 0 | comment | | source: www.primordialcode.com
tags: IoC, Silverlight, MVVM
3
Shouts

AOP With Unity 2.0 - 2

posted by xunilrjxunilrj 1146 days, 15 hours, 38 minutes ago
Friday, April 02, 2010 5:59:57 PM GMT
In the first post i showed a framework for Aspect-Oriented Programming ( AOP ) using only a proxy generator and a Unity 2.0. In this post i want to show the advances of the framework. (more)
category: Architecture | clicked: 1 | comment | | source: www.machinaaurum.com.br
tags: Unity, IoC, C#, AOP
Previous 1 2 Next