İrşat
İrşat
CC#
Created by wwww on 9/25/2023 in #help
✅ 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
CC#
Created by İrşat on 9/25/2023 in #help
❔ .NET 7 + React deployment concept?
still up
3 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
love this channel
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
yay, level up
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
It got cleared so much
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
no need for server side rendering
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
I was just wondering if react, anguler, vue etc are all spas
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
SPA that changes asynchronously changes the dom?
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
Another thing is, is this react app single page application by default as it should be?
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ 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
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
views/pages
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
I see, what do they do 😄
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
wait, mvc have views too, why would I need those...
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
Wait, I didn't go into any razor page stuff before so I am confused here a little. React is client side, a virtual dom. Why should it have razor pages?
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
It's just I like mvc more
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
Awesome, but apis can also be mvc. It didn't give me an mvc structure by default so I thought I needed some extra cli command next to react but that didn't work.
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
Wow. Then could this also be used for a mobile app or something? By sending requests to end points of this api
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
React app is like a software that is completely given to user, and I have an api which react app sends requests to here?
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
That's what confused me about react app
63 replies
CC#
Created by İrşat on 2/20/2023 in #help
✅ dotnet new react - with mvc?
That's what I did then
63 replies