Issue with Blazor template Autoapply not working

I downloaded a fresh Blazor template, from this url Create new .NET 8 project - ServiceStack and after running the migration I get this error when attempting to save a new booking

SQLite Error 19: ‘NOT NULL constraint failed: Booking.CreatedBy’.

This is currently happening in another project I am working on and wanted to make sure I didn’t break anything before coming here.

Try creating a new project without selecting any mix options like AutoQuery which it’s already configured with, as it will override the template specific version.

Same thing happens without any mix options selected.

For some reason the Auth stopped being populated for InProcess Gateway (i.e. Blazor Server) requests. I’ve had to make a change in the pre-release versions and update the blazor template to include a Nuget.Config so it installs from the latest pre-release packages.

So if you download a new project from the template it should now work.

1 Like

Ok, I got this to work after I updated my nuget.config and updated all packages to 8.7.1

1 Like