.NET Blog

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

Featured posts

Announcing .NET 10
Nov 11, 2025
Post comments count 9
Post likes count 30

Announcing .NET 10

.NET Team
.NET Team

Announcing the release of .NET 10, the most productive, modern, secure, intelligent, and performant release of .NET yet. With updates across ASP.NET Core, C# 14...

.NETASP.NET CoreNuGet

Latest posts

Package Restore and Consent Changes
Oct 16, 2013
Post comments count 0
Post likes count 0

Package Restore and Consent Changes

Howard Dierking
Howard Dierking

When NuGet 2.0 released, it included the requirement that in order to use package restore, you first needed to explicitly provide consent to the NuGet client to download packages over the Internet. This requirement added some friction to normal developer workflows, and it added more friction in build and continuous integration sever scenarios. Needless to say, the feedback was not positive, and since releasing 2.0, we’ve been working with various groups to remove this friction. With NuGet 2.7, we have been able to remove the explicit consent requirement by making consent the default behavior and providing a mean...

Portable Class Library (PCL) now available on all platforms
Oct 14, 2013
Post comments count 0
Post likes count 0

Portable Class Library (PCL) now available on all platforms

.NET Team
.NET Team

This post announces a standalone release of the .NET portable class library reference assemblies that can be used on any operating system. It was written by Rich Lander, a Program Manager on the .NET Team. Update: Read PCL and .NET NuGet Libraries are now enabled for Xamarin for later information on this release. You can build .NET apps across a wide variety of platforms, and the Portable Class Library (PCL) helps you share your code and libraries across .NET platforms.  Specifically, the PCL provides a set of common reference assemblies that enable .NET libraries and binaries to be used on any .NET ba...

Introducing Web Development and Tooling TV
Oct 14, 2013
Post comments count 0
Post likes count 0

Introducing Web Development and Tooling TV

Mads Kristensen
Mads Kristensen

We are very proud to present the first episode on our brand new Channel9 show – Web Development and Tooling TV. In this episode we talk to Scott Hunter who’s a Principal Group Program Manager on the Web Team (aka the boss). Scott introduces us to this new TV show and talks about what the team has been up to lately, as well as what’s to come in the future. The content will be focused primarily around ASP.NET and Visual Studio web tooling. It’s our plan to interview a lot of the developers, testers and program managers on the team to keep you up-to-date with all the stuff we’re working on. We’ll even show some o...

SignalR and user identity (authentication and authorization)
Oct 11, 2013
Post comments count 0
Post likes count 0

SignalR and user identity (authentication and authorization)

Gustavo Armenta Valdez
Gustavo Armenta Valdez

There are too many authentication types (Basic, Windows, Cookie, OAuth) to explain how to use all of them. In this sample, I focus on using Cookie Authentication to secure a website, a Persistent Connection, and a Hub. Authentication is configured on OWIN, you have to add some nuget packages and add code in Startup.cs. I started with a web project using the MVC Template. By default, it creates web forms to register users, input user credentials, configures an anti-forgery token for http requests, creates an entity framework repository for User Identity. For the self host server there is no template, so I created ...

Securing Static Resources with Windows Azure Active Directory Authentication
Oct 11, 2013
Post comments count 0
Post likes count 0

Securing Static Resources with Windows Azure Active Directory Authentication

bchauhan
bchauhan

Visual Studio 2013 RC has a very useful feature of creating new ASP.NET application that are configured with Windows Azure Active Directory authentication. You can read more about it hereIf you open web.config file of such project that is secured with Windows Azure Active Directory, you will see following section: Code Snippet As you might know, WSFederationAuthenticationModule is the one that is responsible for authenticating incoming requests. However, this module runs only for those requests that go through ASP.NET pipeline. To enable it for all the incoming requests, including those for static files...

Friendly License Names
Oct 11, 2013
Post comments count 0
Post likes count 0

Friendly License Names

Howard Dierking
Howard Dierking

Yesterday afternoon, we enabled a new feature for both the NuGet gallery and the Visual Studio client (for NuGet >= 2.7) which will display the list of license names for a package in addition to simply providing a link to the license text. The big idea behind this feature is that it will aid in the decision making process over whether or not to use a package. While displaying text such as "MIT" may seem like a trivial problem, there is a significant amount of complexity involved in determining the name from a license document. In this feature, license names are determined as a result of analyzing the license ...

ASP.NET Identity NuGet packages for the nightly builds are available on MyGet
Oct 9, 2013
Post comments count 0
Post likes count 0

ASP.NET Identity NuGet packages for the nightly builds are available on MyGet

pranav rastogi
pranav rastogi

ASP.NET Identity packages are now available on MyGet. This means that a successful nightly build of ASP.NET Identity will be pushed to MyGet package feed along with the rest of ASP.NET Web Frameworks such as MVC, Web API, SignalR, EntityFramework etc Steps to follow in Visual Studio to configure the MyGet feed to pull in the nightly packages for ASP.NET Identity You have to configure NuGet to add a package source to the MyGet feed to pull in the latest nightly packages for ASP.NET Identity. - Right click project and click Manage NuGet packages   - Bring up the Manage NuGet Packages dialog and Add a fee...

Enable and monitor ASP.NET App Suspend on Windows Server 2012 R2
Oct 9, 2013
Post comments count 0
Post likes count 0

Enable and monitor ASP.NET App Suspend on Windows Server 2012 R2

Web Development Tools Microsoft
Web Development Tools Microsoft

This post describes how to enable and monitor ASP.NET App Suspend on Windows Server 2012 R2. It was written by Rich Lander, a Program Manager on the .NET team. ASP.NET App Suspend is a big new feature in the .NET Framework 4.5.1. You can read an overview of ASP.NET App Suspend (including a demonstration video) over on the .NET blog. ASP.NET App Suspend is a great feature for shared hosters and Enterprise IT. It enables apps to startup much faster and for each server to host many more apps. In our performance lab, we saw startup time drop by 90% and were able to pack 7 times more sites onto the same machine, ...

ASP.NET App Suspend – responsive shared .NET web hosting
Oct 9, 2013
Post comments count 0
Post likes count 0

ASP.NET App Suspend – responsive shared .NET web hosting

.NET Team
.NET Team

This post introduces ASP.NET App Suspend, which is a game-changing feature in the .NET Framework 4.5.1. It radically changes the user experience and economic model for hosting large numbers of ASP.NET sites on a single machine. This post was written by Rich Lander, a Program Manager on the .NET team. Sharing can be hard. In my early days, I had trouble sharing lego bricks. Now, it’s web hosting. I have to choose between shared and dedicated hosting for the sites I put up. That choice is not always easy, since the cost and level of service can be so different. What if I didn’t have to share my legos. Wouldn’t ...