Skip to content

In this project i have created web api with entityframework(codefirst approach) and created basic framework or infrastructure for asp.net identity

Notifications You must be signed in to change notification settings

skullpsg/Webapi_create

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Webapi_create

In this project i have created web api with entityframework(codefirst approach) and created basic framework or infrastructure for asp.net identity.

Environments

1.vs 2013 2.Entity Framework 6.1 3.Asp.NET Identity Owin 2.2.1

How to work with

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

Note that you can find ProjectUrl in properties-->web-->ProjectUrl eg:http:localhost/xxxxxx.

About

In this project i have created web api with entityframework(codefirst approach) and created basic framework or infrastructure for asp.net identity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published