VAR.WebFormsCore is a web framework based lightly on ASP.Net WebForms.
- Components
- Control
- HtmlGenericControl, Panel
- Button
- Label and LiteralControl
- HiddenField
- TextBox and CTextBox
- HtmlHead, HtmlMeta, HtmlBody and Page
- Checkbox and Radiobutton
- DataGrid
- FileUpload
- Pages
- Common page
- Error page
- Login page
- Interface
- AspnetCore
Currently, there are two libraries:
VAR.WebFormsCore: Core implementation of WebFormsCoreVAR.WebFormsCore.AspnetCore: AspnetCore interface
And one test web-application:
VAR.WebFormsCore.TestWebApp: A simple example web-application using WebFormsCore.
VAR.WebFormsCore is designed to be host-agnostic. It uses IWebContext to abstract away the underlying HTTP framework.
- Middleware/Adapter: Receives the HTTP request (e.g.,
GlobalRouterMiddlewarein AspNetCore). - Context: Wraps the request in
IWebContext. - Router:
GlobalRouterfinds the appropriateIHttpHandler(usually aPage). - Handler:
ProcessRequestis called to generate the output.
The framework automatically bundles CSS and JS files from both embedded resources in the core library and physical files in the application's Styles/ and Scripts/ folders using StylesBundler and ScriptsBundler.
An SLNX solution is provided, for usage on Visual Studio, Rider or any editor with Omnisharp.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
- Valeriano Alfonso Rodriguez.