.NET Blog

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

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

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

ASP.NET features in New Project Templates in Visual Studio 2013

The New Project Templates in VS 2013 show case the best practices when it comes to using ASP.NET. The project templates provide a good starting point which a developer can build upon or use them as a guide to see how the features are being used. As the ASP.NET framework gets richer with features, it is important for us to make these features ...

Portable Class Library (PCL) now available on all platforms

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

Introducing Web Development and Tooling TV

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

SignalR and user identity (authentication and authorization)

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

Securing Static Resources with Windows Azure Active Directory Authentication

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

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

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. (image) Sharing can be hard. In my early ...