Understanding Asp DotNet Identity

Facebook Twitter Google Digg Reddit LinkedIn Pinterest StumbleUpon Email

This is the first of two series blog post that explains how to work with the new Asp .Net Identity framework. If you have used/worked with Asp .Net MembershipProvider, RoleProvider and ProfileProvider, this should sound very familiar to you. However there are major underlying changes on how you handle use Identity going forward in any .Net stack application being a web site or web services or mobile applications. But if you are new to this frameworks, this just a default user management mechanism going forward.

Alright, so let's jump right into the code.

Create Empty MVC application


Advanced HTML Editing With Emmet II

Facebook Twitter Google Digg Reddit LinkedIn Pinterest StumbleUpon Email

In the previous post on Sublime Text 3, we saw some advanced use cases for Emmet plug-in. In this post we will continue looking into some more advanced features of Emmet HTML authoring.

Once you get used to using Emmet and start writing complex HTML abbreviation, soon you will get confused on what element is is closing where pretty much the same thing you experience when writing actual HTML. Well Emmet has a solution for that too. You can create groups of abbreviations to better understand and organize them.

Creating Groups


Advanced HTML Editing With Emmet

Facebook Twitter Google Digg Reddit LinkedIn Pinterest StumbleUpon Email

In the previous post on Sublime Text 3, I explained how to get up and running with the Text editor along with the PackageManager plug-in. In this post we will explore another plug-in Emmet. This is the single most powerful plug-in you can inject in your day to day web development life and be productive right away. Your simple abbreviation will be converted into complete HTML markup in no time.

Let's start by installing the plug-in on our Editor.

Installing Emmet

  • Open Command Palette by pressing. Ctrl+Shift+p
  • Type Install and click Enter
  • Type Emmet, Select first result and hit Enter
  • Restart the Editor


Formatting XML and JSON using Sublime Text

Facebook Twitter Google Digg Reddit LinkedIn Pinterest StumbleUpon Email

Last week I was trying to make some changes to my WCF service and had to deal with some XML data. The problem was the XML was not nicely formatted and I had to highlight couple of missing pieces of information. Normally I would use Notepad++ but I though let's try doing it in "Sublime Text".

If you are new to this editor you can read my this post which describes the basic steps to get started with Sublime Text. As a web developer we often have to deal with non formatted XML and JSON data. Sublime Text has a plugin Indext XML that you can use to format XML and JSON data. The plug-in is available in both ST2 & ST3.

Installing Plug-in

Open the editor and hit Ctrl+Shift+P to open Command Palette.


Data binding in AngularJS

Facebook Twitter Google Digg Reddit LinkedIn Pinterest StumbleUpon Email

In this short blog post we will start exploring the data binding features of AngularJS framework. In the previous blog post we saw step by step tutorial on building our first AngularJS application. In that post we saw the one side data binding operation coming form source [Controller] to destination [UI]

But AngularJS is designed with two day data binding. Meaning if you have to take the updated data form the User Interface back to the source, you can do that pretty easily. In fact, that's exactly we are going to do in this blog. Following is the diagram of two way data binding for those of you who are visual learner.