3

I want to build an ASP.NET website with Entity Framework 5 but I do not have permission to install SQL Server on my system, is it possible? If yes, how? If not, any alternative, like files etc...

3
  • do you have permission to install anything? use external binaries/assemblies? Commented May 10, 2013 at 18:59
  • 2
    sql server compact edition? microsoft.com/en-us/sqlserver/editions/2012-editions/… Commented May 10, 2013 at 19:00
  • @Jean-BernardPellerin : I can install packages in visual studio via nuget, that's all! Commented May 11, 2013 at 15:45

3 Answers 3

5

If you can't install anything, then I'm afraid you're stuck with embedded databases like SQL Server Compact Edition or Sqlite. (and some NOSQL databases as well, I believe some of them don't require a server)

Just don't forget about one thing - embedded databases usually aren't enough for web environment.

For instance:

https://stackoverflow.com/questions/11591002/how-can-i-use-sqlite-in-a-c-sharp-project
http://www.microsoft.com/en-us/sqlserver/editions/2012-editions/compact.aspx

Sign up to request clarification or add additional context in comments.

10 Comments

RavenDB seems pretty cool too, messed around with it for a couple hours once.
Ah, I thought it was dual-licensed like mySql. So you can't even use it on a web site for free?
@MikeChristensen, as far as I know, only for open source projects.
@walther - Did a little digging and it seems you're right. Guess I won't be using that any time soon.
Agreed, that was a killer for me, too. Too bad they don't have an Express edition or something.
|
1

You could offload the database platform entirely to a remote Azure database; there's lots of info on this online, but this page might be a good starting point.

1 Comment

I appreciate your help, will have a look first then will raise further query.
1

An alternative would be to host your database on another service like AWS or Microsoft Azure.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.