Category: .NET


PostSharp AssemblyLoadException

While using PostSharp I had to manually change external library in references, so the app could use the newest version. It turned out to be more difficult than I thought. Unfortunately, while building the project, an error occurred:


Cassandra with C# Fluent Query Builder

Cassandra is a popular NoSQL database technology which allows an easy configuration of many instances (nodes) providing high scalability and performance. This short article describes how to deal with C# and Cassandra database. Full text is avaliable here


404 Not Found Error when using IIS (7.5)

While deploying a mvc5 application on Windows server 2008 r2, I had an annoying 404 error. The solution was re-register ASP.NET with aspnet_regiis -i with the command prompt: c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i Works like a charm!


Log collector – logging on steroids

Logging is a necessary part of any well-designed system. In this article, I would like to present a component that will make it easier to work with any application logs. In one of my projects, it was the perfect approach...

Simple Backend solution based on Command Pattern

In this post I would like to present a simple backend system based on the Command Design Pattern where each command has own independent scope. While designing a quite complicated system with many different functions – I tried to come...



Few months ago I was preparing to 70-486 MVC exam and I found a great way of exception handling in Exam ref Book. I decided to make a quick note based on this material. Introduction First chance exception is debugging concept...


Global Configuration inProc

In many applications, we are struggling with performance issues. One of the most basic practices is to try to limit database connections, especially where data rarely changes. We can load them once into memory when the application starts and refresh...


Custom action filter attributes in request logging

MVC .NET provides abstract class ActionFilterAttribute with virtual methods: OnActionExecuting Called before the action is called. It gives you the opportunity to look at information within the HttpContext and make decisions about whether the process should continue to be processed....


Power of Resharper shortcuts

ReSharper is an intelligent extension for a Visual Studio that supports C#, XAML, XML, ASP.NET and ASP.NET MVC. Using this tool makes code cleaner and more efficient. It’s not cheap but definitely worth it. Below I put some interesting shortcuts...