You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-25Lines changed: 24 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,40 +9,39 @@
9
9
[](https://libraries.io/nuget/Simplify.Web)
Simplify.Web is an open-source, lightweight, fast and highly customizable server-side .NET web-framework based on ASP.NET Core for building HTTPbased web-applications, RESTful APIs etc.
13
+
Simplify.Web is an open-source, lightweight, fast, and highly customizable server-side .NET webframework based on ASP.NET Core for building HTTP-based webapplications, RESTful APIs, etc.
15
14
16
-
Framework can be used as:
15
+
The framework can be used as:
17
16
18
17
- An API backend framework
19
-
-As a mix of API backend + some SPA front end like Angular
20
-
-As an old way backendgenerated web-site
18
+
-A mix of API backend + SPA front end (e.g., Angular)
19
+
-A traditional backend-generated website
21
20
22
21
Can be hosted:
23
22
24
-
- The same way as an ApsNetCore MVC application (On IIS, or as a console application)
25
-
- Inside a windows service
23
+
- The same way as an ASP.NET Core MVC application (on IIS or as a console application)
24
+
- Inside a Windows service
26
25
27
26
## Main features
28
27
29
28
- Comes as Microsoft.AspNetCore middleware
30
29
- Can be used as an API backend only with front-end frameworks
31
30
- Based on MVC and MVVM patterns
32
-
- Lightweight & Fast
33
-
- Uses switchable IOC container for itself and controllers, views constructor injection ([Simplify.DI](https://github.com/SimplifyNet/Simplify/wiki/Simplify.DI))
34
-
-Support async controllers
35
-
- Supports controllers which can be run on any request
36
-
- Localization-friendly (supports templates, strings and data files localization by default)
37
-
- Uses fast templates engine ([Simplify.Templates](https://github.com/SimplifyNet/Simplify/wiki/Simplify.Templates))
31
+
- Lightweight & fast
32
+
- Uses a switchable IoC container for itself and controllers, views constructor injection ([Simplify.DI](https://github.com/SimplifyNet/Simplify/wiki/Simplify.DI))
33
+
-Supports async controllers
34
+
- Supports controllers which can run on any request
35
+
- Localization-friendly (supports templates, strings, and data files localization by default)
36
+
- Uses a fast template engine ([Simplify.Templates](https://github.com/SimplifyNet/Simplify/wiki/Simplify.Templates))
38
37
- Mocking-friendly
39
38
- Mono-friendly
40
39
41
40
## Quick start
42
41
43
42
There is a [templates package](https://github.com/SimplifyNet/Simplify.Web.Templates) available at nuget.org for Simplify.Web. It contains a couple of templates which can be a good starting point for your application.
44
43
45
-
Installing a templates package:
44
+
Install the templates package:
46
45
47
46
```console
48
47
dotnet new -i Simplify.Web.Templates
@@ -51,17 +50,17 @@ dotnet new -i Simplify.Web.Templates
### Some simple HTML generation controllers example
128
+
### Simple HTML generation controllers example
130
129
131
130
#### Static page controller v1 example
132
131
@@ -145,7 +144,7 @@ public class AboutController : Controller
145
144
146
145
#### Any page controller v1 with high run priority example
147
146
148
-
Runs on any request and adds login panel to a pages
147
+
Runs on any request and adds a login panel to pages.
149
148
150
149
```csharp
151
150
// Controller will be executed on any request and will be launched before other controllers (because they have Priority = 0 by default)
@@ -186,11 +185,11 @@ public class LoggedUserPanelView : View
186
185
Below is the list of sample applications showing different variations of Simplify.Web usage:
187
186
188
187
-[Only as an API backend with Angular + Bootstrap UI SPA](https://github.com/SimplifyNet/Simplify.Web/tree/master/src/SampleApps/SampleApp.Angular)
189
-
-[Kestrel-based Application with backend HTML generation, localization, authentication](https://github.com/SimplifyNet/Simplify.Web/tree/master/src/SampleApps/SampleApp.Classic)
188
+
-[Kestrel-based application with backend HTML generation, localization, authentication](https://github.com/SimplifyNet/Simplify.Web/tree/master/src/SampleApps/SampleApp.Classic)
-[Simple Kestrel-based Application hosted as windows-service](https://github.com/SimplifyNet/Simplify.Web/tree/master/src/SampleApps/SampleApp.WindowsServiceHosted)
192
+
-[Simple Kestrel-based application hosted as a Windows service](https://github.com/SimplifyNet/Simplify.Web/tree/master/src/SampleApps/SampleApp.WindowsServiceHosted)
194
193
195
194
## Contributing
196
195
@@ -213,9 +212,9 @@ Additional extensions to Simplify.Web live in their own repositories on GitHub.
213
212
-[Simplify.Web.Postman](https://github.com/SimplifyNet/Simplify.Web.Postman) - Postman collection and environment generation
214
213
-[Simplify.Web.Swagger](https://github.com/SimplifyNet/Simplify.Web.Swagger) - Swagger generation for controllers
215
214
-[Simplify.Web.Multipart](https://github.com/SimplifyNet/Simplify.Web.Multipart) - multipart form model binder
0 commit comments