In this chapter, we saw that if you want to serve some files on a filesystem, always specify a virtual path for it so as not to interfere with your controllers.
Using areas is a handy way to structure your content. They are particularly useful in big ASP.NET Core projects.
We also learned that to combine the usage of static files, directory browsing, and default documents, you can just call UseFileServer. You should also beware of unwanted file downloads, as it's not easy to apply security to them.
Then, we saw that resource files can be quite useful as we do not need to distribute the files separately from the assembly, and can use the same versioning as the rest of the code. They are definitely worth considering.
In the next section, we saw that we should use URL rewriting if we do not wish to expose the inner structure of our site, to comply with an externally defined URL, and to use hosted services to spawn background services automatically...