.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

ASP.NET vNext Routing Overview
Jun 20, 2014
Post comments count 2
Post likes count 0

ASP.NET vNext Routing Overview

Mugdha Kulkarni (MSFT)
Mugdha Kulkarni (MSFT)

Introduction The ASP.NET Routing system is primarily responsible for two operations: A typical route definition is a string that contains a URL template to match, such as: "blog/{year}-{month}-{day}/{slug}" With the URL template, the route definition can also contain default values and constraints for parts of the URL. This helps define exactly which URLs the route can match, for example: The first argument "Product", is the name of the route. The second argument "Product/{productId}", is the URL template for this route. The URL must be of the form “Products/n”, w...

Dependency Injection in ASP.NET vNext
Jun 17, 2014
Post comments count 1
Post likes count 0

Dependency Injection in ASP.NET vNext

Victor Hurdugaci
Victor Hurdugaci

Dependency Injection (DI) is a software design pattern, a particular case of the Inversion of Control pattern, in which one or more dependencies are injected into dependent objects. The pattern is used to create program designs that are loosely coupled and testable. This article assumes that you are already familiar with DI. If not, you can read this article for a brief introduction. DI in ASP.NET vNext In ASP.NET vNext, dependency injection is a first class citizen. While in the previous versions of the framework, DI was partially supported, in ASP.NET vNext it is available throughout the entire stack. A...

.NET Native Deep Dive: Debugging into Interop Code
Jun 13, 2014
Post comments count 0
Post likes count 0

.NET Native Deep Dive: Debugging into Interop Code

.NET Team
.NET Team

This post was authored by Yi Zhang, a Senior Software Development Engineer on the .NET Native team. .NET Native and MCG At this point, you’ve probably seen the .NET Native announcement and some of our other .NET Native blog posts. We’ve talked about how .NET Native brings you the productivity of C#, but also with the performance of C++. However, the innovation of .NET Native didn't stop there - we also see this as a great opportunity to reimagine our existing technologies and think about how to make them more accessible and transparent to .NET developers. In the past, when .NET does interop calls, ...

Updating the MVC Facebook API
Jun 9, 2014
Post comments count 24
Post likes count 0

Updating the MVC Facebook API

N. Taylor Mullen
N. Taylor Mullen

Over the past several months Facebook made changes to their application development APIs that were incompatible with the MVC Facebook support. We have been working on updates while the Facebook API kept evolving, and on 4/30/2014 Facebook announced a two-year stability guarantee. This was a fantastic announcement because this ensured a similar stability for ASP.NET MVC developers developing Facebook applications. We've fixed the Facebook package and renamed it to Microsoft.AspNet.Facebook. This package is now available on NuGet. Hereare the issues that we’ve fixed. If you’re new to the world of Fac...

QueueBackgroundWorkItem to reliably schedule and run background processes in ASP.NET
Jun 4, 2014
Post comments count 0
Post likes count 0

QueueBackgroundWorkItem to reliably schedule and run background processes in ASP.NET

Rick_Anderson
Rick_Anderson

Stack Overflow is loaded with questions on how to reliably run a resource-intensive process on a background thread. See  so0, so1, so2, so3, so4, so5, so6, so7, so8, so9, so10 . Examples of long-running tasks include sending email, image processing, and generating a PDF file. When Phil Haack was a program manager on the ASP.NET MVC team, he wrote the definitive blog on the inherent unreliability of running background tasks on ASP.NET. While Phil’s blog is a good read, there are now three supported approaches to launching long-running process on ASP.NET: In addition to the three supported appro...

ASP.NET vNext in Visual Studio “14” CTP
Jun 3, 2014
Post comments count 0
Post likes count 0

ASP.NET vNext in Visual Studio “14” CTP

pranav rastogi
pranav rastogi

A few weeks ago at TechEd North America we announced ASP.NET vNext. Today we are releasing the first preview of Visual Studio “14” CTP, which will have support for creating and debugging ASP.NET vNext applications. This post will cover what is ASP.NET vNext and give you a walkthrough of what you can do in this preview. ASP.NET vNext has been designed to provide you with a lean and composable .NET stack for building modern cloud-based apps. ASP.NET vNext will build on .NET vNext. .NET vNext is the next major release of .NET Framework. .NET vNext will have a cloud optimized mode which will have a smaller footprin...

Announcing web features in Visual Studio “14” CTP
Jun 3, 2014
Post comments count 0
Post likes count 0

Announcing web features in Visual Studio “14” CTP

Xinyang Qiu
Xinyang Qiu

Today, the Visual Studio team announced the release of Visual Studio “14” CTP version 14.0.21730.1 DP.  Our team added features to support ASP.NET vNext development.  We will have future blogs to talk about some of the features in detail.  Note, Visual Studio side by side support is not available on this early build. Do not install this CTP on a machine with any other version of Visual Studio installed. ASP.NET vNext Templates ASP.NET vNext projects can be created using C# templates with “ASP.NET vNext” in the name. To generate an MVC 6 project, select “ASP.NET vN...

NuGet Package Download Stats
Jun 3, 2014
Post comments count 0
Post likes count 0

NuGet Package Download Stats

Jeff Handley
Jeff Handley

Lies, Damned Lies, and Package Statistics We've been getting reports about package download statistics being inconsistent with packages' overall download counts and people have asked us which numbers to believe. We've investigated the inconsistencies and found that due to a very subtle bug, you can't trust the statistics right now, but you'll be able to trust them again starting June 26th.. You can however trust the all-time download counts shown in search results and on the package details pages. Only the "Statistics" tab on the gallery is affected. Background In order to fully explain the issue, we need to ...

Release Candidates for ASP.NET MVC 5.2, Web API 2.2 and Web Pages 3.2
May 27, 2014
Post comments count 0
Post likes count 0

Release Candidates for ASP.NET MVC 5.2, Web API 2.2 and Web Pages 3.2

Kanchan Mehrotra (Microsoft)
Kanchan Mehrotra (Microsoft)

The release candidate NuGet packages for ASP.NET MVC 5.2, ASP.NET Web API 2.2 and ASP.NET Web Pages 3.2 are now live on the NuGet gallery!Download this releaseYou can install or update the release candidate NuGet packages for ASP.NET MVC 5.2, ASP.NET Web API 2.2 and ASP.NET Web Pages 3.2 using the NuGet Package Manager Console, like this: Prerequisites for this release What’s in this release?This release primarily includes great new features for Web API OData v4 as summarized below but has bug fixes and minor features that bring in a lot more goodness to MVC, Web API, and Web Pages:ASP.NET MVC 5.2 Rele...