No trial. No credit card required. Just your GitHub account.
.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

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

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

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

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