Reputation: 51
I am developing a small application with ASP and C# in .NET and I want to have a small local database next to it where I can save and retrieve records by either SQL queries or Linq queries. I don't need anything powerful, just something to use instead of keeping records in .txt files.
So what's your suggestion?
Upvotes: 3
Views: 7934
Reputation: 8934
In your case I would consider the following:
Don't go with SQL Express unless it's been already provided by your hoster. It increases complexity of distributing/installing of your solution.
Upvotes: 0
Reputation: 1569
I'll consider SQLite for this purposes.
If you are more comfortable with MS tools, or for some reason (i.e. your company already has a well formed mdb database file) you can use MS Access too, for local and small applications.
Upvotes: 1
Reputation: 1433
No one's mentioned it yet so here it is. mySQL and the .Net mySQL client.
Upvotes: 0
Reputation: 483
I recommend you to use SQL Server Express, becuase
Upvotes: 0
Reputation: 1218
Best to use SQL Express edition since it comes for free. Try using .NET entity framework code first for rapid application development.
In any case application is very small consider using SQL express since you can write neat and clean stored procedures and can play with other database objects.
Please refer http://www.microsoft.com/sqlserver/en/us/editions/express.aspx for more details.
Upvotes: 1
Reputation: 6149
I would go with either SQLLite or with XML since you are saying very small database.
And with xml you can use Linq to xml
Upvotes: 2