MattHat
Explore posts from serversHow to pool SQLite connections
I am building a monolithic JSON api and wish to have sparate connection pools for readers and writers. System.Data.SQLite has connection option "Pooling" but there is no documentation what it does, and there is for example no MaxPoolSize or similiar. I am trying to achive 1 writer connection, and a pool of reader connections (1 connection per core max).
5 replies
Blazor index page captures static files
I am trying to learn .NET Blazor. My aim is to create an question taking app where the correct questionare is rendered by either the root domain ("default questionare" depending on the domain used to access the service), id or slug.
I have
app.UseStaticFiles()
in my pipeline before app.MapRzorComponents<App>()
but the component is still triggered by static files.
Program.cs
Questionare.razor:
Thanks for the help!1 replies