İrşat
✅ Server side or Client side?
Use model when your page can't do without that data. You can also manage page content depending on that data more easily. As an example, user data in header, name and age.
Use AJAX (fetch) when you want asynchronous operations. That allows you to manage page without reloading. For instance, you could login, then say "Login successful!" to user without refreshing the page. If it fails, then you could say something is wrong, check password.
You could also try front end frameworks like Angular, React or Vue.
4 replies
✅ dotnet new react - with mvc?
You know what, I won't ask you to tell me this on top of virtual dom stuff that I already know nothing about. Let's keep it simple
I see the controllers folder in react app. All I need is creating Models folder, that's it 😄
63 replies