One engine, everywhere
AmbesaSQL® is a single database engine that runs in three places: inside your application, on a server and in the browser. It is not three products with three dialects: it is the same engine, with the same SQL.
Three places, one engine
- Inside your application. The engine runs inside the .NET process and keeps its databases on disk, next to the executable. There is no server to install. This very site stores its form that way.
- On a server. AmbesaSQL® Server carries the same engine, and applications connect to it over the network.
- In the browser. The same engine, in WebAssembly, keeps the database in the browser's own storage. The web application has its data with no database server behind it.
The only thing that changes: the connection string
When an application that started with the engine inside needs a server, nothing is rewritten: only the string changes.
- With the engine inside
Database=Shop- With AmbesaSQL® Server
Host=db.example.com;Database=Shop;Username=ana;Password=...
The code is the same in both cases:
await using AmbesaSqlConnection connection = new AmbesaSqlConnection(connectionString);
The string comes from the configuration. So the same application runs with the engine inside in one place and against the server in another.
What does not change
- The SQL: the same statements in the three places.
- The data types.
- The results: the same query returns the same thing, wherever the engine runs.
- The errors: the same exceptions, with the same SQLSTATE code.
- Between the engine inside and the server, the ADO.NET provider, without changing engine, provider or dialect.
Who it is for
- The application that starts on one computer and grows into a server.
- The program installed with the same code in a small shop and in a medium-sized company.
- The web application that keeps its data in the browser.