Click here to Skip to main content

Articles by Sebastian Solnica (Articles: 4, Technical Blogs: 38, Tip/Trick: 1)

Articles: 4, Technical Blogs: 38, Tip/Trick: 1

RSS Feed

Average article rating: 4.74

Files and Folders
Utilities
Posted: 25 Aug 2011   Updated: 25 Aug 2011   Views: 11,678   Rating: 4.75/5    Votes: 5   Popularity: 3.31
Licence: The MIT License      Bookmarked: 17   Downloaded: 0
PDB files indexer (using file archive as a repository).
.NET Framework
General
Posted: 13 Oct 2011   Updated: 13 Oct 2011   Views: 11,939   Rating: 4.20/5    Votes: 3   Popularity: 1.96
Licence: The MIT License      Bookmarked: 20   Downloaded: 223
This article explains the details of the session management in NHibernate. It shows you how, using the debugger, you may examine session properties and check if it's opened and closed in a desired way.
Posted: 20 Jun 2014   Updated: 20 Jun 2014   Views: 3,710   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 8   Downloaded: 0
Reference Source, dotPeek and Source Code Debugging
Instrumentation
Posted: 31 May 2012   Updated: 31 May 2012   Views: 7,868   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
I don't need to stress how tracing (logging) is important in any application. Without logs we are often unable to diagnose the cause of the failure. Logs also help us to track the application behavior and usage over time. Fortunately … Continue reading →

Average blogs rating: 4.77

