How do I create and link to a database in ASP.NET (Razor) with Visual studio 2013?

Posted by Blake on Programmers See other posts from Programmers or by Blake
Published on 2013-11-11T05:07:06Z Indexed on 2013/11/11 10:22 UTC
Read the original article Hit count: 232

Filed under:
|
|
|

We have a simple web app, part of which allows users to create accounts and then, hopefully soon, to write blog posts. The user log in system is working great, it utilizes the given .sdf database created when a new project is created. We would like to expand it now to allow for blog data (the title, body of the blog, image posts perhaps, etc).

However, I'm unsure of how to add another table to the user database for this purpose - or if that would even be best since it has sensitive information in it. I've been reading blog post after blog post and still can't find anything current on this. All of the articles are for MVC projects or older versions of VS. If someone could point me in the right direction it would be greatly appreciated!

© Programmers or respective owner

Related posts about database

Related posts about ASP.NET