WebExpress is a lightweight, high-performance web server designed to scale seamlessly from resource-constrained environments to larger production systems. Through its extensible plugin framework and comprehensive API, web applications can be developed and integrated quickly using .NET languages such as C#. Some of the key benefits 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 WebExpress applications and the documentation.
- WebExpress.WebCore - The core for WebExpress applications.
- WebExpress.WebUI - Common templates and controls for WebExpress applications.
- WebExpress.WebIndex - Reverse index for WebExpress applications.
- WebExpress.WebApp - Business application template for WebExpress applications.
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.
A tutorial to demonstrate the WebIndex. The tutorial discusses and explains how to use the WebIndex and WebExpress jobs.
- Create a
WebExpressapplication after the WebApp tutorial but name itWebExpress.Tutorial.WebIndex.
-
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
WebIndex.Appproject.cd WebIndex.App\bin\Release\net9.0 dotnet run --project ../../../WebIndex.App.csproj
-
After compiling, there should be a file with the
.wxpextension in thepkg/Releasedirectory. This file do you need in WebExpress.
- Check the result by calling up the following URL in the browser: http://localhost/webindex
Good luck!
The crawler downloads HTTP and HTTPS pages with HttpClient and extracts their title, language, text, and absolute anchor targets with the WebCore HtmlTokenizer. Script, style, and comment content is excluded from the index. Relative links remain outside the crawl queue.
The response decoder honors byte order marks, HTTP charset headers, and HTML charset declarations in the first 1024 bytes, in that order. Pages without a usable declaration use UTF-8. Legacy code pages use the encoding provider included in .NET.
For local development, place the framework repositories next to this repository and build with DebugLocal so the crawler uses the current WebCore tokenizer. From the repository root, run dotnet build src/WebIndex.Test/WebExpress.Tutorial.WebIndex.Test.csproj -c DebugLocal, followed by src/WebIndex.Test/bin/DebugLocal/net10.0/WebExpress.Tutorial.WebIndex.Test.exe. Package-based configurations require framework packages built from the corresponding source revision.
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
