Monthly Archives: July 2014

quick owin self host for web api

Pretty much laid out here: http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api. There are some errors though… 1) Create a Console App 2) Add the Microsoft.AspNet.WebApi.Core  nuget 3) Add the Microsoft.AspNet.WebApi.OwinSelfHost  nuget 4) Code For the Program.cs, something like this:     class Program { static void … Continue reading

Posted in Uncategorized | Leave a comment

Easy way to code gen in .net

Excerpt from Inject Controller Libraries Dynamically at Runtime in ASP.NET Web API using Custom Assembly Resolvers Next we have the crux of the dll, the code to generate dll at runtime. The CreateDll method is in the WebApiGenerator.dll itself. – … Continue reading

Posted in Uncategorized | Leave a comment