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
description: Transform ASP.NET Core into a Static Site Generator
11
+
- Razor (.cshtml, .razor)
12
+
description: Transforms ASP.NET Core into a Static Site Generator
13
13
---
14
14
15
-
## Transform ASP.NET Core into a Static Site Generator
16
-
17
-
If you're an ASP.NET developer who wants to create static web sites with ASP.NET instead of yet another tech stack (and/or way of constructing pages & sites) just for this task, then AspNetStatic is what you've been looking for.
15
+
### Transform ASP.NET Core into a Static Site Generator
18
16
19
-
AspNetStatic lets you create a static website with the same ASP.NET Core tools you love and use every day. Just add the module and a bit of configuration, and BAM!, you have yourself a static site generator!
17
+
Use AspNetStatic to create a static website with the same ASP.NET Core tools you love and use every day. Just add the module and tell it which routes (page, css, js, etc.) to process.
20
18
19
+
AspNetStatic works equally well with Blazor (SSR), Razor Pages, and MVC (conrollers + views).
21
20
22
-
## No Frameworks. No Engines. No Opinions!
21
+
###No Frameworks. No Engines. No Opinions!
23
22
24
-
Build your ASP.NET site the way you've always done. AspNetStatic doesn't have any opinions about how you should construct your site. AspNetStatic is not a framework. It's not a CMS. There's no engine. AspNetStatic does just one thing, create optimized static pages for selected routes in your ASP.NET Core app. That means you can use whatever framework, component, package, or architectural style you like to produce content, and AspNetStatic will create a static page for it.
23
+
Build your ASP.NET site the way you always have.
24
+
AspNetStatic doesn't have any opinions about how you should structure your server-rendered site.
25
+
AspNetStatic is not a framework. It's not a CMS. There's no blog engine. It has no templating system.
26
+
AspNetStatic does just one thing; create static files for selected routes in your ASP.NET Core project.
27
+
That means you can use whatever framework, component, package, or architectural style you like.
28
+
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!
29
+
AspNetStatic doesn't care; it will **create optimized static files no matter how the content is produced by the server**.
25
30
26
-
Visit the [Github repo](https://github.com/ZarehD/AspNetStatic) for more details.
31
+
Visit the [Github repo](https://github.com/ZarehD/AspNetStatic) for more details.
0 commit comments