WebExpress is a lightweight web server optimized for use in low-performance environments (e.g. Raspberry Pi). By providing a powerful plugin system and a comprehensive API, web applications can be easily and quickly integrated into a .NET language (e.g. C#). Some advantages of WebExpress are:
- It is easy to use.
- It offers a variety of features and tools that can help you build and manage your website.
- It is fast and efficient and can help you save time and money.
- It is flexible and can be customized to meet your specific requirements.
The WebExpress family includes the following projects:
- WebExpress - The web server for
WebExpressapplications and the documentation. - WebExpress.WebCore - The core for
WebExpressapplications. - WebExpress.WebUI - Common templates and controls for
WebExpressapplications. - WebExpress.WebIndex - Reverse index for
WebExpressapplications. - WebExpress.WebApp - Business application template for
WebExpressapplications.
WebExpress is part of the WebExpress family. The project provides a web server for WebExpress applications.
To get started with WebExpress, use the following links.
This tutorial guides you through demonstrating the UI elements of a WebExpress application. Learn how to effectively use the templates and controls provided by the WebExpress.WebUI project.
- Create a
WebExpressapplication after the WebApp tutorial but name itWebExpress.Tutorial.WebUI.
-
Compile the solution as a release. To do this, open the command line or terminal in the solution directory and run the following command:
dotnet build --configuration Release
This command compiles the solution in release mode. You can find the compiled files in the
bin/Releasedirectory of your project. -
Run the solution by starting the
WebApp.Appproject.cd WebApp.App\bin\Release\net9.0 dotnet run --project ../../../WebApp.App.csproj
-
After compiling, there should be a file with the
.wxpextension in thepkg/Releasedirectory. This file do you need inWebExpress.
- Check the result by calling up the following URL in the browser: http://localhost/webui
For local administration, sign in with the demonstration account admin and password password. The tutorial's login form and the central authentication endpoint use the same identity provider. The account carries SystemAccessPolicy and can open Settings > System > Certificates. Invalid credentials are rejected, and the editable Monkey Island characters do not receive administrator rights.
For an existing browser login, sign out and sign in again after updating the tutorial. Previously issued tokens retain their original identity and policies; refreshing the page or renewing the old token does not grant the new administrator policy.
For deployment separation, run this tutorial over HTTP during development. Its published credentials are demonstration data and must not be deployed as a production administrator account. Production applications require their own identity provider and credentials, plus HTTPS. Configure authentication in the executable host's active settings directory, such as WebExpress.Develop.App/settings/webexpress.settings.json when using the combined development host.
Good luck building stunning web applications with WebExpress!
Parts of this software, its documentation, and its assets were created with the assistance of AI-based tools, including large language models. AI-assisted contributions are reviewed by the project maintainer before they are included.
#WebExpress #WebServer #WebCore #WebUI #Tutorial #DotNet
