Creating a W3WP Memory dump on Windows Server 2003

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-12-creating-a-w3wp-memory-dump-on-windows-server-2003.html On a web server with multiple application pools, there most likely will be multiple W3WP processes.  Therefore, the first action to take when creating a memory dump of a W3WP worker process is to find which one you need to get the dump of….

4

Finding the W3WP worker process PID and associated ID

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-12-finding-the-w3wp-worker-process-pid-and-associated-id.html When you have multiple websites running under different application pools on the same server, you may need to trouble shoot a specific worker process. On Windows 2003 and Internet Information Services 6 (IIS6), I use the iisapp.vbs script as shown in following command, as…

5

Setting up performance counters for ASP.NET

ASP.NET Benjamin Perkins
ASP.NET Benjamin Perkins

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-11-setting-up-performance-counters-for-asp-net.html Troubleshooting a performance problem can be very complicated.  Unfortunately, in many cases you prepare and begin learning about how to fix a performance problem when it is happening or just after a performance problem.  The fact is, you need to monitor your system and…

4

Modify the Request Queue Limit, requestQueueLimit or Queue Length in IIS 7

This article has been moved to its new home here:  https://benperk.github.io/msdn/2011/2011-11-modify-the-request-queue-limit-requestqueuelimit-or-queue-length-in-iis.html When optimizing and tuning an ASP.NET application you may want to increase the value of the requestQueueLimit.  The requestQueueLimit is the maximum number of requests that can be queued by an ASP.NET process before errors get returned to the client. Modify Request Queue Limit…

5

Kerberos authPersistNonNTLM authentication, request based vs. session based authentication

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-10-kerberos-authpersistnonntlm-authentication-request-based-vs-session-based-authentication.html Kerberos is a request based authentication protocol.  That means with each request, there is a resulting authentication step.  See the following figure 1 where you notice a Ticket request for each GET Http Command. Figure 1, Network Monitor log for request based authentication This article…

6

Secure channel compatibility support with SSL and TLS

IIS Internet Information Services
IIS Internet Information Services

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-10-secure-channel-compatibility-support-with-ssl-and-tls.html I wrote 2 previous blogs about NTLM and Negotiate/Kerberos which discussed briefly about how those authentication packages work within the context of Integrated Windows Authentication. Another authentication package supported in Windows is called Secure Channel, also known as Schannel.  This blog will not discuss…

3

NHibernate and Entity Framework essentials using a Model First approach

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-10-nhibernate-and-entity-framework-essentials-using-a-model-first-approach.html Object Relational Mapping technologies have been around for many years.  Hibernate was one of the first, if not the first, ORM library which targeted the Java platform.  Today, there are also NHibernate, which is a port of Hibernate to C# and the ADO.NET Entity…


Integrated Windows Authentication with NTLM

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-08-integrated-windows-authentication-with-ntlm.html IIS provides a number of different authentication techniques.  One of which is Integrated Windows Authentication.  Integrated Windows Authentication utilizes Negotiate/Kerberos or NTLM to authenticate users based on an encrypted ticket/message passed between a browser and a server. The preceding image shows a standard communication…

1

Integrated Windows Authentication with Negotiate

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-08-integrated-windows-authentication-with-negotiate.html IIS provides a number of different authentication techniques.  One of which is Integrated Windows Authentication.  Integrated Windows Authentication utilizes Negotiate/Kerberos or NTLM to authenticate users based on an encrypted ticket/message passed between a browser and a server. The preceding image shows a standard communication…

10

NHibernate and Entity Framework

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-08-nhibernate-and-entity-framework.html Prior to getting my job here at Microsoft, I was, and in many aspects still am passionate about NHibernate.  I discovered a particular liking to ORM’s in general.  I liked it so much that I wrote a book called “Working with NHibernate 3.0” which is available on…

4

Application Pool reset after installing 3rd party program

IIS Internet Information Services
IIS Internet Information Services

This article has been moved to its new home here: https://benperk.github.io/msdn/2011/2011-08-application-pool-reset-after-installing-3rd-party-program.html Understanding the differences between how and where 32bit and 64bit programs can run is, at the beginning, a little tricky.  Simply, 32bit programs can run on 32bit and 64bit machines, while 64bit programs can only run on 64bit machines. When the topic concerns IIS…


Create an IIS configuration backup

IIS Internet Information Services
IIS Internet Information Services

This article has been moved to its new home here:  https://benperk.github.io/msdn/2011/2011-08-create-an-iis-configuration-backup.html The first step to take when making changes to a system is to backup what you currently have so that if there are problems with the system after the changes have applied, you have time constraints and can’t get the system to work, then…