tomkuijsten / restup

Webserver for universal windows platform (UWP) apps
MIT License
114 stars 48 forks source link

Add ASP support #116

Closed Jaedson33 closed 7 years ago

Jaedson33 commented 7 years ago

I can't make na aspx work in StaticFileHandler, but why?

Jark commented 7 years ago

Hi @Jaedson33,

Can you tell us a bit more about what you are trying to accomplish? The static file handler will simply post the file back to the client with the mime type based off the extension.

If you want to return the .aspx files as html you can do that by instantiating the StaticFileHandler with a MimeTypeProvider with the .aspx file added to the available mime types.

In any case it's not going to run the .aspx file itself, but will only be able to show it as html, text.

It looks like asp .net core is getting to the state were it's able to run on the pi (see: http://www.devvy.nl/?p=170) and going to be run in a stable fashion.

Hope this helps,

Jark

Jark commented 7 years ago

Closing this issue since there have been no replies for nearly a month.