Description
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/validation?view=aspnetcore-10.0&tabs=visual-studio#apply-migrations
The output SQL is not what SQLite produces, so I spenta bunch of time trying to figure out why this section wasn't working for me. At the beginning of the tutorial, you suggested using SQLite for development. It's worth noting in the final section that in development mode, SQLite does not support StringLength because it casts string as TEXT not VARCHAR. See this bug dotnet/efcore#3698
Page URL
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/?view=aspnetcore-10.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/razor-pages/index.md
Document ID
3e28328b-9c7a-359b-2f57-319b0bc7eea3
Platform Id
4b94ee47-4be6-a01e-c00e-77f6e53fbf71
Article author
@wadepickett
Metadata
- ID: 66f32b67-7418-7f82-c813-c11650bb39a7
- PlatformId: 4b94ee47-4be6-a01e-c00e-77f6e53fbf71
- Service: aspnet-core
- Sub-service: tutorials
Related Issues
Associated WorkItem - 626915
Description
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/validation?view=aspnetcore-10.0&tabs=visual-studio#apply-migrations
The output SQL is not what SQLite produces, so I spenta bunch of time trying to figure out why this section wasn't working for me. At the beginning of the tutorial, you suggested using SQLite for development. It's worth noting in the final section that in development mode, SQLite does not support StringLength because it casts
stringasTEXTnotVARCHAR. See this bug dotnet/efcore#3698Page URL
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/?view=aspnetcore-10.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/razor-pages/index.md
Document ID
3e28328b-9c7a-359b-2f57-319b0bc7eea3
Platform Id
4b94ee47-4be6-a01e-c00e-77f6e53fbf71
Article author
@wadepickett
Metadata
Related Issues
Associated WorkItem - 626915