Skip to content

Kableado/VAR.WebFormsCore

Repository files navigation

VAR.WebFormsCore

MIT License

VAR.WebFormsCore is a web framework based lightly on ASP.Net WebForms.

Features

  • 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

Usage

Currently, there are two libraries:

  • VAR.WebFormsCore: Core implementation of WebFormsCore
  • VAR.WebFormsCore.AspnetCore: AspnetCore interface

And one test web-application:

  • VAR.WebFormsCore.TestWebApp: A simple example web-application using WebFormsCore.

Architecture

VAR.WebFormsCore is designed to be host-agnostic. It uses IWebContext to abstract away the underlying HTTP framework.

Execution Pipeline

  1. Middleware/Adapter: Receives the HTTP request (e.g., GlobalRouterMiddleware in AspNetCore).
  2. Context: Wraps the request in IWebContext.
  3. Router: GlobalRouter finds the appropriate IHttpHandler (usually a Page).
  4. Handler: ProcessRequest is called to generate the output.

Asset Bundling

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.

Building

An SLNX solution is provided, for usage on Visual Studio, Rider or any editor with Omnisharp.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

  • Valeriano Alfonso Rodriguez.

About

VAR.WebFormsCore is a web framework based lightly on ASP.Net WebForms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors