Get tips to monitor IIS Performance

How to Monitor IIS Performance: From the Basics to Advanced IIS Performance Monitoring

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Need help on how to monitor IIS? This guide covers how to cover the basics including HTTP ping checks, IIS Application Pools, and important Windows Performance Counters. We also take a look at how to use an application performance management system to simplify all of this and get more advanced IIS performance monitoring for ASP.NET applications. IIS Performance Monitoring Topics: …

How to Use Web.Config customErrors for ASP.NET

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

The ASP.NET framework provides built-in settings to control how to respond when an application error occurs. This functionality is part of the Web.Config customErrors section. Configuration Options for Web.Config <customErrors> Like most web.config settings, customErrors can be configured within the Machine.config, root web.config or your application web.config file. Usually, it is set per application. CustomErrors supports the following modes: On – …

Get tips for error handling in ASP.Net

Best Practices for Error Handling in ASP.NET MVC

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Error handling is an important part of any application. ASP.NET provides several different ways to handle errors. In this article, we will review MVC error handling best practices. 5 Ways to do MVC Error Handling Between .NET, ASP.NET, and MVC there are several potential ways to handle application errors. Web.Config customErrors MVC HandleErrorAttribute Controller.OnException method HttpApplication Application_Error event Collect exceptions via …

How to Deploy ASP.NET Core to IIS & How ASP.NET Core Hosting Works

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

Previously, I discussed the differences between Kestrel vs IIS. In this article, we will review how to deploy an ASP.NET Core application to IIS. Deploying an ASP.NET Core app to IIS isn’t complicated, but ASP.NET Core hosting is a little different than ASP.NET. How to Configure Your ASP.NET Core App For IIS The first thing you will notice when creating …

How to Deploy ASP.NET Core Web App to Azure & How to Use Retrace With ASP.NET Core

Barry Luijbregts Developer Tips, Tricks & Resources, Insights for Dev Managers, Live Queue Leave a Comment

ASP.NET Core is the latest version of ASP.NET. It is built from the ground up using .NET Core, the lightweight, composable new .NET Framework. Some people love it, some don’t. However, this is the future. Microsoft will move forward with .NET Core and in the future, the regular, full-fledged versions will go away. I like ASP.NET core a lot. It …

ASP.NET Core Web Servers: Kestrel vs IIS Feature Comparison and Why You Need Both

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

The Kestrel web server is a new web server as part of ASP.NET Core. It is now the preferred web server for all new ASP.NET applications. In this article, we will review what it is, how to use it, and the differences between Kestrel vs IIS. Why Do We Need the New Kestrel Web Server? What about IIS? If you have …

How to Troubleshoot IIS Worker Process (w3wp) High CPU Usage

Troubleshooting IIS Performance Problems, How to Troubleshoot IIS Worker Process (w3wp) High CPU Usage

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Having IIS performance problems? Do you have w3wp.exe high CPU usage? In this article, we will discuss some tips to identify what is causing high CPU usage for your ASP.NET web applications. There are a lot of reasons that your IIS worker process (w3wp.exe) could be using a lot of CPU. We will cover some of the top reasons and how …

w3wp tips

What is w3wp.exe? Learn the Basics About IIS Worker Processes

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Web applications running within Microsoft’s Internet Information Services (IIS) utilize what is known as IIS worker processes. These worker processes run as w3wp.exe, and there can be multiple per computer. It is possible to run IIS on a Windows desktop or Windows server, although it is usually only seen on Microsoft Windows Servers configured as web servers. What is w3wp.exe …

ASP.Net Core Logging

ASP.NET Core Logging Tutorial – What Still Works and What Changed?

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

If you are getting started with ASP.NET Core, you are probably wondering what has changed with logging. In short, the answer is both nothing and everything. The common logging libraries you have always used with .NET still work. Microsoft does provide its own interface for logging with .NET Core and it uses it for .NET internals. In this article, we …

iis error logs yellow screen of death

IIS Logs, Error Logs and More – 6 Ways to Find Failed ASP.NET Requests

Matt Watson Developer Tips, Tricks & Resources

Your web application is throwing some sort of error or invalid response. Do you know how to troubleshoot IIS or ASP.NET errors on your servers? Luckily, Windows and ASP.NET provide several different logs where failed requests are logged beyond simple IIS logs.   Get to Know the 4 Different IIS Logs You are probably familiar with normal IIS logs, but …

Prefix: A lightweight ASP.NET profiler helping you write better software

Stackify Developer Tips, Tricks & Resources Leave a Comment

Of all the modern development practices which I use day to day, none other has been more beneficial to me than the introduction of quick feedback loops in my workflow. Although a concept made popular by the Agile methodology and practices, it’s something most of us deal with when we invoke the compiler (or linter) which tells us if our …

9 Performance Tools for ASP.NET

ASP.NET Performance: 9 Types of Tools You Need to Know!

Matt Watson Developer Tips, Tricks & Resources, Insights for Dev Managers Leave a Comment

Performance Tools for .NET and ASP.NET One of the best things about being a .NET developer is all the amazing development tools that can make your life easier. This blog post is a list of the various types of ASP.NET tools at your disposal for finding and optimizing ASP.NET performance problems. Depending on the task, some of these tools will …