Tag Archives: ASP.NET

Swap Your WebHost With OWIN / Katana

The OWIN (Open Web Interface for .NET) specification defines how to decouple web applications from the web server. Detailed information you can get here: http://owin.org Because it’s specification, you won’t find any applications or libraries. One of the concret impelmentations of OWIN is called Katana. Katana is developed by Microsoft and the Community. The code… Read More »

Onion Architecture – C#.NET

If you never heard about the “Onion Architecture”, you should read Jeffrey Palermos blog post. He’s the Onion-Architecture-Guru 😉 I created a very small demo VS.NET solution, which shows how I would apply this type of architecture in a project. (The download link is at the bottom of this post.) The following graph displays the… Read More »

ASP.NET MVC Razor

The new ASP.NET MVC Razor view engine is pretty cool. 🙂 Here are some examples: Namespaces: @using MyProject.Entities Define model type: @using MyProject.Entities @model User Create functions: @functions { public string GetSomething(User usr) { return usr.Name; } } Templating: // In your template <html> … @RenderSection(“MyContent”, true) // true = required <br /> @RenderSection(“MyFooter”, false)… Read More »