Monthly Archives: December 2013

Creating an MVC5 App with Unity, SLAB and Attribute Routing

This posts explains how to set up an MVC5 application using Unity 3 and Semantic Logging (SLAB). Attribute Routing is used for the controllers. Code: https://github.com/damienbod/MVC5UnitySlab Adding Unity 3 to the MVC5 project Add the NuGet packages to the MVC5 project. Now add the start up logic in the UnityConfig file in the App_Start folder. […]

How to create Strong named assemblies in .NET

This post is a very simple example of how to create strong named assemblies and use in a solution. Each project uses the same strong named key. One key is uesd for the whole solution. Step 1: Create the snk Key Open the Developer Command prompt as an administrator and enter sn -k C:/yourKeyPairName.snk Step […]

How to create a Professional Versioning in a .NET Solution

This post explains the steps in setting up a professional versioning in a .NET solution. Project versioning In solutions, many projects can exist. It is important to structure the project so that when creating a release, all assemblies are set to the release version. This should be set as part of the release build, not […]

.NET, Software Applications Architecture Overview

In this post (in the diagram), an overview of what components can be or should be used when creating modern .NET applications. It displays the components which are becoming more important and the components which are heading towards distinction. Only 3rd party components which can be used productively together with .NET components are shown. For […]

MVC WEB HTTP, HTTPS Application Monitoring Tools

This is just a collection of links, tools for monitoring, testing, tracing, debugging ASP.NET applications. When I have time I’ll evaluate each of the different tools. Health Monitoring and ASP.NET MVC http://msdn.microsoft.com/en-us/library/bb398933.aspx http://msdn.microsoft.com/en-us/library/x28wfk74.aspx http://odetocode.com/blogs/scott/archive/2009/10/12/health-monitoring-and-asp-net-mvc.aspx http://maxivak.com/asp-net-mvc-error-logging/#health http://mattfrear.com/2011/01/28/mvc3-logging-exceptions/ http://researchaholic.com/2012/10/01/health-monitoring-with-asp-net-mvc/ http://www.asp.net/web-forms/tutorials/deployment/deploying-web-site-projects/logging-error-details-with-asp-net-health-monitoring-cs http://mvolo.com/asp-net-health-monitoring-8-years-later/ http://weblogs.asp.net/awilinsk/archive/2008/12/11/handleerrorattribute-and-health-monitoring.aspx http://blogs.msdn.com/b/erikreitan/archive/2006/05/22/603586.aspx Glimpse http://getglimpse.com/ http://elmah4glimpse.codeplex.com/ http://stackoverflow.com/questions/tagged/glimpse http://www.troyhunt.com/2012/01/aspnet-session-hijacking-with-google.html Wolfpack http://wolfpack.codeplex.com/ http://jimblogdog.blogspot.ch/search/label/wolfpack ELMAH http://beletsky.net/2011/03/integrating-elmah-to-aspnet-mvc-in.html http://www.hanselman.com/blog/ELMAHErrorLoggingModulesAndHandlersForASPNETAndMVCToo.aspx http://code.google.com/p/elmah/ http://dotnetslackers.com/articles/aspnet/ErrorLoggingModulesAndHandlers.aspx Firebug […]

MVC loading a dynamic list in a view

This example shows how to create a dynamic list in MVC application. An input event sends an ajax http Get to the controller, the data is created and sent back to the view. The input event uses the jquery.unobtrusive-ajax.js jQuery library to send the http Get to the server. Code: https://github.com/damienbod/MvcDynamicDropdownList The model class for […]