Skip to content

brianacdev/aspnetcore-staticfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aspnetcore-staticfiles

Why

I have always loved the idea of getting a web server up with minimal effort so that I can fiddle with frameworks. I am an ASP.NET developer and haven't had this option. I really loved other frameworks such as nodejs because you can quickly and from the command line, create a static web server that is fast an responsive. Although the current version of AspNetCore (RC2 is the current version) is not as feature rich as the NPM echosystem, I think it is a giant step in the right direction, IMHO.

What

This sample code is setup to be ran from the command line. It also uses kestral, not IIS (Express) for hosting. It wouldn't take much to add support for IIS(Express) but I wanted to be able to clone it from the command prompt (terminal for you OSX/linus peeps) and then, with a few commands, have an http server playground to mess with.

How

Assuming you have .Net Core installed already, just type dotnet restore (restores the NuGet packages that are dependencies) and then dotnet run which starts the server. By default it will listen to port 5000.

Help

I need to mention that I used Bobby Johnson's blog post as a reference when I got stuck a few times in the process.

Hype

I am very excited to see where DotNetCore and AspNetCore go in the future!

Who

Brian

About

An empty AspNetCor RC2 static file server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published