❔ Razor Pages Session for revalidating Page Model
Can someone help me to configure the Session for Razor Pages, that I can use
is throwing a
I can't find any hint about the online
https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.razorpages.pagemodel.tryvalidatemodel?view=aspnetcore-7.0
The debugger is actually stepping over it, but the trace says:
The server side page Post method looks like this:
TryValidateModel()?is throwing a
InvalidOperationException: Session has not been configured for this application or request.error?I can't find any hint about the online
https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.razorpages.pagemodel.tryvalidatemodel?view=aspnetcore-7.0
The debugger is actually stepping over it, but the trace says:
The server side page Post method looks like this:
Validates the specified model instance.
