.NET Blog

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

Featured posts

.NET Aspire 9.3 is here and enhanced with GitHub Copilot!
May 19, 2025
Post comments count 0
Post likes count 5

.NET Aspire 9.3 is here and enhanced with GitHub Copilot!

Jeffrey T. Fritz
Jeffrey T. Fritz

.NET Aspire 9.3 is the biggest release of .NET Aspire yet, with the introduction of GitHub Copilot directly into the .NET Aspire Dashboard, updates for integrat...

.NETASP.NET CoreC#

Latest posts

Starting Manage NuGet Packages for Solution dialog for projects under SourceGear Vault – issue and workaround
Nov 18, 2013
Post comments count 0
Post likes count 0

Starting Manage NuGet Packages for Solution dialog for projects under SourceGear Vault – issue and workaround

Dan Liu
Dan Liu

There has been reports that VS hangs when Manage NuGet Packages for Solution menu item is clicked. When VS responds again, it reports the following error: "Loading the projects is required to complete the requested action. If you click the Cancel button, project loading will continue in the background, and you can try to perform the action again later." When this happens, clicking Cancel button on the message dialog won't work and Visual Studio has to be manually closed. This issue may be related to the association of your project with SourceGear Vault, which puts the read-only attribute to the packages.config...

ASP.NET Performance: Performance Counters on Windows Client + IIS Express
Nov 15, 2013
Post comments count 0
Post likes count 0

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

Xinyang Qiu
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 ...

ASP.NET Performance: Debugging W3WP Startup
Nov 15, 2013
Post comments count 0
Post likes count 0

ASP.NET Performance: Debugging W3WP Startup

Xinyang Qiu
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...

ASP.NET Performance: Managed runtime loader
Nov 15, 2013
Post comments count 0
Post likes count 0

ASP.NET Performance: Managed runtime loader

Xinyang Qiu
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...

ASP.NET Performance: Prefetch and Multi-Core Jitting
Nov 15, 2013
Post comments count 0
Post likes count 0

ASP.NET Performance: Prefetch and Multi-Core Jitting

Xinyang Qiu
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...

Azure Web Site now supports WebSockets
Nov 14, 2013
Post comments count 0
Post likes count 0

Azure Web Site now supports WebSockets

Gustavo Armenta Valdez
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 ...

PCL and .NET NuGet Libraries are now enabled for Xamarin
Nov 13, 2013
Post comments count 0
Post likes count 0

PCL and .NET NuGet Libraries are now enabled for Xamarin

.NET Team
.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...

Office Web Apps are using ASP.NET SignalR to power real-time co-authoring
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
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...

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

OData Scaffolding

Kirthi [MSFT]
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...