WebBeaver 1.3.1

.NET Core 3.1
dotnet add package WebBeaver --version 1.3.1
NuGet\Install-Package WebBeaver -Version 1.3.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WebBeaver" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebBeaver --version 1.3.1
#r "nuget: WebBeaver, 1.3.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WebBeaver as a Cake Addin
#addin nuget:?package=WebBeaver&version=1.3.1

// Install WebBeaver as a Cake Tool
#tool nuget:?package=WebBeaver&version=1.3.1

WebBeaver

WebBeaver is a flexible web framework for c#.

Version Downloads

Installation

You can install WebBeaver with NuGet, or by importing the dll found in the release you want to use.

Example

using WebBeaver;
using WebBeaver.Framework;
class Program
{
	static void Main(string[] args)
	{
		// Create a webserver on port 80
		Http server = new Http(80);

		// Create a new router that uses our webserver
		Router router = new Router(server);

		// Import routes
		router.Import(Home);
		
		// Start the webserver
		server.Start();
	}
	[Route("/")]
	static void Home(Request req, Response res)
	{
		res.SendFile("/view/index.html");
	}
}
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.1 190 2/26/2022
1.3.0 142 12/26/2021
1.2.0 163 12/4/2021
1.1.0 1,073 11/20/2021
1.0.0 272 11/18/2021

Fixed an issue where the http server would stop working after one client connected