.NET Blog

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

Featured posts

Announcing .NET 10 Release Candidate 1
Sep 9, 2025
Post comments count 3
Post likes count 7

Announcing .NET 10 Release Candidate 1

.NET Team
.NET Team

.NET 10 Release Candidate 1 is available with improvements across the runtime, SDK, libraries, ASP.NET Core, Blazor, .NET MAUI, and more!

.NETASP.NET CoreC#

Latest posts

Sending a CORS Request in IE
Oct 28, 2013
Post comments count 0
Post likes count 0

Sending a CORS Request in IE

Xueyuan Dai
Xueyuan Dai

From the time we added CORS support for ASP.NET WEB API, we have seen many questions on its usage, including questions about sending cross-origin requests (CORS) from IE. IE 10 and higher fully support using XMLHttpRequest to send cross-origin requests. CORS for XHR in IE10  is a great blog post on this approach.CORS is also supported in IE 8/9, however, in a different way. Instead of XMLHttpRequest, an XDocumentRequest object is used to send cross-origin requests. Here’s another good reading about it: http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitati...

How to use XDT in NuGet – Examples and Facts
Oct 24, 2013
Post comments count 0
Post likes count 0

How to use XDT in NuGet – Examples and Facts

danliu-nuget
danliu-nuget

Starting with NuGet 2.6, XML-Document-Transform (XDT) is supported to transform XML files inside a project. The XDT syntax can be utilized in the .install.xdt and .uninstall.xdt file(s) under the package’s Content folder, which will be applied during package installation and uninstallation time, respectively. One of XDT’s greatest strengths is its simple but powerful syntax for manipulating the structure of an XML DOM. Rather than simply overlaying one fixed document structure onto another structure, XDT provides controls for matching elements in a variety of ways, from simple attribute name matching ...

Adding Core References Support in an ASP.NET Empty Project
Oct 22, 2013
Post comments count 0
Post likes count 0

Adding Core References Support in an ASP.NET Empty Project

Xueyuan Dai
Xueyuan Dai

Adding Core References Support in an ASP.NET Empty Project Brief In Visual Studio 2013 we introduced the core reference framework to ASP.NET project creation. You can choose what core references you want in your to-be-created project. How Let’s take the example of adding Web API core references in an Empty ASP.NET Project Summary As you can see, adding the core references will not only add the required NuGet packages but also correctly configure the app for the selected core reference. Similarly you can add MVC and  or Web Forms support in the same way. And the supported core references are not l...

Building a simple ToDo application with ASP.NET Identity and associating Users with ToDoes
Oct 20, 2013
Post comments count 1
Post likes count 0

Building a simple ToDo application with ASP.NET Identity and associating Users with ToDoes

pranav rastogi
pranav rastogi

Hello everyone. I was prompted to write this post from a comment I received on http://blogs.msdn.com/b/webdev/archive/2013/10/17/announcing-release-of-asp-net-and-web-tools-for-visual-studio-2013.aspx. I am pasting the comment verbatim from the post “I'm having a lot of difficulty integrating the IdentityDbContext with other DbContexts to create a comprehensive model and database for my applications. If the membership system always stood on its own, there wouldn't be an issue but the User ID typically gets used throughout other models and tables (think of a blog, for example, where some authenticated users are ...

Announcing release of ASP.NET and Web Tools for Visual Studio 2013
Oct 17, 2013
Post comments count 0
Post likes count 0

Announcing release of ASP.NET and Web Tools for Visual Studio 2013

Xinyang Qiu
Xinyang Qiu

I’m excited to show the new features of ASP.NET and Web Tools for Visual Studio 2013. Visit Somasegar’s blog for details on Visual Studio 2013 RTW. Download Visual Studio 2013 to try out the new features in this release. Read the Visual Studio blog for information about general editor enhancements, including the preview time JavaScript editor improvement blog post and future posts on JavaScript editor improvements, Check http://www.asp.net/ for release notes, documentation, and tutorials. This blog includes features introduced after the RC release as well as features included in the earlier RC announ...

.NET Framework 4.5.1 RTM => start coding
Oct 17, 2013
Post comments count 0
Post likes count 0

.NET Framework 4.5.1 RTM => start coding

.NET Team
.NET Team

Updated (2017): See .NET Framework Releases to learn about newer releases. This release is unsupported. Updated (July 2015): See Announcing .NET Framework 4.6 to read about the latest version of the NET Framework. Today, we’re announcing the availability of the .NET Framework 4.5.1 and Visual Studio 2013 (Soma’s blog). You can download these releases, now: The .NET Framework 4.5.1 is a customer-focused release, based on feedback we’ve collected from UserVoice and other sources. In this post, we will highlight the top features that come with the release. If you want even more details, our earlie...

Attribute Routing in ASP.NET MVC 5
Oct 17, 2013
Post comments count 0
Post likes count 0

Attribute Routing in ASP.NET MVC 5

Ken Egozi
Ken Egozi

Routing is how ASP.NET MVC matches a URI to an action. MVC 5 supports a new type of routing, called attribute routing. As the name implies, attribute routing uses attributes to define routes. Attribute routing gives you more control over the URIs in your web application. The earlier style of routing, called convention-based routing, is still fully supported. In fact, you can combine both techniques in the same project. This post will cover the basic features and options of Attribute Routing, in ASP.NET MVC 5. Why Attribute Routing? For example, a socially enhanced e-commerce website could have the fo...

NuGet is a .NET framework release vehicle
Oct 16, 2013
Post comments count 0
Post likes count 0

NuGet is a .NET framework release vehicle

.NET Team
.NET Team

This post describes how the .NET team uses NuGet and how discoverability and serviceability have improved in the .NET Framework 4.5.1. It was written by Alok Shriram, a Program Manager on the .NET Core Framework Team.  Update: Read PCL and .NET NuGet Libraries are now enabled for Xamarin to learn more about how our NuGet packages can now be used on all OSes. The .NET framework team has been increasingly adopting NuGet as a delivery vehicle over the last few years. The ASP.NET and EntityFramework teams have been leading that trend, while the core .NET team started using NuGet in 2012. NuGet allows us...

Get more information from Social providers used in the VS 2013 project templates
Oct 16, 2013
Post comments count 0
Post likes count 0

Get more information from Social providers used in the VS 2013 project templates

pranav rastogi
pranav rastogi

When you create a New ASP.NET Project in VS 2013 and choose Individual Accounts, the template shows how you can login with Social providers such as Microsoft Account, Facebook, Google and Twitter. When you login with these Social Providers such as Facebook, you can request more information about the user such as the User’s picture, friends etc. and if the user allows your app to access this data then you can get this information and provide a rich experience in your site. In the following post I am going to show you how you can request more data (or scopes) when a user logs in via Facebook provider. This post as...