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
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.
14
+
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
15
16
-
Framework can be used as:
16
+
The framework can be used as:
17
17
18
18
- 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
19
+
-A mix of API backend + SPA front end (e.g., Angular)
20
+
-A traditional backend-generated website
21
21
22
22
Can be hosted:
23
23
24
-
- The same way as an ApsNetCore MVC application (On IIS, or as a console application)
25
-
- Inside a windows service
24
+
- The same way as an ASP.NET Core MVC application (on IIS or as a console application)
25
+
- Inside a Windows service
26
26
27
27
## Main features
28
28
29
29
- Comes as Microsoft.AspNetCore middleware
30
30
- Can be used as an API backend only with front-end frameworks
31
31
- 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))
32
+
- Lightweight & fast
33
+
- Uses a switchable IoC container for itself and controllers, views constructor injection ([Simplify.DI](https://github.com/SimplifyNet/Simplify/wiki/Simplify.DI))
34
+
-Supports async controllers
35
+
- Supports controllers which can run on any request
36
+
- Localization-friendly (supports templates, strings, and data files localization by default)
37
+
- Uses a fast template engine ([Simplify.Templates](https://github.com/SimplifyNet/Simplify/wiki/Simplify.Templates))
38
38
- Mocking-friendly
39
39
- Mono-friendly
40
40
41
41
## Quick start
42
42
43
43
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
44
45
-
Installing a templates package:
45
+
Install the templates package:
46
46
47
47
```console
48
48
dotnet new -i Simplify.Web.Templates
@@ -51,17 +51,17 @@ dotnet new -i Simplify.Web.Templates
### Some simple HTML generation controllers example
129
+
### Simple HTML generation controllers example
130
130
131
131
#### Static page controller v1 example
132
132
@@ -145,7 +145,7 @@ public class AboutController : Controller
145
145
146
146
#### Any page controller v1 with high run priority example
147
147
148
-
Runs on any request and adds login panel to a pages
148
+
Runs on any request and adds a login panel to pages.
149
149
150
150
```csharp
151
151
// Controller will be executed on any request and will be launched before other controllers (because they have Priority = 0 by default)
@@ -186,11 +186,11 @@ public class LoggedUserPanelView : View
186
186
Below is the list of sample applications showing different variations of Simplify.Web usage:
187
187
188
188
-[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)
189
+
-[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)
193
+
-[Simple Kestrel-based application hosted as a Windows service](https://github.com/SimplifyNet/Simplify.Web/tree/master/src/SampleApps/SampleApp.WindowsServiceHosted)
194
194
195
195
## Contributing
196
196
@@ -213,9 +213,9 @@ Additional extensions to Simplify.Web live in their own repositories on GitHub.
213
213
-[Simplify.Web.Postman](https://github.com/SimplifyNet/Simplify.Web.Postman) - Postman collection and environment generation
214
214
-[Simplify.Web.Swagger](https://github.com/SimplifyNet/Simplify.Web.Swagger) - Swagger generation for controllers
215
215
-[Simplify.Web.Multipart](https://github.com/SimplifyNet/Simplify.Web.Multipart) - multipart form model binder
Copy file name to clipboardExpand all lines: src/SampleApps/SampleApp.Angular/README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,11 @@
16
16
### Via Microsoft Visual Studio
17
17
18
18
1. Run debug of `SampleApp.Angular` profile in Microsoft Visual Studio
19
-
2.<http://localhost:5000> URL will be opened in browser, wait some time and user will be redirected to <https://localhost:10900> URL
19
+
2.<http://localhost:5000> URL will be opened in browser. Wait until the Angular front end is ready; you will then be redirected to <https://localhost:10900>.
20
20
21
21
#### Commands sequence
22
22
23
23
1. Visual Studio will open <http://localhost:5000> URL
24
24
2. SPA backend will execute `npm install` command
25
-
2. SPA backend will execute `npm run start` which will trigger `ng build` and `ng serve` commands
26
-
4. After successful launch of Angular front end application user will be redirected to <http://localhost:5000> URL
25
+
3. SPA backend will execute `npm run start`, which will trigger `ng build` and `ng serve` commands
26
+
4. After successful launch of the Angular front end application, you will be redirected to <https://localhost:10900> URL
0 commit comments