Posts Tagged Unity

Unity 2.0 and Automatic Type Lookup

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 […]

, , , ,

Leave a comment

Unity and SharePoint – Part 3

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 […]

, ,

4 Comments

Intellisense support for unity (and wss/moss) xml files

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 […]

, ,

Leave a comment

Unity and SharePoint – Part 2

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 […]

, ,

Leave a comment

Unity and SharePoint – Part 1

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: […]

, , , , ,

Leave a comment