Click here to Skip to main content
12,401,984 members (56,872 online)

Articles by Sebastian Solnica (Articles: 6, Technical Blogs: 45, Tip/Tricks: 2)

Articles: 6, Technical Blogs: 45, Tip/Tricks: 2

RSS Feed

Average article rating: 4.74

Files and Folders
Utilities
Posted: 25 Aug 2011   Updated: 25 Aug 2011   Views: 16,591   Rating: 4.75/5    Votes: 5   Popularity: 3.31
Licence: The MIT License      Bookmarked: 19   Downloaded: 0
PDB files indexer (using file archive as a repository).
.NET Framework
General
Posted: 13 Oct 2011   Updated: 13 Oct 2011   Views: 19,078   Rating: 4.33/5    Votes: 4   Popularity: 2.53
Licence: The MIT License      Bookmarked: 22   Downloaded: 277
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: 9,424   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 11   Downloaded: 0
Reference Source, dotPeek and Source Code Debugging
Instrumentation
Posted: 31 May 2012   Updated: 31 May 2012   Views: 13,672   Rating: 4.33/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   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 →
Posted: 24 May 2016   Updated: 24 May 2016   Views: 2,350   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Minidumper is a tool which creates compact memory dumps for managed applications. In this article you will find information why it was created, how to use it and what is magic about it :)
Posted: 29 May 2016   Updated: 29 May 2016   Views: 5,390   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 0
It's a set of applications which together built a comprehensive solution for monitoring ASP.NET web applications and Windows services . What's important: it is open source and FREE.

Average blogs rating: 4.77

Files and Folders
Memory Mapped Files
Posted: 9 Nov 2010   Updated: 9 Nov 2010   Views: 8,961   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: 189,740   Rating: 4.69/5    Votes: 26   Popularity: 6.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 1,659
The Global.asax file and its role in ASP.NET applications
Posted: 18 Aug 2012   Updated: 18 Aug 2012   Views: 20,424   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: 9,904   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Making elmah.axd, a log viewer for multiple applications.
Posted: 19 Aug 2013   Updated: 19 Aug 2013   Views: 5,441   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: 25,890   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   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.
Posted: 4 Jul 2014   Updated: 7 Jul 2014   Views: 23,140   Rating: 4.43/5    Votes: 5   Popularity: 3.10
Licence: The MIT License      Bookmarked: 18   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: 8,651   Rating: 4.60/5    Votes: 3   Popularity: 2.39
Licence: The MIT License      Bookmarked: 9   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: 26,678   Rating: 4.43/5    Votes: 5   Popularity: 2.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   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: 15,251   Rating: 4.79/5    Votes: 6   Popularity: 3.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Writing a .NET debugger (part 1) – starting the debugging session
Database
General
Posted: 3 May 2010   Updated: 3 May 2010   Views: 5,090   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   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: 11,393   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: 10,565   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   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: 19,294   Rating: 4.97/5    Votes: 20   Popularity: 6.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   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: 8,102   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 16   Downloaded: 0
How you may noninvasively trace .NET applications with sysinternals tools
Posted: 30 Apr 2015   Updated: 30 Apr 2015   Views: 6,942   Rating: 4.63/5    Votes: 9   Popularity: 4.40
Licence: The MIT License      Bookmarked: 15   Downloaded: 0
A case of a deadlock in a .NET application
How To
Posted: 6 Dec 2012   Updated: 7 Dec 2012   Views: 9,434   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   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: 7,350   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.
Instrumentation
Posted: 1 Dec 2010   Updated: 1 Dec 2010   Views: 9,230   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: 37,183   Rating: 4.80/5    Votes: 4   Popularity: 2.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   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: 6,710   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: 6,511   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).
Posted: 6 Jun 2012   Updated: 6 Jun 2012   Views: 8,910   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: 37,596   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: 4,341   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: 6,841   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: 11,752   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   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: 7,322   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: 20,782   Rating: 4.60/5    Votes: 5   Popularity: 3.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   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: 5,352   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: 5,862   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: 5,412   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
LowLevelDesign.NLog.Ext and ETW targets for NLog
Posted: 8 Mar 2015   Updated: 8 Mar 2015   Views: 15,367   Rating: 4.98/5    Votes: 22   Popularity: 6.69
Licence: The MIT License      Bookmarked: 35   Downloaded: 0
Timeouts when making web requests in .NET
Posted: 2 Sep 2015   Updated: 2 Sep 2015   Views: 3,331   Rating: 4.80/5    Votes: 3   Popularity: 2.39
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Today I would like to share with you an interesting (I hope) diagnostics case in one of our system services. The IngestService (that is its name) was not starting properly for the first time – it was being killed because of exceeding the default 30s timeout.
Posted: 4 Oct 2015   Updated: 4 Oct 2015   Views: 2,601   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Recently while examining a slow request issue (I have a plan to describe this investigation in a seperate post) it came to me that every time I open the Thread Time view it takes a moment to understand what this view actually contains.
Utilities
Posted: 2 Dec 2014   Updated: 2 Dec 2014   Views: 7,220   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The MIT License      Bookmarked: 17   Downloaded: 0
How to debug Windows services written in .NET
Posted: 10 Jul 2015   Updated: 10 Jul 2015   Views: 3,060   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
NetExt – SOS on Steroids
Windows API
General
Posted: 21 Nov 2013   Updated: 21 Nov 2013   Views: 12,885   Rating: 4.80/5    Votes: 3   Popularity: 2.23
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: 8,951   Rating: 5.00/5    Votes: 3   Popularity: 2.39
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: 10,943   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: 167,215   Rating: 4.76/5    Votes: 18   Popularity: 5.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 44   Downloaded: 0
Remote debugging with Visual Studio 2010
Posted: 16 Jan 2012   Updated: 6 Jul 2012   Views: 25,872   Rating: 4.60/5    Votes: 3   Popularity: 2.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 42
Managed exceptions and the ways we can handle them using Adplus.
Tips
Posted: 10 Dec 2011   Updated: 10 Dec 2011   Views: 22,265   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 0
PDB files out of the debugger
Posted: 4 Jul 2016   Updated: 4 Jul 2016   Views: 1,640   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
.natvis files and type templates in WinDbg
Hardware & System
Utilities
Posted: 20 Apr 2012   Updated: 20 Apr 2012   Views: 18,126   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: 4.00

.NET Framework
Instrumentation
Posted: 22 Jun 2015   Updated: 22 Jun 2015   Views: 3,561   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
This post is the second and final one dedicated to debugging .NET Windows services.
Threads, Processes & IPC
General
Posted: 21 Jun 2013   Updated: 22 Jun 2013   Views: 11,412   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.

My twitter: @lowleveldesign
My website: http://www.lowleveldesign.org


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 27 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid