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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,21 +17,21 @@ Well, now there is!
17
17
18
18
AspNetStatic lets you generate a static website with the same ASP.NET Core tools you love and use every day. Just add this module and a bit of configuration, and BAM!, you have yourself a static site generator.
19
19
20
-
But wait, there's more!
20
+
#### But wait, there's more!
21
21
22
22
AspNetStatic can also be used in a mixed mode configuration where some of the pages in your site are static html files (generated with the same \_layout & page layers that define the look & feel of the rest of your site), while others remain dynamically generated per request. See _Partial Static Site_ under _Scenarios_ section below.
23
23
24
-
Oh, and one more thing!
24
+
#### What about Blazor?
25
25
26
-
AspNetStatic now works with Blazor websites, thanks to the new Blazor SSR capability in ASP.NET Core 8.
26
+
Yes, AspNetStatic works great with Blazor too.
27
27
28
-
> :bulb: Blazor pages must not rely on any client-side (JS, WASM) behavior for rendering, or behaviors like showing a placeholder (e.g. a spinner) before rendering the actual content. The rule-of-thumb (for any technology you use with AspNetStatic) is that as long as the content has completed rendering by the time AspNetStatic receives it (via its HttpClient request), it will work fine.
28
+
> :bulb: Blazor pages must not rely on any client-side (JS, WASM) behavior for rendering, or behaviors like showing a placeholder (e.g. a spinner) before rendering the actual content. The rule-of-thumb (for any tech you want to use with AspNetStatic) is that as long as the content has completed rendering by the time AspNetStatic receives it (via its http request), it will work fine.
29
29
30
30
### No Frameworks. No Engines. No Opinions!
31
31
32
32
Build your ASP.NET site the way you always have. AspNetStatic doesn't have any opinions about how you should build your server-rendered site.
33
33
AspNetStatic is not a framework. It's not a CMS. There's no blog engine. It has no templating system.
34
-
AspNetStatic does just one thing, create static files for selected routes in your ASP.NET Core app.
34
+
AspNetStatic does just one thing, create static files for selected routes in your ASP.NET Core project.
35
35
That means you can use whatever framework, component, package, or architectural style you like. Want to use a blog engine? No problem. Want to use a CMS? No problem. Want to create a documentation site using a markdown processor to render page content? No problem!
36
36
AspNetStatic doesn't care; it will create optimized static files no matter how the content is produced by the server.
37
37
@@ -42,7 +42,7 @@ AspNetStatic doesn't care; it will create optimized static files no matter how t
42
42
43
43
It's a piece of cake.
44
44
45
-
1. Add the Nuget Package to your ASP.NET Core web app project
45
+
1. Add the Nuget Package to your ASP.NET Core project
0 commit comments