Hi ,
Just to let you know if I select a Blazor Server template and select SQL Server RMBMS, then the nuget reference gets added with Orm.Sqlite and not Orm.SqlServer.
Johan
Hi ,
Just to let you know if I select a Blazor Server template and select SQL Server RMBMS, then the nuget reference gets added with Orm.Sqlite and not Orm.SqlServer.
Johan
Hi @Johan ,
Thanks, it should have both but use the SqlServer reference as the OrmLite Provider in the Configure.Db.cs
file.
<PackageReference Include="Markdig" Version="0.30.3" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="6.0.9" />
<PackageReference Include="ServiceStack" Version="6.*" />
<PackageReference Include="ServiceStack.Blazor" Version="6.*" />
<PackageReference Include="ServiceStack.OrmLite.Sqlite.Data" Version="6.*" />
<PackageReference Include="ServiceStack.Server" Version="6.*" />
<PackageReference Include="ServiceStack.OrmLite.SqlServer" Version="6.*" />
The Blazor Server template by itself requires a database which is why the Sqlite.Data reference is there, but thanks for the heads up, we will look at improving the process.