Sisk.ServiceProvider
0.13.1
Prefix Reserved
Suggested Alternatives
Additional Details
Since Sisk version 0.16, this feature is built into its core and it is no longer necessary to install an additional package for this.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Sisk.ServiceProvider --version 0.13.1
NuGet\Install-Package Sisk.ServiceProvider -Version 0.13.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="Sisk.ServiceProvider" Version="0.13.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sisk.ServiceProvider --version 0.13.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sisk.ServiceProvider, 0.13.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sisk.ServiceProvider as a Cake Addin #addin nuget:?package=Sisk.ServiceProvider&version=0.13.1 // Install Sisk.ServiceProvider as a Cake Tool #tool nuget:?package=Sisk.ServiceProvider&version=0.13.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Welcome to Sisk
Sisk is a powerful framework for building powerful web applications for Windows, Linux and Mac.
With Sisk, you can use the full power of .NET to create fast, dynamic and powerful web applications. It's an alternative to Microsoft's ASP.NET Core, which is simpler and easier to understand and setup.
public class Program
{
static void Main(string[] args)
{
HttpServer http = HttpServer.Emit(
insecureHttpPort: 5555,
out HttpServerConfiguration serverConfig,
out ListeningHost listeningHost,
out Router mainRouter
);
mainRouter += new Route(RouteMethod.Get, "/", request =>
{
return new HttpResponse(200) { Content = new StringContent("Hello, world!") };
});
http.Start();
Console.WriteLine($"HTTP server is listening on {http.ListeningPrefixes[0]}");
Thread.Sleep(-1);
}
}
Main features:
- 100% open source
- Multi-platform and cross-operating system
- Ultra fast asynchronous response/second average
- Uses the operating system's native HTTP interface listener
- Sustainable and maintainable
- Code-pattern-agnostic
- Easy setup
- Same code implementation for *nix, Mac OS and Windows
- Middlewares, before and/or after request handlers
- Configurable error handling
- Support to log advanced logging with rotating support
- Easy Cross-Origin Resource Sharing setup
- Server Side Events and Web Sockets support
- Multiple listening hosts per service
- Advanced routing system
- Less than 170kb the entire package
- Written in C#
You can learn how to get started with Sisk here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Sisk.HttpServer (>= 0.13.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.