by CPI Staff | Apr 29, 2025 | .NET, AI, Blog, OpenAI
In this OpenAI and Azure blog post, we will show you How to protect your OpenAI .NET apps from prompt injection attacks with Azure AI Foundry. Prompt injection attacks are becoming a serious security concern for applications using AI models. Attackers can craft inputs...
by CPI Staff | Apr 28, 2025 | .NET, OpenAI
When working with OpenAI’s APIs, it’s often useful to manage stored files programmatically. In this guide, I’ll show you how to build a Model Context Protocol (MCP) agent using C# that calls OpenAI and lists all files in your OpenAI storage. Step 0:...
by CPI Staff | Apr 25, 2025 | .NET, Blazor, OpenAI
In this blog post, we will present the OpenAI GPT-Image-1 Blazor .NET Image Generator Web App, a tool designed to demonstrate the capabilities of OpenAI’s latest image generation API. What Does the Web App Do? This Blazor-based web application leverages...
by CPI Staff | Apr 18, 2025 | .NET, Blog
In this Visual Studio and .NET blog post, we will show how to use and add environment variables in Visual Studio 2022 without adding them to the local computer or shell. This method allows you to set up project-specific variables that can be tailored to the needs of...
by CPI Staff | Feb 15, 2025 | .NET, Blazor, Blog
In this Blazor .NET blog post, we will show how to add Bootstrap to a .NET 9 Blazor application and leverage the most popular CSS framework. Adding Bootstrap to .NET Blazor 9 Web Application can enhance your development experience. What is Bootstrap? Bootstrap is a...
by CPI Staff | Jan 28, 2025 | .NET, Blog, C#
In this blog post, I will show you how to build and run a C# application in Azure DevOps Pipelines. Estimated reading time: 3 minutes Table of contentsWhat Are Azure Pipelines?Step 1: Build the Console ApplicationStep 2: Create a YAML PipelineStep 3: Create a New...