2

i am making a client side project on Winform 4.0 or WPF, the problem is how can i store my data at client side having no SQL server installation. I will provide a setup of my application which will be run by my client. Client cant install SQL server. Is there database avaiable in .net that doesn't required sql installation or any other way?

DDR
  • 1,272
  • 1
  • 12
  • 19

6 Answers6

3

You can use SQLite, which requires no installation. There are some ORMs out there that support SQLite, for example Dapper (which is used by StackOverflow as well.)

krizz
  • 412
  • 3
  • 5
3

If you have to do with just simple data you can use SQL Server CE or SQLite. Both will store data as files that you can create and access from code. To do this you'll just need some dlls in your project, no installation. But be sure to analyse the limitations - some data types are not supported by these simple data bases etc.

Maxim Zabolotskikh
  • 3,091
  • 20
  • 21
2

Have a look at RavenDb

You can have it embedded in your app. Fast and elegant

lboshuizen
  • 2,746
  • 17
  • 20
2

Something not mentionned yet: ManagedEsent. Simple to use and fast. For simple persitence, there is a PersistentDictionary class.

David Brabant
  • 41,623
  • 16
  • 83
  • 111
1

You could use a SQLite database, for this.

If you only want to store small things, like settings, I would recommend you the following link Build-in Settings, this is easier in use, than selecting, updating, inserting and deleting from a SQLite database. Another Pro is, that no dlls are required.

Community
  • 1
  • 1
Max
  • 12,622
  • 16
  • 73
  • 101
0

EntityWorker.Core new ORM and similar to entityframwork

Alen.Toma
  • 4,684
  • 2
  • 14
  • 31