MVC 4 Connectionstring to SQL Server 2012

后端 未结 5 1357
慢半拍i
慢半拍i 2020-12-29 23:35

I\'ve created a brand new MVC 4 application in C# using Visual Studio 2012. I\'m trying to connect to a brand new SQL Server 2012 (Standard) instance but I can\'t seem to ge

5条回答
  •  鱼传尺愫
    2020-12-29 23:52

    Thanks everyone for the input, I have finally found a solution. I came across this article that describes the new Simple Membership that VS 2012 uses for MVC 4. I basically just started over, creating a new database, new MVC 4 project, and just followed the instructions in the article. Sure enough, just "registering" on the web page created the table(s) in my database and stored the user information.

提交回复
热议问题