Click here to Skip to main content

Articles by Sebastian Solnica (Articles: 3, Technical Blogs: 27)

Articles: 3, Technical Blogs: 27

RSS Feed

Average article rating: 4.65

Files and Folders

Sourcepack (indexing PDB files with source archive file)
Posted: 25 Aug 2011   Updated: 25 Aug 2011   Views: 7,996   Rating: 4.75/5    Votes: 5   Popularity: 3.31
Licence: The MIT License      Bookmarked: 13   Downloaded: 0
PDB files indexer (using file archive as a repository).

.NET Framework

Debugging NHibernate: Session Management
Posted: 13 Oct 2011   Updated: 13 Oct 2011   Views: 7,430   Rating: 4.20/5    Votes: 3   Popularity: 1.96
Licence: The MIT License      Bookmarked: 20   Downloaded: 180
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.
Grouping application traces using ActivityId (System.Diagnostics)
Posted: 31 May 2012   Updated: 31 May 2012   Views: 4,022   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   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.73

Files and Folders

Writing a .net debugger (part 3) – symbol and source files [Technical Blog]
Posted: 9 Nov 2010   Updated: 9 Nov 2010   Views: 5,340   Rating: 5.00/5    Votes: 3   Popularity: 2.39
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

Global.asax in ASP.NET [Technical Blog]
Posted: 20 Jul 2011   Updated: 20 Jul 2011   Views: 52,990   Rating: 4.80/5    Votes: 10   Popularity: 4.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 1,113
The Global.asax file and its role in ASP.NET applications
Application Pool identity and Directory Security in IIS6 [Technical Blog]
Posted: 18 Aug 2012   Updated: 18 Aug 2012   Views: 5,403   Rating: 5.00/5    Votes: 1   Popularity: 0.00
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 →
Making elmah.axd, a log viewer for multiple applications [Technical Blog]
Posted: 24 Mar 2013   Updated: 24 Mar 2013   Views: 2,921   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Making elmah.axd, a log viewer for multiple applications.
ASP.NET Health Monitoring [Technical Blog]
Posted: 13 Jul 2012   Updated: 13 Jul 2012   Views: 7,654   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   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

Writing a .NET debugger (part 1) – Starting the debugging session [Technical Blog]
Posted: 28 Oct 2010   Updated: 28 Oct 2010   Views: 8,036   Rating: 3.50/5    Votes: 2   Popularity: 1.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Writing a .NET debugger (part 1) – starting the debugging session

Database

Changelog for domain objects [Technical Blog]
Posted: 3 May 2010   Updated: 3 May 2010   Views: 3,435   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.
Be careful with varchars in Dapper! [Technical Blog]
Posted: 16 May 2013   Updated: 16 May 2013   Views: 2,624   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 an interesting problem that we experienced when querying a SQL Server database with Dapper.

MSIL

Forget PowerPoint – make a slideshow in… a debugger :) [Technical Blog]
Posted: 21 Nov 2011   Updated: 24 Nov 2011   Views: 13,271   Rating: 4.97/5    Votes: 20   Popularity: 6.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   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

Topshelf’s Windows Service and try-finally [Technical Blog]
Posted: 6 Dec 2012   Updated: 7 Dec 2012   Views: 2,226   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 →
Writing a .NET debugger (part 4) – breakpoints [Technical Blog]
Posted: 1 Dec 2010   Updated: 1 Dec 2010   Views: 5,209   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 →
Take advantage of Reference Paths in Visual Studio and debug locally referenced libraries [Technical Blog]
Posted: 20 Apr 2011   Updated: 20 Apr 2011   Views: 13,907   Rating: 4.67/5    Votes: 3   Popularity: 2.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This article explains how to use the Reference Paths project property to debug open-source libraries referenced by the project.
Mdbg watch-trace extension [Technical Blog]
Posted: 27 Feb 2012   Updated: 27 Feb 2012   Views: 2,996   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.
A managed ETW provider and the 15002 error [Technical Blog]
Posted: 16 Mar 2012   Updated: 16 Mar 2012   Views: 3,025   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   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
Using MySQL database to save .NET traces [Technical Blog]
Posted: 6 Jun 2012   Updated: 6 Jun 2012   Views: 4,795   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.
Diagnosing ADO.NET with ETW Traces [Technical Blog]
Posted: 8 Sep 2012   Updated: 15 Sep 2012   Views: 31,751   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
How to diagnose ADO.NET with ETW traces
Introducing Musketeer – the performance counter data collector [Technical Blog]
Posted: 22 Oct 2012   Updated: 22 Oct 2012   Views: 1,466   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 →
To log or NLog [Technical Blog]
Posted: 30 Oct 2012   Updated: 5 Nov 2012   Views: 3,966   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Today’s post is dedicated to NLog – one of the logging libraries available for .NET developers.
NLog LayoutRenderer for assembly version [Technical Blog]
Posted: 22 Nov 2012   Updated: 22 Nov 2012   Views: 2,109   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 →
MSBuild: MSB3275 warning, GAC and .NET version [Technical Blog]
Posted: 5 Jan 2013   Updated: 5 Jan 2013   Views: 2,708   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.
Diagnosing ASP.NET views compilation with FrontMan [Technical Blog]
Posted: 29 Jan 2013   Updated: 30 Jan 2013   Views: 4,273   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.

Exception Handling

Writing a .NET debugger (part 2) – Handling events and creating wrappers [Technical Blog]
Posted: 28 Oct 2010   Updated: 28 Oct 2010   Views: 5,738   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Writing a .NET debugger (part 2) – Handling events and creating wrappers
Read last executed SQL statement from a memory dump [Technical Blog]
Posted: 16 Jun 2012   Updated: 17 Jun 2012   Views: 6,186   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

Remote debugging with Visual Studio 2010 [Technical Blog]
Posted: 16 Jan 2011   Updated: 16 Jan 2011   Views: 71,178   Rating: 4.60/5    Votes: 8   Popularity: 4.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 0
Remote debugging with Visual Studio 2010
Adplus: Handling managed exceptions [Technical Blog]
Posted: 16 Jan 2012   Updated: 6 Jul 2012   Views: 19,001   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 42
Managed exceptions and the ways we can handle them using Adplus.
PDB files out of the debugger [Technical Blog]
Posted: 10 Dec 2011   Updated: 10 Dec 2011   Views: 14,174   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
PDB files out of the debugger

Hardware & System

Diagnosing applications using Performance Counters [Technical Blog]
Posted: 20 Apr 2012   Updated: 20 Apr 2012   Views: 6,735   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Performance counters are used to provide information how well the operating system or an application, service, or driver is performing.
No tips 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
Web03 | 2.6.130617.1 | Last Updated 19 Jun 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid