Ok! I’m ready to embark on some .NET development for the first time.
I’ve recently installed Microsoft Visual Studio which included Microsoft SQL Sever 2005.
What is the prefered method for programming against a development database? I want to write an ASP.NET application that uses a database and I’m not sure how to create one. In my start menu for SQL Server 2005 all I have is:
- SQL Server Configuration Manager
- SQL Server Error and Usage Reports
- SQL Server Surface Area Config
I don’t see an intuitive program to create and design databases on that list, so how do I do it?! Will I be creating a full fledged SQL Server database or a ‘flat-file’ fake database to program against?
Can someone please tell me what is up on creating my first MS SQL Server 2005 database?
If you’ve Visual Studio, just goto server explorer, Add a new database connection to your database, and start off.
Or, create a new website project in Visual studio, right click the App_Data folder->Add New Item and add a SQL Server database mdf file, which will be attached to the sql server when you run the app. You need to deploy the mdf file when doing a production release 🙂
You might want to watch the videos in ASP.NET website http://www.asp.net/learn/
Otherwise, consider using Microsoft SQL Server Management Studio (an express edition is also available).