WebForms Core (WFC) is a server-driven technology for manipulating HTML elements from server-side code. It radically simplifies front-end development: you design your HTML page and manage its interface directly from the server.
The Renaissance of the Server
WebForms Core uses a server-command/client-execution approach instead of the conventional request–response/rendering model commonly used by web frameworks to manage interactive UI state.
In WebForms Core, the WebForms class on the server communicates with WebFormsJS in the browser. The server generates commands that WebFormsJS executes directly against the HTML DOM.
To use WebForms Core, include WebFormsJS in the <head> section of your HTML page and use the WebForms class on the server side.
WebForms form = new WebForms();
form.AddTag("<form>", "h3");
form.AddText("<h3>-1", "File was upload.");
form.AddTag("<form>", "img");
form.SetAttribute("<form>|<img>-1", "src", FilePath);
form.SetWidth("<form>|<img>-1", 400);
Write(form.Response());