Files and Folders
Memory Mapped Files
Posted: 9 Nov 2010   Updated: 9 Nov 2010   Views: 6,747   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
In this part I will show you how to load module debugging symbols (PDB files) into the debugger and how to bind them with source files. This can’t be achieved without diving into process, thread and module internals so we … Continue reading →
ASP.NET
General
Posted: 20 Jul 2011   Updated: 20 Jul 2011   Views: 107,569   Rating: 4.64/5    Votes: 18   Popularity: 5.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 1,659
The Global.asax file and its role in ASP.NET applications
Posted: 18 Aug 2012   Updated: 18 Aug 2012   Views: 11,057   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In today’s post I will describe different security settings of the application pool and the IIS6 directory. It’s not always easy to guess which permissions must be set on system folders and files in order to make the application run … Continue reading →
Posted: 24 Mar 2013   Updated: 24 Mar 2013   Views: 5,948   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Making elmah.axd, a log viewer for multiple applications.
Posted: 19 Aug 2013   Updated: 19 Aug 2013   Views: 3,682   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
How ASP.NET (MVC) handles exceptions that occur in web applications.
Posted: 16 Feb 2014   Updated: 16 Feb 2014   Views: 8,441   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
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 developers to automate and control this process. Althoug
Posted: 4 Jul 2014   Updated: 7 Jul 2014   Views: 5,799   Rating: 4.67/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 10   Downloaded: 0
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…Read more ›
Posted: 7 Aug 2014   Updated: 7 Aug 2014   Views: 3,633   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 6   Downloaded: 0
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…Read more ›
Utilities
Posted: 13 Jul 2012   Updated: 13 Jul 2012   Views: 14,928   Rating: 4.33/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
ASP.NET Health Monitoring is one of the framework gems that any ASP.NET web developer or web server administrator should be aware of. It provides great monitoring features, often allowing you to rapidly diagnose failing applications or systems. Have you ever … Continue reading →
Session State
Sessions and Session State
Posted: 28 Oct 2010   Updated: 28 Oct 2010   Views: 10,549   Rating: 4.77/5    Votes: 5   Popularity: 3.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Writing a .NET debugger (part 1) – starting the debugging session
Database
General
Posted: 3 May 2010   Updated: 3 May 2010   Views: 4,179   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
In this post, I would like to present you a simple way to implement changelog system for database objects using NHibernate session interceptor and database triggers.
MySQL
Posted: 19 Jul 2013   Updated: 19 Jul 2013   Views: 8,543   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Diagnosing a collation issue in a MySQL stored procedure.
SQL Server
Posted: 16 May 2013   Updated: 16 May 2013   Views: 4,813   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
In this post I will show you an interesting problem that we experienced when querying a SQL Server database with Dapper.
MSIL
General
Posted: 21 Nov 2011   Updated: 24 Nov 2011   Views: 15,686   Rating: 4.97/5    Votes: 20   Popularity: 6.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 0
The article describes how to make a slideshow in a debugger. It may help you understand the PDB api in System.Reflection.Emit as well as impress listeners on any debugging-related presentations:)
.NET Framework
General
Posted: 30 Jul 2014   Updated: 30 Jul 2014   Views: 4,121   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 13   Downloaded: 0
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…Read more ›
How To
Posted: 6 Dec 2012   Updated: 7 Dec 2012   Views: 4,922   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
I recently needed to diagnose an interesting problem with one of our Topshelf’s Windows Services. The service ended in a StopPending state and we needed to kill it in order to make it work again. But before killing the service … Continue reading →
Posted: 20 Nov 2013   Updated: 20 Nov 2013   Views: 5,360   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Some time ago I wrote about ASP.NET Health Monitoring – a logging infrastructure provided by the .NET framework, easily configurable through web.config. In that post I was presenting heart beat and error events. Today I would like to show you how to collect ASP.NET authentication audit logs. T
Instrumentation
Posted: 1 Dec 2010   Updated: 1 Dec 2010   Views: 6,794   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
After the last part, the mindbg debugger stops at the application entry point, has module symbols loaded and displays source code that is being executed. Today we will gain some more control over the debugging process by using breakpoints. Continue reading →
Posted: 20 Apr 2011   Updated: 20 Apr 2011   Views: 21,867   Rating: 4.80/5    Votes: 4   Popularity: 2.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
This article explains how to use the Reference Paths project property to debug open-source libraries referenced by the project.
Posted: 27 Feb 2012   Updated: 27 Feb 2012   Views: 4,721   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
I wrote a simple extension for the MDbg debugger that adds a watch-trace (wt) command to its shell, allowing you to display and customize the method call trees. In this post I’m going to show you how this extension was built and how it can be used.
Posted: 16 Mar 2012   Updated: 16 Mar 2012   Views: 4,262   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
I have been playing recently with the ETW (Event Tracing for Windows). One of my aims was to write a managed provider and try the ETW infrastructure in my application. Everything seemed to be well explained on the MSDN and not very hard to implement (especially in my simple case). Unfortunately not
Posted: 6 Jun 2012   Updated: 6 Jun 2012   Views: 6,763   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
How to configure the SqlDatabaseTraceListener to work with a MySQL database.
Posted: 8 Sep 2012   Updated: 15 Sep 2012   Views: 33,923   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
How to diagnose ADO.NET with ETW traces
Posted: 22 Oct 2012   Updated: 22 Oct 2012   Views: 2,803   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In this post I will show you how to create a very simple Windows Service (I will call it Musketeer) that will collect information about other processes running on a server. Such a tool might be helpful if you host … Continue reading →
Posted: 22 Nov 2012   Updated: 22 Nov 2012   Views: 4,011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This post will be short and is inspired by Robert’s comment under my previous post (Thanks for it!). Robert pointed (and I completely agree) that it might be useful to have application assemblies versions listed in the log output. So … Continue reading →
Posted: 5 Jan 2013   Updated: 5 Jan 2013   Views: 5,454   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
In this post I will describe you an interesting problem that my colleague ran into at work.
Posted: 29 Jan 2013   Updated: 30 Jan 2013   Views: 5,769   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In today’s post I will show you how we fought a pesky compilation problem with Razor views in our ASP.NET MVC application.
Posted: 30 Oct 2012   Updated: 5 Oct 2013   Views: 11,692   Rating: 4.50/5    Votes: 4   Popularity: 2.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
Today’s post is dedicated to NLog – one of the logging libraries available for .NET developers.
Posted: 29 Dec 2013   Updated: 29 Dec 2013   Views: 3,399   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
In this post I will present you my MDbg plugin (includes a command: inject) that adopts the funceval API and an example diagnostics case in which I used it.
Posted: 6 Apr 2014   Updated: 6 Apr 2014   Views: 2,877   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Stopwatch vs. DateTime
Posted: 18 Apr 2014   Updated: 18 Apr 2014   Views: 3,229   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
LowLevelDesign.NLog.Ext and ETW targets for NLog
Windows API
General
Posted: 21 Nov 2013   Updated: 21 Nov 2013   Views: 5,971   Rating: 4.67/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
I wrote this tool to test my .NET applications (including web applications) for memory leaks.
Exception Handling
General
Posted: 28 Oct 2010   Updated: 28 Oct 2010   Views: 7,144   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Writing a .NET debugger (part 2) – Handling events and creating wrappers
Posted: 16 Jun 2012   Updated: 17 Jun 2012   Views: 8,237   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
One way of diagnosing SQL exceptions by using memory dumps.
Debug Tips
General
Posted: 16 Jan 2011   Updated: 16 Jan 2011   Views: 114,135   Rating: 4.78/5    Votes: 13   Popularity: 5.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 36   Downloaded: 0
Remote debugging with Visual Studio 2010
Posted: 16 Jan 2012   Updated: 6 Jul 2012   Views: 21,779   Rating: 4.60/5    Votes: 3   Popularity: 2.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 42
Managed exceptions and the ways we can handle them using Adplus.
Tips
Posted: 10 Dec 2011   Updated: 10 Dec 2011   Views: 17,463   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 0
PDB files out of the debugger
Hardware & System
Utilities
Posted: 20 Apr 2012   Updated: 20 Apr 2012   Views: 11,376   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Performance counters are used to provide information how well the operating system or an application, service, or driver is performing.

Average tips rating: 0.00

Threads, Processes & IPC
General
Posted: 21 Jun 2013   Updated: 22 Jun 2013   Views: 7,829   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Find a performance counter instance by a process ID
No reference articles have been posted.

Sebastian Solnica
Software Developer (Senior)
Poland Poland
Interested in tracing, debugging and performance tuning of the .NET applications (especially ASP.NET).
 
If you find this article interesting, maybe you would like to pay me a visit: http://lowleveldesign.wordpress.com? Smile | :)


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 28 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid