Answered by:
Developing a database-driven application in C#

Question
-
User-673728087 posted
Hi,
Ok, I'm fairly new to ASP.NET programming. I am also fairly new to these forums, so please re-direct me if I've posted this in the wrong place!
I am trying to write a web-based application in C#. I need a database on the back-end. While developing, I want everything to run on my local machine using the built-in SQL express, but when I deploy, I intend it to be an IIS / SQL server model.
I *THINK* I need to set up a database project to build the database itself. I added one to my solution file. I am assuming that this will allow me to build a deployment that both sets up the application and its database. I now cannot, however, figure out how to create the dbml file to reference it.
Despite typing everything I can think of into Google, I haven't found a how-to or a walkthrough. Can anyone either explain the process to me, or point me at a good tutorial?
Thanks!
Oh, Visual Studio 2010.
Monday, September 29, 2014 9:11 PM
Answers
-
User197322208 posted
all you need is follow tutorials from www.asp.net/,mvc ( or webforms)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, September 29, 2014 9:17 PM -
User1918509225 posted
Hi Wierdbeard65,
Thanks for your post here.
For your issue ,i suggest that you can try the links below:
If you want to use Entity Framework,connect to database:
http://www.asp.net/web-forms/overview/working-with-data-(entity-framework-tutorial)
You can follow the link below learning about the asp.net mvc with entity framework:
http://www.asp.net/mvc/tutorials/mvc-5/database-first-development/setting-up-database
If you want to learn the usage of webform,please refer to the link below:
Best Regards,
Kevin Shen.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, October 1, 2014 4:18 AM -
User-2007877324 posted
Please see this sample which should give a good start
Create a Movie Database Application in 15 Minutes with ASP.NET MVC
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, October 3, 2014 10:32 AM
All replies
-
User197322208 posted
all you need is follow tutorials from www.asp.net/,mvc ( or webforms)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, September 29, 2014 9:17 PM -
User1918509225 posted
Hi Wierdbeard65,
Thanks for your post here.
For your issue ,i suggest that you can try the links below:
If you want to use Entity Framework,connect to database:
http://www.asp.net/web-forms/overview/working-with-data-(entity-framework-tutorial)
You can follow the link below learning about the asp.net mvc with entity framework:
http://www.asp.net/mvc/tutorials/mvc-5/database-first-development/setting-up-database
If you want to learn the usage of webform,please refer to the link below:
Best Regards,
Kevin Shen.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, October 1, 2014 4:18 AM -
User-2007877324 posted
Please see this sample which should give a good start
Create a Movie Database Application in 15 Minutes with ASP.NET MVC
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, October 3, 2014 10:32 AM