Tiago Salgado

.NET / SQL Server / IT / etc...


News

My Stats

  • Posts - 37
  • Comments - 26
  • Trackbacks - 0

Twitter












Recent Comments


Recent Posts


Archives



After 25 years, Microsoft has a new look.



Mads Kristensen made it again. A new version of Web Essentials was released to Visual Studio 2012 (only).

You can see all new features in Visual Studio Gallery page.

Download it here, install it, and start using it.



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. 
First, we need to create an App in Facebook Developers page. To do that, go to http://developers.facebook.com/apps and create a new one. 
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.


The aspConf videos are available on Channel9.

You can browse and see over 60 sessions of all great contents.

Check it out here.



Steven Sanderson made ​​a  3 parts series which shows the development of a mobile application using Node.js, WebMatrix 2 + Express.

Getting started with Node and Express using WebMatrix 2
Building a web app with static UI / dynamic API architecture
Hints and tricks for optimising for mobiles


This is a talk by Brad Wilson on Norwegian Developers Conference about HTML5 + Knockout + ASP.NET Web API + SignalR.




Microsoft P&P team make available to download an ebook where we can learn how to building hybrid applications in the cloud on Windows Azure.



Learn Windows Azure at TechEd Europe 2012 sessions videos are now available on Channel9.

You can watch them on-demand here.


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:

  1. install-package jquery.ie9ify
  2. $(‘head’).pinify();
  3. Run and Pin!

More information at http://ie9ify.codeplex.com/