pranav rastogi

Post by this author

ASP.NET Web Forms Application (2012) Templates on Visual Studio 2010

The release of Visual Studio 2012 included updated templates for ASP.NET WebForms, MVC and WebPages. The templates showcased the use of modern standards in HTML5, CSS and JavaScript. Apart from these, they also showcased social login via Twitter, Facebook etc.  Scott Hanselman has a short video demonstrating social login. While this ...

ASP.NET 4.5 ScriptManager Improvements in WebForms

The ScriptManger control has undergone some key targeted changes in ASP.NET 4.5 which makes it easier to register, manage and combine scripts using the ASP.NET weboptimization feature. This post will highlight the changes that have happened to this control Easy Integration with JQuery and JQueryUI The default templates for WebForms ship with...

Configuring your ASP.NET application for Microsoft OAuth account

This post is a part of the series about how to enable and use OpenID/OAuth support that was added to the ASP.NET templates in Visual Studio 2012. In this post I am going to detail the instructions on configuring your application to use Microsoft account for authentication. I am going to be focusing on configuring the application for a ...

Integrate OpenAuth/OpenID with your existing ASP.NET application using Universal Providers

Over the past couple of weeks I have come across lots of questions/discussions on while OAuth/OpenId is cool as a feature in the ASP.NET templates in Visual Studio 2012, but how do I easily integrate this into my application outside of the templates. More so how do I extend the Universal Providers to integrate OAuth/OpenId and use other ...

Customizing the login UI when using OAuth/OpenID

In the last post I showed how you can plug in your own OAuth/OpenID provider. This post shows you how you can pass in extra data about the provider such as display name, image etc and use this information when building up the UI for login screen   If you see the experience of login screen in the ASP.NET templates, it looks like this. (...

Plugging custom OAuth/OpenID providers

In the previous post, I wrote about how you can use the existing providers for Google, Facebook etc. and retrieve extra metadata about the authenticated users. Let’s assume you wanted to change the way the providers request for information. Some examples of this could be This post covers how you can write your own provider and ...

Extra Information from OAuth/OpenId Provider

When you authenticate a user using the OAuth/OpenId providers, you can request for some extra information about the user if you have granted access for these providers to send this information. For eg if you login using Facebook, you can request information such as Gender, country etc. Each provider has different set of data that you can ...

Releasing Microsoft ASP.NET Universal Providers Core 1.2

I hope everyone has been busy downloading Visual Studio 2012 and have started building awesome web applications. We have been busy too during this time.We have just released an update to the version of Universal Providers that shipped with VS2012. Following are the key changes with this release  What should you doThis version of ...

OAuth/OpenID Support for WebForms, MVC and WebPages

[Update] Adding relevant links at the bottom of the post One of the coolest features in Visual Studio 2012 is the ability to login using your Microsoft, Facebook, Twitter or Google account. The project templates showcase a social way of logging in along with the usual way of logging in by creating a local account This post highlights how you ...

Using Dynamic Data with Entity Framework DbContext

In Visual Studio 2012, if you create a ADO.NET Data Model then the generated Context class derives from a type called DbContext instead of ObjectContext. DbContext is also used when you are using EntityFramework Code First This post outlines the changes you have to do to your Dynamicdata project template if you want your context to derive ...