Answer the question
In order to leave comments, you need to log in
How to generate a web page without recreating?
Good afternoon.
Please explain - in ASP.NET WebForms, each page on the postback is recreated anew (a new page class object is created and a new page is returned to the client), which must always be kept in mind. Are there other implementations, or is the same thing going on in all approaches? Are there alternatives to this approach?
PS: About Session and ViewState in the know.
Answer the question
In order to leave comments, you need to log in
not my profile, but as far as I remember, webforms are tightly tied to the ViewState, and it seems like just a page update. although you can of course use both ajax and frame. but in any case, you will have to gnaw at the granite of science
.
MVS.NET is not bound by such restrictions as ViewState, nevertheless, the solutions for partial updating of fragments are still the same - ajax, frame, and of course the tools of modern frameworks such as react, angular, vue, and others like that .. well, any handwritten js code too
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question