AppIntents are pretty powerful, and can underly many features, such as Shortcuts, Siri, and Widgets, in an Apple platform app. It can be frustrating at times to troubleshoot issues with them, though. I've run into several errors where the AppIntent code would build fine, but where I just couldn't find the intents anywhere when the app was installed.Continue reading »
Category: Software Development
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 »
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 »
There may be times you want to add a watermark, or a bit of text, to an image programmatically. Here's how to do that with ImageSharp. As of the this writing, it requires a couple pre-release NuGet packages, but the ImageSharp libraries seem to work pretty well for at least basic use.
Here's some example code to load an image and draw some watermark text on it.Continue reading »