Category: Aspire
-
Azure Cache Redis in Aspire on Local PC
In this exercise, I focused on only one Azure resource: Azure Managed Redis. My goal was simple: run Redis locally as a container, connect a console client project to it through .NET Aspire with access key authentication, and validate that the client can set and retrieve cache values end-to-end. How it looks like This is…
-
Azure Storage Blobs in Aspire on Local PC
In this exercise, I focused on only one Azure resource: Azure Storage (Blob Storage). My goal was simple: run Blob Storage locally using the emulator, connect a console client project to it through .NET Aspire, and validate that the client can create a blob container end-to-end. How it looks like This is the Azure Storage…
-
Azure PostgreSQL Flexible in Aspire on Local PC
In this exercise, I focused on only one Azure resource: Azure PostgreSQL Flexible Server. My goal was simple: run PostgreSQL locally, connect a console client project to it through .NET Aspire, and validate that the client can open a database connection end-to-end. How it looks like This is the PostgreSQL container / database view How…
-
Azure SqlDatabase on local PC with Aspire
In this exercise, I focused on only one Azure resource: Azure SQL Database. My goal was simple: run Azure SQL locally, connect a console client project to it through .NET Aspire, and validate that the client can open a database connection end-to-end. How it looks like This is the ASPIRE project How I wired Azure…
-
Run Azure Cosmos DB on local PC
In this exercise, I focused on only one Azure resource: Azure Cosmos DB. My goal was simple: run Cosmos locally, connect a console client project to it through .NET Aspire, create database/container automatically, and write a test item end-to-end. How it looks like This is the Data Explorer emulator with a item This is the…
-
Azure cloud components on local PC
My opinion is that we strive to reproduce on local the production ( yes, it works on my PC should not be replaced with yes, it works on production only ) So, I decided to challenge myself: Can I run every major Azure service on my local machine? Not just one or two, but pretty…
-
Aspire as ChaosMonkey
If I have all Aspire resources exposed , would not be easy to expose the endpoints to START and STOP the resources ? And from idea to implementation – it is pretty easy . 1. Add a WebApp => var builder = WebApplication.CreateBuilder(); 2. Expose List as API – Use ResourceNotificationService.TryGetCurrentState to see the…
-
JavaScriptExtensionsAspire–part 2–execution
Now about the execution of https://www.nuget.org/packages/JavaScriptExtensionsAspire Finding and parsing the package json is pretty easy – this is the code More interessant is to find the name of npm executable Also I want to add the environment variables from the original javascript app Otherwise, pretty obvious stuff of starting the npm process info . NuGet…
-
JavaScriptExtensionsAspire–part 1
TL;DR: Add package.json commands to ASPIRE Simplifying JavaScript Workflows in .NET with JavaScriptExtensionsAspire As a developer working with .NET and JavaScript, I often find myself juggling between managing JavaScript resources and integrating package.json commands into my applications. It can be tedious and time-consuming. That’s why I’m excited to share my experience with JavaScriptExtensionsAspire, a .NET…
-
Aspire Resource for Aspire–part 4–programatic access
Aspire 13 has a MCP server integrated https://aspire.dev/dashboard/mcp-server/ . But what about an OPENAPI / swagger ? Also and a graph to show the resources – https://aspire.dev/dashboard/explore/#resources-page , see graph image. But how about Mermaid syntax display of resources ? So I implemented in https://www.nuget.org/packages/AspireExtensionsResource , version >= 13 . This is how it looks…