.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Latest posts

Nov 15, 2013
Post comments count 0
Post likes count 0

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

Xinyang Qiu

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 of Cassini).  Fortunately, the fix is easy: run Visual Studio as Administrator.If you’re using IIS Express without Visual Studio installed (for example, WebMatrix), then you’ll first need to install ASP.NET 4.5 features:dism /online /enable-feature ...

Nov 15, 2013
Post comments count 0
Post likes count 0

ASP.NET Performance: Debugging W3WP Startup

Xinyang Qiu

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 that I no longer need to search for the answer.  The script starts w3wp by requesting a non-existent ASPX page.  After windbg is closed, the script will kill the debug session and clean up the registry.Script requirements: Debug Script:reg add "HKLMSoftwareMicrosoftWi...

Nov 15, 2013
Post comments count 0
Post likes count 0

ASP.NET Performance: Managed runtime loader

Xinyang Qiu

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 and CLR for those settings that are needed very early in the worker process lifetime, when the config system is not yet present. In IIS 7.5 we added an attribute to the <applicationPools> configuration collection called CLRConfigFile, on the applicationHost.co...

Nov 15, 2013
Post comments count 0
Post likes count 0

ASP.NET Performance: Prefetch and Multi-Core Jitting

Xinyang Qiu

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 on the web.config to enable them. The features don’t do any magic by themself. They just enable features available on the operating system underneath or in the CLR APIs. Prefetch feature The prefetch feature only works on Windows 8 Server or newer OS. It requires the Os to be...

Nov 14, 2013
Post comments count 0
Post likes count 0

Azure Web Site now supports WebSockets

Gustavo Armenta Valdez

If you missed the announcement the other day, WebSockets are now supported in Windows Azure Web Sites. Let's try it with a sample SignalR application. Create an Azure Web Site Create a Visual Studio Project associated to an Azure Web Site Add SignalR Stock Ticker Sample           Publish your local changes to Azure Web Site Enable WebSocket on Azure Web Site ...

Nov 13, 2013
Post comments count 0
Post likes count 0

PCL and .NET NuGet Libraries are now enabled for Xamarin

.NET Team

Earlier today, Soma announced a collaboration between Microsoft and Xamarin. As you probably know, Xamarin’s Visual Studio extension enables developers to use VS and .NET to extend the reach of their apps across multiple devices, including iOS and Android. As part of that collaboration, today, we are announcing two releases around the .NET portable class libraries (PCLs) that support this collaboration: Microsoft .NET NuGet Libraries Released Today we released the following portable libraries with our new license, on NuGet.org: You can now start using these libr...

Nov 9, 2013
Post comments count 0
Post likes count 0

Office Web Apps are using ASP.NET SignalR to power real-time co-authoring

Xinyang Qiu

Office Web Apps are now using SignalR as the backend to synchronize changes when two or more people are editing files on SkyDrive or on SharePoint Online.  SignalR enables real time communication among different browsers and native mobile apps to communicate with each other through the backend server.  It is flexible, scalable and offers great performance, demonstrated by its usage in SkyDrive Office Web Apps. To verify its usage in Office web apps, let’s go to SkyDrive and create a word document. Log on another computer and edit the same SkyDrive document from any browser. SignalR works cross brows...

Nov 7, 2013
Post comments count 0
Post likes count 0

OData Scaffolding

Kirthi [MSFT]

With the release of Visual Studio 2013 RTM, we added support for scaffolding OData controllers with Entity Framework. In this blog topic we will cover the following topics •    Scaffolding an OData controller with Entity Framework on a Web API 2 project. •    Extra configuration steps required to setup OData scaffolding in a MVC project. Scaffolding an OData controller with Entity Framework on a Web API2 project Create a Web project using ASP.NET Web Application template and select Web API. Create the following  model classes in the Models folders of the project...

Nov 7, 2013
Post comments count 0
Post likes count 0

VS hung on installing or updating packages may be related to ReSharper8.1 EAP

Dan Liu

Recently there have been customer reports of hangs in Visual Studio while installing or updating NuGet packages. It could be related to this issue, if you have ReSharper 8.1 EAP installed. The solution is to update ReSharper to one of the stable versions such as ReSharper 8.1. If it doesn’t solve the issue for you, please report it to us through http://nuget.codeplex.com.