One of the new features on Visual Studio 2012, is the ability to integrate a social login (Facebook, Twitter, etc) in our web applications.
In this example, we can see how easy is to add Facebook login to our project.
After creating the app, we have something like this:
Now, go to VS2012, create a new project (i choose ASP.NET MVC 4 Web Application). Then, in Solution Explorer, you'll find a class in App_Start folder called AuthConfig.cs.
Open it, and uncomment the following code:
OAuthWebSecurity.RegisterFacebookClient(
appId: "",
appSecret: ""
);
Here, you need to add your appId and appSecret returned when you create the App on Facebook. And thats it. Try yourself and see how easy it is. This method is the same for ASP.NET Webforms, MVC. To WebPages, you need to uncommend the code in _AppStart.cshtml.
Along with HTML5 Boilerplate's rock solid commitment to cross-browser consistency, H5BP brings you delicious documentation, a site optimizing build script, and a custom boilerplate builder. In addition to this, we now support lighttpd, Google App Engine, and NodeJS with optimized server configurations (along with Apache, Nginx, and IIS) and we've reduced the overall size of the published boilerplate by 50%.
You can read more of HTML5Boilerplate at the project website.
A nice way to get started with HTML5Boilerplate can be found at Dan Wahlin’s blog on this post.

A jQuery Plugin for adding IE9 features (site pinning, site mode, etc.) to your websites. Several new features of Internet Explorer 9 are designed to enhance the browsing experience of consumers by enabling sites that leverage certain features to behave like applications on the desktop when those sites are ‘pinned’ to the taskbar in Windows 7. A user pins a site by dragging the site’s tab (or favicon in the address bar) to the taskbar. For all sites, IE9 will create a default experience (called ‘site mode’) that will use information about the site to create an instance of the browser customized to look specific to that site. Developers can also add specific meta tags and script commands to extend these features to further customize user’s pinned experience of the site.
Your site, from zero-to-pinned in less than 5 minutes:
- install-package jquery.ie9ify
- $(‘head’).pinify();
- Run and Pin!
More information at http://ie9ify.codeplex.com/