Search
Setup for Free
C
C#
Model not binding to View' issue in ASP.NET MVC
Original message was deleted
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,196
Members
View on Discord
Similar Threads
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
T
TeBeCo
•
7/27/23, 7:36 PM
look at the docs for
HttpClientFactory
HttpClientFactory
T
TeBeCo
•
7/27/23, 7:37 PM
I can
't tell about your bug
T
TeBeCo
•
7/27/23, 7:37 PM
but you
're literally creating at least one if not 2 other bugs with how you deal with HttpClient here
T
TeBeCo
•
7/27/23, 7:37 PM
you
're not supposed to both new
+ dispose it every single time inside any requests
T
TeBeCo
•
7/27/23, 7:38 PM
that
's what HttpClientFactory will do for you
T
TeBeCo
•
7/27/23, 7:39 PM
i don
't see any place you
're giving your View a Model BTW
T
TeBeCo
•
7/27/23, 7:39 PM
return View()
return View()
/
/ no model
F
Fatih
•
7/28/23, 11:06 AM
The main problem is that I cannot transfer the data I entered in the inputs
.
HttpClientFactory
HttpClientFactory
return View()
return View()
Similar Threads
✅ Model not binding to View' issue in ASP.NET
C
C# / help
3y ago
ASP.NET MVC
C
C# / help
2y ago
ASP.NET MVC
C
C# / help
3y ago
Form Data Binding Issue in ASP.NET Core MVC - Dictionary Not Receiving Values
C
C# / help
15mo ago