VistaDB 5
Zero Config deployment

Zero config deployment makes it easy to distribute your applications to any .NET 2 through .NET 4 machine. To deploy your applications, simply include the VistaDB managed assembly with your application. Or, for a truly embedded solution, use Microsoft's ILMerge utility to fully embed the VistaDB assembly directly into your EXE or DLL. VistaDB adds less than 1 MB to your .NET application, which makes VistaDB a fantastic database solution for building applications to be distributed over the Internet or included on flash devices.

  • Use Microsoft's ILMerge utility to embed VistaDB directly into your EXEs and DLLs
  • Deploy your applications using XCopy or FTP. Copy your application .EXE plus the VistaDB data engine assembly and any database files to the client machine, or web server
  • No special assembly or component registration is required on the target computer, which makes VistaDB an ideal solution for building shared hosting ASP.NET sites.
  • Access to the Registry, Windows folder and GAC is not required - You can deploy VistaDB to a shared hosting server with only standard read write file access folder (most hosts allow App_Data read/write access on shared hosts)

Simple Desktop Deployment

Simply deploy the VistaDB runtime with your .NET applications and that's it!

ASP.Net deployment

To deploy an ASP.NET application, FTP the VistaDB runtimes you use (the main DLL, the web DLL for membership providers, and the entities DLL for EF support) to your web site's \Bin folder, and upload your database files to App_Data.

Provider Factories

If you are using provider factories you will need to tell the application where to get the factory object.
Your web.config or app.config will need the DbProviderFactory entries if you load the database using provider factories.
See the app.config and web.config topic for more information.

Remarks

For more information view the online page with information about zero configuration databases.

In order to use zero config and no external .config file for your app or web application you must add a reference to VistaDB in your project. You cannot use Provider Factories for dynamic loading of the provider unless you tell the machine where to get the provider.

See Also