.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

Understanding Security Features in the SPA Template for VS2013 RC
Sep 20, 2013
Post comments count 0
Post likes count 0

Understanding Security Features in the SPA Template for VS2013 RC

Hongye Sun - MSFT
Hongye Sun - MSFT

The blog is based on Visual Studio 2013 RC release. We have completely rewritten the SPA template from the previous version( MVC 4). Here are some of the changes we made: Note that SPA VB template is still not available in this RC release. We will ship it with RTM release. In this blog, I will focus on the security features in SPA template. Bearer Token Authentication with Web API This is one of the most asked for features in Web API. In the SPA template, we implemented this feature with OWIN security middleware. In order to use OWIN bearer token middle...

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

How to use XDT in NuGet – Examples and Facts

Dan Liu
Dan Liu

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 to full XPa...

Scaffolding asynchronous MVC and Web API controllers for Entity Framework 6
Sep 18, 2013
Post comments count 0
Post likes count 0

Scaffolding asynchronous MVC and Web API controllers for Entity Framework 6

Xueyuan Dai
Xueyuan Dai

Brief Entity Framework 6 introduces support for the .NET 4.5 asynchronous programming pattern using the async and await keywords. And in Visual Studio 2013 RC we’re making it easier for you to take advantage of this new capability by optionally generating asynchronous code when you scaffold MVC and Web API controllers. Why First thing first. Why would you build an asynchronous controller? Well, asynchronous programming is an important part of building scalable, robust, and responsive web applications. A web server has a limited number of threads available, and in high load situation all of the avai...

Immutable collections are now RC
Sep 12, 2013
Post comments count 0
Post likes count 0

Immutable collections are now RC

Immo Landwerth
Immo Landwerth

Over the past several months, we’ve been working on a new set of collection types that offer an immutable design. Today we are happy to announce that we are one step closer to a stable version of this work: we’ve just shipped the release candidate (1.0.23 RC) of the Microsoft.Bcl.Immutable NuGet package. Because we could: an immutable representation of our release timeline What has changed in RC? The changes in this update can be summarized into the following areas: I’ll discuss these areas in more detail. removed for now After careful consideration we decided to remove f...

Visual Studio 2013 Custom Web Servers and OwinHost.exe
Sep 11, 2013
Post comments count 0
Post likes count 0

Visual Studio 2013 Custom Web Servers and OwinHost.exe

howard dierking - MSFT
howard dierking - MSFT

When running Web applications from within Visual Studio, there have generally been two primary hosts available while developing: a local “development” Web server, or a full version of Internet Information Services (IIS). There has also been a “custom server” option, where a path to a server executable could be entered; however, this was not a widely used option given that most Web applications were built for the ASP.NET pipeline running in some flavor of IIS anyway. With Visual Studio 2013, ASP.NET will include a new way to compose and host Web applications. In this new model, ASP.NET will shift from a monolithi...

Creating New Windows Azure Web Site from Visual Studio 2013 RC
Sep 11, 2013
Post comments count 0
Post likes count 0

Creating New Windows Azure Web Site from Visual Studio 2013 RC

Johni Sutanto
Johni Sutanto

We are now making it easier to create a new Windows Azure Web Site from Visual Studio 2013 RC. This feature can be accessed from the Web Sites sub node under the Windows Azure node in Server Explorer. You would need to install Azure SDK 2.1 before you can use this feature. You can follow these steps to create a new Windows Azure Web Site. 1. Import your Windows Azure subscription. You can do this by right-clicking on the Windows Azure top node in Server Explorer, then select Import Subscriptions…. Find your Windows Azure subscription file and click Import. If you don’t have your subscription file ye...

What is new in Browser Link with Visual Studio 2013 RC?
Sep 10, 2013
Post comments count 0
Post likes count 0

What is new in Browser Link with Visual Studio 2013 RC?

Reshmi Mangalore
Reshmi Mangalore

Over the last few months, the Browser Link team has worked on delivering these new features in the Visual Studio 2013 RC release: For those who are not familiar with Browser Link, please look at our introductory blog here. Browser Link Dashboard The Browser Link Dashboard is a tool window in VS that shows all active browser link connections. You can invoke the dashboard by clicking on the little arrow next to the Refresh Linked Browser icon. Clicking on the Browser Link Dashboard menu item will bring up the tool window. As you can see in the image below, the dashboard shows all active connecti...

Issues uploading portable library packages [Fixed]
Sep 10, 2013
Post comments count 0
Post likes count 0

Issues uploading portable library packages [Fixed]

Jeff Handley
Jeff Handley

Starting September 3rd, some users started having issues uploading packages that contain portable libraries; on September 10th, we deployed a fix to address those issues. Errors Experienced Depending on how you were publishing your package, you would have experienced the errors in a few different ways. Upload Package page on nuget.org If you were uploading your package through the nuget.org website's Upload Package page, the package would have initially uploaded okay, but you would have gotten an error when submitting the verified package details. The error would have been our standard "Error: Oh no, we brok...

Announcing release of ASP.NET and Web Tools for Visual Studio 2013 RC
Sep 9, 2013
Post comments count 0
Post likes count 0

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

Xinyang Qiu
Xinyang Qiu

Announcing release of ASP.NET and Web Tools for Visual Studio 2013 RC I’m excited to show the new features of the ASP.NET and Web Tools for Visual Studio 2013 RC. Click here to download and install the Visual Studio 2013 RC today. Please check http://www.asp.net/vnext for release notes, documentation, and tutorials. This blog includes both the new RC features and the features that already announced in the ASP.NET and Web Tools for VS2013 Preview that was released 2 months ago. We will have incoming blogs to talk about the features in detail. Visual Studio Web Tooling Enhancements One ASP.NET We made a s...