Base solution for your next web application
Open Closed

How do I setup my database? #3128


User avatar
0
markreinbolt created

Hey, I just downloaded my asp net zero core app. I Built it. And then try to run it (IIS Express) and am getting an error about the database not existing. HOW do I setup my database for this template app??

Note: I tried to read through the online docs, but must have missed it. Can you point me in the right direction?


2 Answer(s)
  • User Avatar
    0
    markreinbolt created

    ok, found my own problem. Looks like you have to install a sql server at localhost and then add a database called ~whateveryoucalledyourappDb~ , then run the Migrator project. Wala tables are built.

    And now swagger comes up, nice!

    Probably a line in the docs would be nice to let us know to create the db first.

  • User Avatar
    0
    alirizaadiyahsi created

    Hi,

    It's nice to hear that you solved your problem.

    Actually, there is a "Getting Started" document in aspnetzero.com. <a class="postlink" href="https://aspnetzero.com/Documents/Getting-Started-Angular">https://aspnetzero.com/Documents/Gettin ... ed-Angular</a>