PowerShell Quick Tip: Restart App Pool Remotely

PowerShell has become my “go to” tool for administering or troubleshooting remote servers.  It is so nice to not have to remote into the server with Remote Desktop. This usually starts with a quick google search to find a sample script to perform the needed task in PowerShell.  Over time I have accumulated a decent …

PowerShell Quick Tip: Restart App Pool Remotely Read More »

Provisioning in Kitchen with Vagrant and the Hyper-V Provider

Over the last year, I’ve primarily used Hyper-V as my driver for Kitchen in developing Chef cookbooks for Windows.  I’m now starting to branch out to build some cookbooks for Linux and really don’t want to build my own Hyper-V images.  So Vagrant is the obvious choice but I still use Hyper-V and don’t want …

Provisioning in Kitchen with Vagrant and the Hyper-V Provider Read More »

ASP.NET Quick Tip: Don’t let DNS Client Service Die!

We recently noticed a slow down in performance for one of our ASP.NET applications and after thoroughly checking for code changes, determined none of our code had changed.  So then we started checking for OS updates but nothing new there either.  Finally we checked the event log for errors and found several services had died …

ASP.NET Quick Tip: Don’t let DNS Client Service Die! Read More »

Diagnosing high CPU usage for an ASP.NET application in Production

We had an issue this week where an ASP.NET application was consuming 100% of CPU on a multi-tenant server.  This obviously had a negative effect on all the applications hosted by this server so we dropped everything to research further.  In this post, we will review the steps we took to diagnose and research the …

Diagnosing high CPU usage for an ASP.NET application in Production Read More »

IIS Quick Tip: Started App Pool doesn’t equal started Website

We were troubleshooting an ASP.NET website issue yesterday where static files were not being served but we couldn’t figure out why.  The website appeared to be running and working correctly.  Other websites on the server were working correctly.  The website also hosted a WCF service and it was working correctly.  So part of the site …

IIS Quick Tip: Started App Pool doesn’t equal started Website Read More »

Troubleshooting a recent ASP.NET MVC, WCF, SQL App Performance Issue

We recently received some feedback that the performance for one of our major applications had degraded overtime and needed to be improved.  The application is a ASP.NET MVC 4 web application with dependencies on several WCF services which each have SQL databases. So basically the typical enterprise Microsoft web development stack. In this blog post …

Troubleshooting a recent ASP.NET MVC, WCF, SQL App Performance Issue Read More »

WebDeploy Quick Tip: Deploy without installing the Agent Service

Most people assume they need to install WebDeploy and the Agent Service on all their application servers to use WebDeploy but that is not always the case.  File Deployments First, not all deployments require the Agent Service.  For example, the dirPath provider can deploy files to a remote server without using the agent.  It simply …

WebDeploy Quick Tip: Deploy without installing the Agent Service Read More »