Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • faloude 3 posts 83 karma points
    Aug 30, 2016 @ 13:55
    faloude
    0

    Umbraco 7 in VS, what about database?

    Hi all,

    I'm about to dive into the world of .NET and Umbraco and I have a question regarding Visual Studio.

    I'm assuming that getting Umbraco to run on Visual Studio should be a peace of cake right?

    My main question is, does Visual Studio have built-in SQL "server" that Umbraco can connect to and store data in?

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Aug 30, 2016 @ 14:05
    Michaël Vanbrabandt
    100

    Hi Faloude,

    If you add Umbraco to your project in Visual Studio and you run your project for the first time then you have the possibility to customize the SQL syntax.

    As default it uses SQL CE which means it will create a .sdf data file located under the App_Data folder which contains all the umbraco data.

    Another way is to install Sql Managament Studio ( Preferred! ) and then connect to this during your installation.

    Then you can work nicely with your database.

    Hope this helps!

    /Michaël

  • faloude 3 posts 83 karma points
    Aug 30, 2016 @ 14:21
    faloude
    0

    That's interesting. Could you say that SQL CE is a tiny "fall-back" solution when Umbraco doesn't detect (or isn't supplied with) a SQL server connection?

    Because earlier when I did a test-install of Umbraco, it didn't ask me any SQL server details and I was wondering why it can work without it.

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Aug 30, 2016 @ 14:31
    Michaël Vanbrabandt
    0

    Hi Faloude,

    After you have entered your details you have a button Customize.

    If you click on that you can choose your installation type for the database.

    If you leave it then it uses SQL CE by default ( like in your case ).

    So in your App_Data you will find a name with the .sdf extension.

    /Michaël

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies