An open API service indexing awesome lists of open source software.

https://github.com/pakrym/staticfilegenerator


https://github.com/pakrym/staticfilegenerator

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

Generate static files site out of your MVC application.

## Usage

```
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseDefaultHostingConfiguration(args)
.UseContentRoot(Directory.GetCurrentDirectory())
.UseStartup()
.UseStaticFileGenerator(o =>
{
o.RootPages.Add(new StaticFileGeneratorPage("/", "/Index.html"));
o.OutputPath = "d:/temp/ms";
})
.Build();

host.Run();
}
```