Get the executing assembly of a web app referencing a class library

05 Sep 2013 .Net, C#, MVC No Comments

I needed to check that any web app that was referencing my class library was giving me a valid controller and action name in some settings in its web.config, so that when I used them in a redirection there would be no errors because they did not exist. When I used to

Continue reading →

Downgrading an MVC4 project from .Net 4.5 to .Net 4.0

25 Jun 2013 .Net, Visual Studio No Comments

I recently created a new project in Visual Studio 2012 and didn't really think much about the .Net version (mistake!). It turns out that the server it is destined for is still MS Server 2003, which will not run .Net 4.5. Oh dear. So I Googled downgrading, and the process of

Continue reading →