3 ms·
I find it striking how many of the blind spots wrt the web have been a feature of ASP.NET since the beginning: static file serving, caching, authorisation...
by moomin 8y ago
I find it striking how many of the blind spots wrt the web have been a feature of ASP.NET since the beginning: static file serving, caching, authorisation...
- nikbackm 8y agoIt was originally developed to be used with IIS which handles all of that.
- mikerg87 8y agoIIS is not coming to Mac or Linux ( is a good thing !) - so you can/ will rely on Apache or NGINX to “front” your code just like you would for Ruby or Python or Node.
- topbanana 8y agoHow do you mean? I've done a few projects using ASP.Net Core and they've used all of those
- mrweasel 8y agoIt's not that you can't, it's just that there are some short comings that many will quickly hit. It's described pretty well in the article.
- mikece 8y agoIf you're saying these things are "missing" from aspnet core then yes -- it's by design. All of this is handled through middleware, the same as in NodeJS. You can very easily create aspnet core projects with all of the above but MSFT isn't making overly dogmatic opinions about how you should do each of those things or even that you need to use their solutions for each.
- moomin 8y agoThey’ve literally just launched a library that adds conventions to Swashbuckle. Not saying it’s not useful, just that serving static files probably ought to be higher on their priority list.