-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
CypherPotato
committed
May 2, 2023
1 parent
80e9368
commit 54b0a85
Showing
20 changed files
with
839 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,53 @@ | ||
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 poweful web applications. It's an alternative to Microsoft's ASP.NET Core, which it's simpler and easy to understand and control. | ||
# 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. | ||
|
||
```cs | ||
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 response/second average | ||
- Support to operating system's native HTTP interface listener | ||
- Ultra fast asynchronous response/second average | ||
- Uses the operating system's native HTTP interface listener | ||
- Sustainable and maintainable | ||
- Database-agnostic | ||
- Code-pattern-agnostic | ||
- Easy setup | ||
- Same code implementation for *nix, Mac OS and Windows | ||
- Asynchronous request handling | ||
- Middlewares, before and/or after request handlers | ||
- Configurable error handling | ||
- Support to log access/error logs | ||
- 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# | ||
|
||
## Documentation | ||
|
||
The specification is complete, however, tutorials are yet to come. By the way, you can access the Sisk documentation [here](https://sisk.proj.pw/#/docs/getting-started) or it's specification [here](https://sisk.proj.pw/#/spec/index). | ||
|
||
You can also view release change logs [here](https://github.com/sisk-http/docs/blob/master/Changelog.md). | ||
You can learn how to get started with Sisk [here](https://sisk.project-principium.dev/#/docs/getting-started). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.