skip to Main Content

Asp.net – I receive null after Model Binding

I receive variable with null values after model binding. I don't know why, can someone explain what's wrong? Thank you. Title is null, Content is null after form submitting. Create.cshtml <form asp-action="Create" method="post"> @Html.AntiForgeryToken() <div asp-validation-summary="ModelOnly" class="text-danger"></div> <div class="form-group"> <label…

VIEW QUESTION

ASP.NET [PageRemote] did't work with class. Why?

This is ASP.NET Razor Pages Project with ASP.NET Identity Registration Page (.NET 8). Email checking (PageRemote) works fine, but only if the Email property is not a member of the Input class (automatically generated by ASP.NET Identity) [BindProperty] [Required] [EmailAddress]…

VIEW QUESTION

Asp.net Identity JWT Issue

I have tried to implement JWT token authorisation into my system but it's not working. I'm new to ASP.net so please go easy on me. I can login fine and i do get the token as expected. But when I…

VIEW QUESTION
Back To Top
Search