What is Kestrel Web Server?

What is Kestrel Web Server? How It Works, Benefits, and More

Alexandra Altvater Developer Tips, Tricks & Resources

Kestrel is open-source (source code available on GitHub), event-driven, asynchronous I/O based server used to host ASP.NET applications on any platform. It’s a listening server and a command-line interface. You install the listening server on a Windows or Linux server and the command-line interface on your computer. It was launched by Microsoft along with ASP.NET Core. All ASP.NET Core apps utilize a …

What is IIS Express?

What is IIS Express? How It Works, Tutorials, and More

Alexandra Altvater Developer Tips, Tricks & Resources

Previously, when developers built and tested ASP.Net sites and applications, they use one of these two servers: Visual Studio’s ASP.NET Development Server and the Windows’ IIS Web Server. Each option has its pros and cons. Then, an increasing number of developers expressed their desire to have a server that exhibits the characteristics of user-friendly ASP.NET Development Server along with the …

How to Use Web.Config customErrors for ASP.NET

Matt Watson Developer Tips, Tricks & Resources

The ASP.NET framework provides built-in settings to control how to respond when application errors occur. This functionality is part of the Web.Config customErrors settings 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’s web.config file. Usually, it is set in the web.config file for your application. CustomErrors …

Get tips for error handling in ASP.Net

Best Practices for Error Handling in ASP.NET MVC

Matt Watson Developer Tips, Tricks & Resources

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

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

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 …

w3wp tips

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

Matt Watson Developer Tips, Tricks & Resources

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

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 …

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

Alexandra Altvater Developer Tips, Tricks & Resources

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 …

5 Hidden Performance Problems for ASP.NET

Alexandra Altvater Developer Tips, Tricks & Resources, Stackify Product & Company Updates

  Stackify founder and ASP.NET performance expert Matt Watson shares his expertise around five common ASP.NET performance problems. Learn how to identify and fix these elusive problems in your own apps and immediately improve your app’s performance! Watch the video from last week’s webinar. The deck is available here: http://www.slideshare.net/mwatson81/5-hidden-performance-problems-for-aspnet