![]() |
VOOZH | about |
dotnet add package Simplify.Web --version 5.3.0
NuGet\Install-Package Simplify.Web -Version 5.3.0
<PackageReference Include="Simplify.Web" Version="5.3.0" />
<PackageVersion Include="Simplify.Web" Version="5.3.0" />Directory.Packages.props
<PackageReference Include="Simplify.Web" />Project file
paket add Simplify.Web --version 5.3.0
#r "nuget: Simplify.Web, 5.3.0"
#:package Simplify.Web@5.3.0
#addin nuget:?package=Simplify.Web&version=5.3.0Install as a Cake Addin
#tool nuget:?package=Simplify.Web&version=5.3.0Install as a Cake Tool
👁 Nuget Version
👁 Nuget Download
👁 Issues Board
👁 Build Package
👁 Libraries.io dependency status for latest release
👁 CodeFactor Grade
👁 Platform
Simplify.Web is an open-source, lightweight, fast, and highly customizable server-side .NET web framework based on ASP.NET Core for building HTTP-based web applications, RESTful APIs, etc.
The framework can be used as:
Can be hosted:
There is a templates package available at nuget.org for Simplify.Web. It contains a couple of templates which can be a good starting point for your application.
Install the templates package:
dotnet new -i Simplify.Web.Templates
| Template | Short Name |
|---|---|
| Angular template | sweb.angular |
| API template | sweb.api |
| Minimal template | sweb.minimal |
| Windows service hosted API template | sweb.api.windowsservice |
Use the short name to create a project based on the selected template:
dotnet new sweb.angular -n HelloWorldApplication
Then just run the project via F5 (it will download all required NuGet and npm packages at the first build).
[Get("api/v1/weatherTypes")]
public class SampleDataController : Controller2
{
private static readonly string[] Summaries =
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
};
public ControllerResponse Invoke()
{
try
{
return Json(Summaries);
}
catch (Exception e)
{
Console.WriteLine(e);
return StatusCode(500);
}
}
}
[Post("api/v1/sendMessage")]
public class SampleDataController : Controller2<SampleModel>
{
public ControllerResponse Invoke()
{
try
{
Trace.WriteLine($"Object with message received: {Model.Message}");
return NoContent();
}
catch (Exception e) when (e is ModelValidationException || e is Newtonsoft.Json.JsonException)
{
return StatusCode(400, e.Message);
}
catch (Exception e)
{
Console.WriteLine(e);
return StatusCode(500, "Site error!");
}
}
}
public class SampleModel
{
[Required]
public string Message { get; set; }
}
// Controller will be executed only on HTTP GET request like http://mysite.com/about
[Get("about")]
public class AboutController : Controller
{
public override ControllerResponse Invoke()
{
// About.tpl content will be inserted into {MainContent} in Master.tpl
return StaticTpl("Static/About", StringTable.PageTitleAbout);
}
}
Runs on any request and adds a login panel to pages.
// Controller will be executed on any request and will be launched before other controllers (because they have Priority = 0 by default)
[Priority(-1)]
public class LoginPanelController : AsyncController
{
public override async Task<ControllerResponse> Invoke()
{
return Context.Context.Authentication.User == null
// Data from GuestPanel.tpl will be inserted into {LoginPanel} in Master.tpl
? new InlineTpl("LoginPanel", await TemplateFactory.LoadAsync("Shared/LoginPanel/GuestPanel"))
// Data from LoggedUserPanelView will be inserted into {LoginPanel} in Master.tpl
: new InlineTpl("LoginPanel", await GetView<LoggedUserPanelView>().Get(Context.Context.Authentication.User.Identity.Name));
}
}
public class LoggedUserPanelView : View
{
public async Task<ITemplate> Get(string userName)
{
// Loading template from LoggedUserPanel.tpl asynchronously
var tpl = await TemplateFactory.LoadAsync("Shared/LoginPanel/LoggedUserPanel");
// Setting userName into {UserName} variable in LoggedUserPanel.tpl
tpl.Add("UserName", userName);
return tpl;
}
}
Below is the list of sample applications showing different variations of Simplify.Web usage:
There are many ways in which you can participate in the project. Like most open-source software projects, contributing code is just one of many outlets where you can help improve. Some of the things that you could help out with are:
Additional extensions to Simplify.Web live in their own repositories on GitHub. For example:
Licensed under the GNU LESSER GENERAL PUBLIC LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Simplify.Web:
| Package | Downloads |
|---|---|
|
Simplify.Web.Json
Simplify.Web JSON controller response and model binder |
|
|
Simplify.Web.MessageBox
Simplify.Web static message box templates and controller response |
|
|
Simplify.Web.Multipart
Simplify.Web multipart form model binder |
|
|
Simplify.Web.Postman
Postman collection and environment generation extension for Simplify.Web |
|
|
Simplify.Web.Swagger
Swagger extensions for Simplify.Web web-framework |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.3.0 | 103 | 6/26/2026 |
| 5.2.0 | 173 | 6/1/2026 |
| 5.2.0-pre01 | 102 | 6/1/2026 |
| 5.1.0 | 1,158 | 7/28/2024 |
| 5.0.0 | 1,338 | 6/5/2024 |
| 5.0.0-pre02 | 231 | 6/5/2024 |
| 5.0.0-pre01 | 587 | 6/1/2024 |
| 4.9.1 | 292 | 4/16/2024 |
| 4.9.0 | 397 | 1/8/2024 |
| 4.8.1 | 992 | 12/20/2023 |
| 4.8.0 | 245 | 12/20/2023 |
| 4.7.1 | 958 | 11/7/2023 |
| 4.7.0 | 774 | 8/20/2023 |
| 4.6.0 | 3,495 | 5/17/2022 |
| 4.5.1 | 1,798 | 4/27/2022 |
| 4.5.0 | 1,816 | 11/22/2021 |
| 4.4.3 | 653 | 10/19/2021 |
| 4.4.2 | 820 | 7/18/2021 |
| 1.7.0 | 370 | 4/30/2023 |
| 1.6.1 | 702 | 4/15/2022 |