by CPI Staff | May 1, 2025 | .NET, AI, Blazor, Blog, C#, OpenAI
In this blog post, we’ll show you how to Build a Blazor .NET App that Recognizes Images with OpenAI. You’ll see how we securely upload image files, send them to OpenAI’s API, and return a natural-language response—seamlessly integrated into a modern web interface....
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 effectively. Table of contentsWhy Prompt Injection MattersSetting Up the ProtectionInstall Required PackagesThe Full Protection WorkflowExample C#...
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. This method...
by CPI Staff | Apr 28, 2025 | Blog, OpenAI
In this OpenAI blog post, We’ll show you how to upload multiple files to OpenAI’s storage using C#. We’ll walk through a simple console application that reads files from a folder and uploads them to OpenAI. This tutorial will guide you on how to upload...
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 22, 2025 | Blazor, Blog, OpenAI
In this OpenAI .NET blog post, we will demonstrate how to create a web application running on Blazor that translates text using GPT-4o. With the official OpenAI .NET library, it is possible to leverage the entire OpenAI API, including the latest Responses API. This...