DevTrends Blog

The DevTrends technical blog covers .NET, Microsoft Azure, IoC, ASP.NET MVC, Web API, AspNet Core, Open Source releases plus anything else that I find interesting :-)

Displaying page 3 of 5

open source

Taking ownership of Unity.Mvc* and Unity.WebAPI

We are pleased to announce that we have taken ownership of the popular Unity.Mvc* and Unity.WebAPI projects. At FeedbackHound, we use both these libraries in multiple applications so we are very grateful be able to take control and maintain the projects going forward. More »


MvcDonutCaching has a new owner

Following on from the recent post asking for volunteers to take over some of our open source projects, I am pleased to announce that MvcDonutCaching now has a new owner. More »

open source

Open Source Projects Looking For a New Home

For the last 2 years or so we have been maintaining six open source projects together with their associated NuGet packages. We have had a lot of support over that time and have had nearly 100,000 NuGet downloads to date which is fantastic. Unfortunately, other work commitments have meant that very little work has been done to maintain these projects in recent months. Rather than continue this way, I have decided to try and offload some of these packages in the hope that a new owner can devote some more time to them. More »


Azure Web Sites Git Deploy For Multiple Project Solutions

If you are trying to Git deploy a solution with multiple web projects to multiple Windows Azure websites, you will find that it does not work out of the box. This post describes a simple way to workaround this omission by creating a custom deployment script. Don't worry though - it is dead simple. More »

web api

Introducing the Unity.WebAPI NuGet Package

Whilst the IDependencyResolver interface in the new ASP.NET Web API is identical to its in ASP.NET MVC 3+ compatriot, it is nevertheless in a different namespace and assembly and thus, effectively a different interface. Unity.WebAPI brings the functionality of the popular Unity.Mvc3 package to WebAPI, allowing you to inject dependencies into your ApiControllers via Unity and have IDisposable components automatically disposed of at the end of the request. More »


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

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 to your services. More »


Using Unity's automatic factories to lazy load expensive dependencies

Automatic factory support in Microsoft's Unity IoC container is not something new, having been introduced with Unity 2.0 back in 2010. Unfortunately, not many people seem to know about it and the blog post that I used to find out about it is no longer available. This short post explains how to use automatic factories and why they can be useful. More »

open source

What's New In MvcDonutCaching 1.1?

A new version of MvcDonutCaching has just been released with even more features plus several bug fixes. Following user feedback, this release centres on allowing MvcDonutCaching to be used in place of the built-in OutputCache attribute in many common scenarios. This should mean that you can take advantage of the many MvcDonutCaching benefits without losing core OutputCache functionality. V1.1 adds support for non-view action results and cache location specification and also fixes several known bugs. More »


Validating WCF service operations using System.ComponentModel.DataAnnotations

All WCF services operations need some level of parameter validation to ensure that the data passed to the operation is present and correct. Two popular methods are manual checking and the Validation Application Block (VAB) from Enterprise Library. This article discusses another option - using the validation features from System.ComponentModel.DataAnnotations. More »


Book Review - PhoneGap Beginner's Guide

PhoneGap is an interesting framework that allows you to leverage your existing skills in HTML, CSS and JavaScript to create native mobile applications in all of today's popular platforms. This is a review of PhoneGap Beginner's Guide written by Andrew Lunny. More »

View Newer Posts View Older Posts