Get started - Setup server
SapphireDb-Server runs on an Asp.Net Core application. First step is to setup the server to use SapphireDb.
You need to have a working Asp.Net Core application and a configured DbContext.
To install the package execute the following command in your package manager console
You can also install the extension using NuGet package manager. The project can be found here: https://www.nuget.org/packages/SapphireDb/
You now have to change your DbContext to derive from
Register services and update pipeline
To use the SapphireDb you also have to make some changes in your
(Optional) Enable CORS
If you are using a client application that has a different origin than the server application you have to enable CORS
ExampleYou can also check out the example project: Example
Your SapphireDb-server should now work.Continue with the setup of a client