Posts Tagged Unity
Unity 2.0 and Automatic Type Lookup
Posted by Johan Leino in C# on November 9, 2010
I just recently started to use the new unity 2.0 release and I thought I´d share an example of using the new automatic type lookup feature that was introduced with this release. A simple example Let´s say I´ve got the following solution structure in Visual Studio: Unity.Model– has the contract/interface ICustomerServices Unity.Infrastructure – has the […]
Unity and SharePoint – Part 3
Posted by Johan Leino in C#, SharePoint on March 12, 2009
Ok, this time I´ll be a little bit more hands on, I hope. The previous posts have been about Dependency Injection and Inversion of Control in general and then how to configure unity with xml. Here are the links to those previous post Unity and SharePoint – Part 2 Unity and SharePoint – Part 1 […]
Intellisense support for unity (and wss/moss) xml files
Posted by Johan Leino in Visual Studio on February 25, 2009
Andrew Connell has written about how to add intellisense support for when editing the SharePoint xml files. I have made an effort to include that support and also support for Unity config files. Firstly, a copy of the unity.xsd file is copied to “12/TEMPLATE/XML” and secondly I made an update to the custom catalog.xml file […]
Unity and SharePoint – Part 2
Posted by Johan Leino in C#, SharePoint on January 12, 2009
In the previous article about Unity and SharePoint I showed you about the basics of dependency injection and we touched a little bit about how to use unity. What we didn´t look at was how to configure the Unity framework. In this post we´ll go into that. Unity and SharePoint – Part 1 Unity and SharePoint […]
Unity and SharePoint – Part 1
Posted by Johan Leino in C#, SharePoint on January 10, 2009
I thought I would start a new blog post series about how to use dependency injection in SharePoint, and more specific the Patters and Practices implementation of such a pattern, Unity. Unity and SharePoint – Part 2 Unity and SharePoint – Part 3 Here are some useful links along the lines of this topic: How To: […]