简体   繁体   中英

Database using Visual Studio C# (Web Application)

I have to create implement a database in one of my projects. I'm using Visual Studio and coding in C# The problem I'm experiencing is that I cannot find information on how to create a database with a web application as well as which database program would be best to use.

Any documentation explaining how to go about making and using the database will be appreciated.

Thanks in advance

Sign up to Windows Azure. You get a free trial and a nice GUI to create databases and web apps.

Then you can use some basic SQL to start interacting with the database

Sql databases are much easier to use with Visual studio.

Following articles could help you get started with that.

SQL Server Database Development in Visual Studio

EDIT: After comment about OP the following link could be helpful.

How to: Access SQL Server Using Predetermined Credentials

Edit: - Look at the answer provided Here Add new table to EF

Look into entity framework and how to create a database, there are 3 ways you can create a database for web applicaitons, the typical workflows are:

  • Database First
  • Model First
  • Code First

For more information you can look at the tutorial videos for building applications with MVC 4 :

Developing ASP.NET MVC 4 Web Applications Jump Start - Microsoft

Building Applications with ASP.NET MVC 4 - Pluralsight

I guess i may have been a bit vague in what I wanted but thanks nonetheless to everyone who helped put me on the right track. I've got the basic connection down and am currently working through different queries.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM