Piotr Łuksza Gosu Code | Programmer Blog

0

FIRST CHANCE Exceptions

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

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 did not use it. That is why I decided to...

0

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

0

FileSystemWatcher with ASP .NET MVC 4

My MVC app had to process ZIP pack, which was provided to a special folder by external source. The file was containing some data which should be processed by my system. At the time the file appeared, the system should immediately start...

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

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

4

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