Git Product home page Git Product logo

Comments (3)

ameenmca avatar ameenmca commented on September 26, 2024

Hi,

This is a Code-First Migration, so Database will be created by some EF Powershell commands.

Follow this link for the creation of Database:

http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/migrations-and-deployment-with-the-entity-framework-in-an-asp-net-mvc-application

In above steps skip "Set up the Seed Method" and "Deploy to Windows Azure". Execute all the steps between these two steps.

Also the database will not be created unless you run this project. Login with "user" and "pass" even though they don't exist but it will execute DbContext which will trigger the Database creation.

Thanks,
Amin Sayed

from asp.net-mvc-example-invoicing-app.

 avatar commented on September 26, 2024

This is not working. Because missing Migration Folder

from asp.net-mvc-example-invoicing-app.

khoshnoudi avatar khoshnoudi commented on September 26, 2024

The Migration Folder will be create with First Code (http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/migrations-and-deployment-with-the-entity-framework-in-an-asp-net-mvc-application),
But there is error for user name and password, I am VS 2013,
Is there anybody that can give us advice to with full details to create database ?

from asp.net-mvc-example-invoicing-app.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.