.NET Blog

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

Featured posts

Join the .NET & C# Teams at Microsoft Build 2025
Apr 15, 2025
Post comments count 4
Post likes count 13

Join the .NET & C# Teams at Microsoft Build 2025

.NET Team
.NET Team

The countdown to Microsoft Build 2025 is on! Join us May 19-22 either in-person in Seattle or online and explore an exciting lineup of .NET and C# content, incl...

.NETASP.NETASP.NET Core

Latest posts

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

VS hung on installing or updating packages may be related to ReSharper8.1 EAP
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
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.

A High-Value, Undocumented LESS Editor Feature in Visual Studio
Nov 6, 2013
Post comments count 0
Post likes count 0

A High-Value, Undocumented LESS Editor Feature in Visual Studio

VKichline
VKichline

Recently a very valuable, undocumented feature in the Visual Studio LESS editor came to my attention. This applies equally to Visual Studio 2012 Update 2 and later, and to Visual Studio 2013. The installation of Web Essentials is not required to benefit from this feature.The Visual Studio LESS Editor respects @import statements, and can resolve namespace, mixin and variable definitions from imported files. However, a common pattern with larger LESS projects is to have one include file establishing the include order, and a large number of source files with no @imports at all. The BootStrap project, for example, co...

Introducing batch support in Web API and Web API OData
Nov 1, 2013
Post comments count 0
Post likes count 0

Introducing batch support in Web API and Web API OData

Javier Calvarro Nelson
Javier Calvarro Nelson

With the release of Microsoft ASP.NET Web API 2 OData, we have introduced support for batching requests. Batching is a web API feature that allows a customer to pack several API requests and send them to the web API service in one HTTP request and receive a single HTTP response with the response to all their requests. This way, the client can optimize calls to the server and improve the scalability of its service. For a more in depth look at the batch support, you can take a look at the specification. Batch in Web API In order to start using batch in Web API, the only requirement is to register a route w...

Tutorial series updated for Entity Framework 6 Code First with MVC 5
Nov 1, 2013
Post comments count 0
Post likes count 0

Tutorial series updated for Entity Framework 6 Code First with MVC 5

Tom Dykstra - MSFT
Tom Dykstra - MSFT

We have updated our EF Code First / MVC tutorial series to use Visual Studio 2013, Entity Framework 6, and MVC 5. New Entity Framework 6 features covered in these tutorials include: The series includes the following tutorials: The old EF 5 / MVC 4 series is still available at a new URL: The old series covers some topics that have not been included in the new series yet.  We plan to add these to the new series later: If there are other topics you’d like us to cover in these tutorials that we haven&rsq...