This project demonstrates how to deploy a .NET Web API application to Microsoft Azure using Terraform for infrastructure provisioning and GitHub Actions for CI/CD, providing an end-to-end example setup. https://github.com/kaajoj/iac-azure-dotnet-api-deploy
Tag Archives: C#
Using the OpenAI API in a C# console application
Repo: https://github.com/kaajoj/OpenAIApp To run it, you need to provide your own API key. Sample code with request to generate new image: https://github.com/kaajoj/OpenAIApp/blob/cc1881a985365683c90484e9cb2dca7c1361b810/OpenAIApp/OpenAI.cs#L52 Sample results of image generation: Big dogs flying a plane to Mars Dogs like top gun
AutoMapper – map one list to another
Create a mapping from list to list: So e.g: Where ‘cars’ is of the List type and of course before it, we need to add a map to AutoMapper config with the .CreateMap and .ForMember methods for the appropriate properties if needed.