After my presentation about Sync Services for ADO.NET at MSDN Live in Bergen I got some questions. Since the questions are relevant for everyone that participated at MSDN live I will address them here in my blog. The questions concerned both SQL Server Compact and Sync Services for ADO.NET.
What is the max size of a Sql Server Compact database?
4 GB is the max size of a SQL Server Compact database and it supports multiple connections up to 256.
Read more here: http://msdn2.microsoft.com/en-us/library/aa983341(vs.80).aspx.
How do to redistribute SQL Server Compact with my application?
There are two deployment options; traditional Microsoft Windows Installer and “xcopy” deployment.
If you choose to use the Windows Installer option you choose SQL Server Compact as a prerequisite and the installer will automatically download the bits for SQL Server Compact from somewhere in the internet cloud.
If you go for the xcopy option, you have to add the SQL Server Compact dlls as a part of your project. You find these dlls under C:\Program Files\Microsoft SQL Server Compact Edition\.
Read more here: http://msdn2.microsoft.com/en-us/library/aa983326(VS.80).aspx.
Is Sync Services for ADO.NET shipped with the next version of .NET Compact Framework?
Sync Services for ADO.NET is not supported for .NET Compact Framework in VS2008 Beta 2. I think Microsoft will ship this feature for .NET CF in a later stage.
There are several threads on the Sync Services forum about this topic.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1475649&SiteID=1