Category Unity
Windows 8 App using Unity 3 IoC
Unity.3.0.1304.1 now supports Windows 8 Apps with the Microsoft.Practices.Unity.NetCore assembly. This is a reduced set of features compared with the full version of Unity. This blog demonstates how this IoC container could be used with a default Windows 8 App. Step 1: Get Unity using nuget: Step 2: Create a UnityHelper class which will be […]
MVC real time Diagnosis using SignalR
UPDATED 2014.04.12: latest version of SignalR used and all other packages. The idea of this example is to create a simple SignalR service, so that all Log messages can be sent to a client browser in real time. In the example, EventSource classes are used to send the logs to the ETW. Semantic Logging OUT-OF-PROCESS […]
Enterprise Library 6, Unity 3, MVC, Validation with Interception ValidationCallHandler Part 5
This post continues on from the previous post. Part 4 Enterprise Library 6, Unity 3 InterfaceInterceptor with MVC 4 In this post a validation call handler will be added using unity 3 with VirtualMethodInterceptor and enteprise library Policy Injection. Enterprise library 6 has the following call handlers (Out of the box): AuthorizationCallHandler ExceptionCallHandler LogCallHandler PerformanceCounterCallHandler […]
Enterprise Library 6, Unity 3 InterfaceInterceptor with MVC 4, Part 4
This post continues on from the previous post. Part 3 Enterprise Library 6, Unity 3 and MVC 4, Registration by Convention Part 3 Microsoft.Practices.Unity.Interception Unity provides both instance and type interception, and enables interception with either objects you resolve through the container, or by using the stand-alone API to explicitly invoke interception on a known […]
Enterprise Library 6, Unity 3 and MVC 4, Registration by Convention Part 3
This post continues on from the previous post. Part 2 Enterprise Library 6, Unity 3 and MVC 4, LifetimeManagers Part 2 The MVC application with unity is starting to take shape. It would be better if the registration by convention method could select which interfaces with which lifetime manager should be registered and only the […]
