C#C
C#3y ago
G

❔ ASP.NET Razor pages, understanding data

Hello, I would greatly appreciate it if someone can help me understand how data works within razor pages or the ASP.NET.

I have used
[BindProperties(Support GET = True)]

to receive data from another cshtml page which works. I then do a post action and my properties lose their values.
Screenshot_2023-11-01_143846.png
Screenshot_2023-11-01_143915.png
Screenshot_2023-11-01_143935.png
Was this page helpful?