Instant Azure Caching with MVC

Warning. This is obsolete, see my new blog MVC movie app with Azure Redis Cache in 15 minutes Warning: Most of the information in this blog is for the Preview edition and should not be used or targeted for production code. Use the In-Role Cache for production code. In this blog post I’ll take my… Read more

Modified ASP.NET 4.5 CPU Throttling

A while back, Jose blogged about the CPU throttling feature in ASP.NET 4.5. As described in the original post, this feature is intended to correct negative scaling in server throughput when handling async requests on a server with saturated CPU. Now, for the next chapter to this story: CPU throttling under stress scenarios. This feature… Read more

Unit testing OWIN applications using TestServer

Unit testing OWIN applications using TestServer Unit testing a OWIN application (pipeline) can be as simple as calling WebApp.Start<T>() on a Startup class. For example here is a simple OWIN pipeline: using Microsoft.Owin.Hosting; using Microsoft.Owin.Testing; using Owin; using System; using System.Net.Http; using Xunit; namespace OwinApplicationTesting { public class OwinApplicationTests { [Fact] public async void OwinAppTest()… Read more

Debugging OWIN app or framework

Diagnostics The Microsoft.Owin.Diagnostics nuget package contains a welcome page and an error page. The UseWelcomePage extensions can be used to add a simple html page to your application to verify the site is up and running. The UseErrorPage extensions can be used to add an Exception filter to the request pipeline that will display exception… Read more

Building Browser Link extension in Visual Studio 2013

Browser Link feature in Visual Studio 2013 provides APIs for you to write your own Browser Link Extension. To take a look at some of the extensions, you can download Web Essentials for Visual Studio 2013 RTM. In this blog, I will give you a step by step overview of the various APIs that we… Read more

Announcing release of ASP.NET and Web Tools 2013.1 for Visual Studio 2012

We have released ASP.NET and Web Tools 2013.1 for Visual Studio 2012. This release brings a ton of great improvements, and include some fantastic enhancements to ASP.NET MVC 5, Web API 2, Scaffolding and Entity Framework to users of Visual Studio 2012 and Visual Studio 2012 Express for Web. You can download and start using… Read more

ASP.NET Performance: Performance Counters on Windows Client + IIS Express

Editor note: This blog is originally published by Christy Henriksson on 09-12-2012 in Web Performance Blog, which will be obsolete soon.  Future ASP.NET related performance blogs will be posted here. I learned recently that ASP.NET performance counters are not available on Windows 7 or 8 (client) when running with IIS Express (or the Dev10 default… Read more

ASP.NET Performance: Debugging W3WP Startup

Editor note: This blog is originally published by Christy Henriksson on 03-19-2012 in Web Performance Blog, which will be obsolete soon.  Future ASP.NET related performance blogs will be posted here. On a few occasions, I have needed to debug the startup of the IIS worker process (w3wp).  I finally decided to create a script so… Read more

ASP.NET Performance: Managed runtime loader

Editor note: This blog is originally published by Jose Reyes – ASP.NET on 02-29-2012 in Web Performance Blog, which will be obsolete soon.  Future ASP.NET related performance blogs will be posted here. Introduction There is a file called aspnet.config in the .Net framework installation. This file is used to specify startup flags for both ASP.NET… Read more

ASP.NET Performance: Prefetch and Multi-Core Jitting

Editor note: This blog is originally published by Jose Reyes – ASP.NET on 02-29-2012 in Web Performance Blog, which will be obsolete soon.  Future ASP.NET related performance blogs will be posted here. Introduction. A couple of new features are introduced in ASP.NET 4.5 to improve startup time of web apps. Both features use a flag… Read more