In this project i have created web api with entityframework(codefirst approach) and created basic framework or infrastructure for asp.net identity.
1.vs 2013 2.Entity Framework 6.1 3.Asp.NET Identity Owin 2.2.1
1.download the Project.
2.change the connection string in Web.config
3.create database using package manager console.Run the following commands...
step 1: initial create run
command1: enable-migrations
command2: Update-Database –Verbose
if you find error
command3: add-migration InitialCreate_sample1
command4: add-migration InitialCreate_sample1
command4: Update-Database –Verbose
4.built the project. and create virtual directory by changing the ProjectUrl in properties of the solution.
5.verify whether its working fine using browser.
http:localhost/xxxxxx/api/accounts/users