Archive

Posts Tagged ‘Ninject’

Dependency Injection with Windows Workflow Foundation 4 advanced

December 10th, 2010
Daniel Marbach

In this follow up post I try to tackle the more advanced stuff which is possible with the new ninject extension for Windows Workflow Foundation. The goal is to show the following topics:

  • Hooking into the injection chain
  • Possible side effects
  • Changing the extensions behavior
  • Download the extension

read more

 

.NET , ,

Dependency Injection with Windows Workflow Foundation 4 an answer

December 9th, 2010
Daniel Marbach

In my last post I raised the following questions:

  • How do you inject dependencies into activities without having to declare the dependencies as input arguments?
  • How do you build up extensions using DI mechanism?
  • How do you unit test components which host workflow applications or workflow invokers without actually invoking a real workflow?

In this follow up post I try to answer these questions.

read more

 

.NET , ,

How to use the additional Ninject Scopes of NamedScope

December 8th, 2010
Remo Gloor

The Named Scope extension adds the three additional Scopes InCallScope, InNamedScope and InParentScope to Ninject. In this Blogpost I want to explain how they are used. Some parts of this post expect that you have a basic knowledge about the Context Preservation extension. Consider reading my blog post about the Context Preservation Extension before reading this one.

read more

 

.NET ,

Ninject.Extension.ContextPreservation explained

December 8th, 2010
Remo Gloor

In this blog post I explain how the Context Preservation extension works and for what it is used.

read more

 

.NET ,

Ninject and extensions 2.2 RC2 available for download

December 7th, 2010
Remo Gloor

I gladly announce that there is another Release Candidate vor Ninject 2.2 with minor changes available for download at Github.

read more

 

.NET ,

Dependency Injection with Windows Workflow Foundation 4 Introduction

December 6th, 2010
Daniel Marbach

Windows Workflow Foundation 4 offers a comprehensive set of tools to design, create and host your own workflows in your application. Normally when working with WF4 the only way to get your external dependencies into the workflow is by passing the dependencies as arguments to the workflow host such as WorkflowApplication, WorkflowInvoker or WorkflowServiceHost.

read more

 

.NET , ,

Official Ninject MVC extension gets support for MVC3

November 13th, 2010
Remo Gloor

MVC3 added support for Dependency Injection frameworks. To take advantage of these features I did a completely new implementation of the Ninject.Web.Mvc extension. Unlike other existing MVC3 implementations for Ninject, this extension goes further than just adding a IDependencyResolver for Ninject. It has tightly Ninject integrated support for various things such as Filters and Validators.

This post assumes that you have a basic knowledge about MVC, Ninject and Dependency Injection in general.

read more

 

.NET, Architecture , , ,

Agile UI Development in .NET: Tools

October 20th, 2009
Urs Enzler

In the last post, I showed you the big picture of my UI design pattern. Before I can start showing you sample code for the different parts, I need to introduce some tools, which are used to glue all the tiny parts together:

  • Dependency Injection
  • Design By Contract
  • Synchronous and Asynchronous Communication
  • Test Driven Development

read more

 

.NET, Administration, Agile , , , , , , ,