C
C#2y ago
Di0n

ASP.NET Page with child and parent

Good night, I have a control page and atm it only has a side bar and I wanted to know if its possible to have a child /parent page inside that page like WindowsForms. My Idea is basically having the sidebar as the Main Page anmd when the user clicks in one of the options it doesnt change the page only the "Square" right next to the Side Bar (The side bar is on the left). Also wanted to know if there is better and more secure aways of sending data from Front End to Back End without using POST
8 Replies
Angius
Angius2y ago
Razor Pages and MVC are rendered server-side So the whole page will reload But you can pull out the sidebar to a layout, for example
Di0n
Di0nOP2y ago
Ye that was my idea in case the child parent thingy didnt work
Angius
Angius2y ago
Far as secure ways of sending data... why would a POST request not be secure?
Di0n
Di0nOP2y ago
ok let me rephrase if there is a better way of sending data isntead of
<form method="post">
<form method="post">
sry in advance if im just being dumb
Angius
Angius2y ago
Besides using Javascript, no But even then, it would still just be a POST request Although, with JS, you could use websockets instead, if you wanted to
Di0n
Di0nOP2y ago
so with POST im all good and its a good way to transfer data from frond end to backend?
Angius
Angius2y ago
Yes As long as you use HTTPS, it will be secure
Di0n
Di0nOP2y ago
alr understood. Tysm for your help and time bow
Want results from more Discord servers?
Add your server