Blog Archives

Common authentication/authorization between .NET4.0 and .NET4.5 web applications

ASP.NET Identity is a big step forward and we should profit from its features, such as: two-step authentication, support for OpenId providers, stronger password hashing and claims usage. One of its requirements is .NET4.5 which might be a blocker if

Tagged with: , , , ,
Posted in ASP.NET Security, CodeProject

Collect .NET applications traces with sysinternals tools

In this short post I would like to show you how, with sysinternals tools, you may noninvasively trace .NET applications. This is especially useful in production environment where you can’t install your favorite debugger and hang whole IIS to diagnose

Tagged with: , , , , ,
Posted in CodeProject, Effective logging and tracing in .NET

ASP.NET Anti-Forgery Tokens internals

Anti-Forgery Tokens were introduced in ASP.NET in order to prevent Cross-Site Request Forgeries. There are many sites which describe how to use and configure those tokens in your application. But in this post I’m going to show you what exactly

Tagged with: , , , ,
Posted in ASP.NET Security, CodeProject

Reference Source, dotPeek and source code debugging

Not so long ago Microsoft has made .NET source code browsable through a really nice page: Additionally, they promised that the .NET Framework source code debugging will finally work in Visual Studio. At almost the same time JetBrains published

Tagged with: , , ,
Posted in CodeProject, PDB files usage

LowLevelDesign.NLog.Ext and ETW targets for NLog

I really like the NLog library and I use it pretty often in my projects. Some time ago I wrote a post in which I showed you my preferred debug and production configuration. Other day I presented you a simple

Tagged with: , , , ,
Posted in CodeProject, Logging with NLog

Stopwatch vs. DateTime

.NET developers usually know they should measure code performance using a Stopwatch class from the System.Diagnostics namespace. From time to time though I see code where someone uses DateTime instances for this purpose. And it’s not very surprising as DateTime

Tagged with: , , , ,
Posted in CodeProject, Profiling .NET applications

ASP.NET MVC bundles internals

The idea of minimizing and combining multiple script and style files into one file has been popular among web developers for quite some time. With the 4th version of ASP.NET MVC Microsoft introduced a mechanism (called bundles) that allow .NET

Tagged with: , , ,
Posted in CodeProject, Diagnosing ASP.NET

Get every new post delivered to your Inbox.

Join 40 other followers