Piotr Łuksza Gosu Code | Programmer Blog

Music chunk Piotr Łuksza 0

Music chunk November 2014

Guns N’ Roses – You Could Be Mine Guns N’ Roses – Paradise City Metallica – I Disappear Rammstein – Sonne Rammstein – Stalingrad Die Toten Hosen – Pushed Again Disturbed – Land of Confusion SONATA ARCTICA – Paid In...

LogController C# 2

Log collector – logging on steroids

I would like to present a solution that will make it easier to work with any application logs and convenient way to help monitor the work of program. This solution is based on ILogCollector interface. Main features of component: contains three groups...

first 0

FIRST CHANCE Exceptions

Few months ago I was preparing to 70-486 MVC exam and i found great issue of exception handling in Exam ref Book and decided to create this note. Introduction First chance exception is debugging concept to handle exceptions before they have...

tsql 0

TSQL Merge statement

SQl Server 2008 offers us an interesting feature called MERGE function that allows you to perform multiple actions in one query. I noticed, however, that many of my fellow programmers never did not use it. That is why I decided to...

global 0

Global Configuration inProc

In many applications, we try to limit database connections, especially where data rarely change. We can load them once into memory when application starts and refresh only on demand. Such an example can be a table configuration in which we...

filesystem 0

FileSystemWatcher with ASP .NET MVC 4

One day I had very nice task to do. My Mvc app had to process ZIP pack, which was provided to special folder by cilent. The file was containing some important files, but this does not really matter. When the file appears, it...

custom 0

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....

jquery 0

JQuery UI dialog open – good practice

JQuery dialog is popular plugin, but sometimes it doesn’t work as we want to. I had a situation where my modal window pop up always third time and I had no idea why… Event for my button was binded well...