New Tutorial Published on Migrating to ASP.NET Identity

ASP.NET Identity is the new membership system for building ASP.NET applications. The new tutorial  explains how to migrate an application that uses ASP.NET Membership to the new ASP.NET Identity system. The tutorial shows how to enable existing users to log in with the new Identity system by migrating the database tables that store user credentials, roles and… Read more

Web publishing updates for app offline and usechecksum

In Visual Studio 2013 we have added a couple of small features for web publishing that I’d like to share with you. Those updates are; how to take your app offline during publishing and how you can update the default file compare option. App offline support In Visual Studio when you publish your web application… Read more

Sending a CORS Request in IE

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… Read more

How to use XDT in NuGet – Examples and Facts

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… Read more

Adding Core References Support in an ASP.NET Empty Project

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 anEmpty ASP.NET Project Open Visual Studio 2013… Read more

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

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… Read more

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

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… Read more

Attribute Routing in ASP.NET MVC 5

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… Read more

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,… Read more

Customizing profile information in ASP.NET Identity in VS 2013 templates

ASP.NET Identity is the new membership system for ASP.NET applications. To learn more about ASP.NET Identity please visit http://blogs.msdn.com/b/webdev/archive/2013/06/27/introducing-asp-net-identity-membership-system-for-asp-net-applications.aspx One of the mainline features about ASP.NET Identity is to make it easy to add profile information about the user. In the existing ASP.NET Membership system, User and Profile were separate tables and Profile information about… Read more