Ever want to include a hidden folder and files in your publish output from an ASP.NET project? It's something you might have to do for files you need to place in a folder like .well-known. It's actually pretty easy to include hidden folders in publish, but there's no way to do it in the UI that I'm aware of. Here's how you do it.
Continue reading »Month: February 2022
ASP.NET MongoDB Example
Here's a working example of using MongoDB with ASP.NET / C# that demonstrates all the basic operations in MongoDB and encapsulates them in Web API. The example application is a simple Todo list. It's pretty simplistic, but it's more or less the pattern I'm using right now for data access against MongoDB.
Continue reading »