episerver / content-templates

Apache License 2.0
12 stars 7 forks source link

Fixes inconsistent file naming on disk and code files #35

Closed JohanPetersson closed 2 years ago

JohanPetersson commented 2 years ago

The template engine replaces whitespace with - in filenames and _ in text files (namespaces and class names). That means db filenames on disk doesn't match the names in the connection strings. We need to use unambiguous source names, so unfortunately, we end up with ugly project names and namespaces. But this ensures everything gets replaced correctly, see https://github.com/dotnet/templating/wiki/Naming-and-default-value-forms.

Added restart on failure in Docker compose. Services are just started in correct order, but do not wait until they are ready. The db might take time to set up first time on a slow machine, then the web fails, and you have to 'docker up' again. There is no nice way to achieve this in another way, other than making the app itself more resilient.

Also updated with our v3 NuGet feed.