← Back
Milan Jovanovic June 27, 2026 2m

You can now use Aspire without C#

Read full transcript 2 segments
  1. Aspire has dropped .NET from its name Aspire has dropped .NET from its name for quite a while now, and that's for a for quite a while now, and that's for a for quite a while now, and that's for a very good reason. Starting from Aspire very good reason. Starting from Aspire very good reason. Starting from Aspire 13.4, you can write your app hosts in 13.4, you can write your app hosts in 13.4, you can write your app hosts in TypeScript. Here's an example of what it TypeScript. Here's an example of what it TypeScript. Here's an example of what it looks like. You start by creating your looks like. You start by creating your looks like. You start by creating your distributed application builder, then distributed application builder, then distributed application builder, then you can add your resources with a you can add your resources with a you can add your resources with a similar API that you're probably used to similar API that you're probably used to similar API that you're probably used to from the C# app host. So, we're adding a from the C# app host. So, we're adding a from the C# app host. So, we're adding a Redis resource as a cache service. And Redis resource as a cache service. And Redis resource as a cache service. And now, let's also add an API. Now, what's now, let's also add an API. Now, what's now, let's also add an API. Now, what's interesting is that we can host more interesting is that we can host more interesting is that we can host more than .NET applications. We can also host than .NET applications. We can also host than .NET applications. We can also host Node applications and a few more, but Node applications and a few more, but Node applications and a few more, but more on that in a moment. So, with the more on that in a moment. So, with the more on that in a moment. So, with the Node integration, you give it a name and Node integration, you give it a name and Node integration, you give it a name and point it toward the application files. point it toward the application files. point it toward the application files. You can expose an HTTP endpoint, and of You can expose an HTTP endpoint, and of You can expose an HTTP endpoint, and of course, you can add a reference to a course, you can add a reference to a course, you can add a reference to a Redis cache by calling with reference. Redis cache by calling with reference. Redis cache by calling with reference. This injects the connection string at This injects the connection string at This injects the connection string at runtime. And finally, to run everything runtime. And finally, to run everything runtime. And finally, to run everything with the TypeScript app host, you say with the TypeScript app host, you say with the TypeScript app host, you say builder.Build and run, and all the magic builder.Build and run, and all the magic builder.Build and run, and all the magic happens under the hood. You can run this happens under the hood. You can run this happens under the hood. You can run this using the Aspire CLI, and you type in using the Aspire CLI, and you type in using the Aspire CLI, and you type in the command Aspire run, which is going the command Aspire run, which is going the command Aspire run, which is going to pick up your TypeScript app host and to pick up your TypeScript app host and to pick up your TypeScript app host and scaffold the Aspire dashboard, all scaffold the Aspire dashboard, all scaffold the Aspire dashboard, all pretty much identical to the C# pretty much identical to the C# pretty much identical to the C# experience. You can open up the Aspire experience. You can open up the Aspire experience. You can open up the Aspire dashboard and see your resources there.

  2. dashboard and see your resources there. dashboard and see your resources there. So, we've got our cache and the API. We So, we've got our cache and the API. We So, we've got our cache and the API. We can look at the resources graph to see can look at the resources graph to see can look at the resources graph to see how they're connected, and of course, we how they're connected, and of course, we how they're connected, and of course, we can send a request to our Node API. And can send a request to our Node API. And can send a request to our Node API. And if we send a get request to the API's if we send a get request to the API's if we send a get request to the API's address, you can see that we get a address, you can see that we get a address, you can see that we get a response back, and it also has an response back, and it also has an response back, and it also has an increment to track how many times we increment to track how many times we increment to track how many times we update a counter in Redis, and you can update a counter in Redis, and you can update a counter in Redis, and you can see that with each subsequent request, see that with each subsequent request, see that with each subsequent request, the counter increases by one, which the counter increases by one, which the counter increases by one, which means that our connection to Redis is means that our connection to Redis is means that our connection to Redis is working correctly. And remember that we working correctly. And remember that we working correctly. And remember that we did all of this from the Aspire app host did all of this from the Aspire app host did all of this from the Aspire app host written using TypeScript. And if you written using TypeScript. And if you written using TypeScript. And if you thought that was it, I've got more thought that was it, I've got more thought that was it, I've got more surprises. Aspire now also has a Go surprises. Aspire now also has a Go surprises. Aspire now also has a Go hosting integration and a bun hosting hosting integration and a bun hosting hosting integration and a bun hosting integration, as well as a preview Blazer integration, as well as a preview Blazer integration, as well as a preview Blazer WebAssembly hosting integration. So, I WebAssembly hosting integration. So, I WebAssembly hosting integration. So, I think it's absolutely amazing how rich think it's absolutely amazing how rich think it's absolutely amazing how rich the Aspire ecosystem is becoming. And if the Aspire ecosystem is becoming. And if the Aspire ecosystem is becoming. And if you want to learn more, I'm going to you want to learn more, I'm going to you want to learn more, I'm going to drop a link in the pinned comment and drop a link in the pinned comment and drop a link in the pinned comment and the description of this video for an the description of this video for an the description of this video for an awesome talk about Aspire from Maddie awesome talk about Aspire from Maddie awesome talk about Aspire from Maddie and David Fowler. Over to you. Let me and David Fowler. Over to you. Let me and David Fowler. Over to you. Let me know in the comments what you think know in the comments what you think know in the comments what you think about the direction that Aspire is going about the direction that Aspire is going about the direction that Aspire is going in. And if you've used the Aspire app in. And if you've used the Aspire app in. And if you've used the Aspire app host with Dapr,

Summary

Aspire now allows writing app hosts in TypeScript, enabling the hosting of diverse applications like Node.js alongside .NET. This provides a unified experience complete with a dashboard for monitoring resources and connections. The takeaway is Aspire's expanding ecosystem and its growing capability to manage multi-language microservices effectively.

View original episode ↗