Posting Data from the Client Side

It matters not what someone is born, but what they grow to be.

—J. K. Rowling, “Harry Potter and the Goblet of Fire”

Admittedly, the problem of posting data to a web server from an HTML form has always been a no-brainer. HTML does it all for you, and all you must learn is how to cope with the basic syntax of HTML. As far as forms are concerned, the HTML syntax hasn’t changed at all since the early days up to HTML5. In this chapter, we face reality. Reality says that it is much less acceptable for an end user to sustain a classic HTML form than it was a few years ago. Having the browser carry on the posting of a form means that a full page refresh will occur. This might be acceptable for a login form, ...

Get Programming ASP.NET Core, First edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.