Skip to content

Commit 3e64d38

Browse files
Merge pull request #21 from Meir017/update-aspire-13.2.0
Update Aspire.Hosting to 13.2.0, add net10.0 TFM, bump version to 0.3.0, and add NuGet badges
2 parents 03c3fab + 49598b0 commit 3e64d38

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

DevProxy.Hosting/DevProxy.Hosting.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0;net9.0;net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<Version>0.2.2</Version>
7+
<Version>0.3.0</Version>
88
<Authors>Dev Proxy</Authors>
99
<Title>Dev Proxy .NET Aspire extensions</Title>
1010
<Description>.NET Aspire extensions for adding Dev Proxy as a resource to your .NET Aspire application.</Description>
@@ -25,7 +25,7 @@
2525
</ItemGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="Aspire.Hosting" Version="9.5.2" />
28+
<PackageReference Include="Aspire.Hosting" Version="13.2.0" />
2929
</ItemGroup>
3030

3131
</Project>

DevProxy.Hosting/DevProxyResourceBuilderExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static class DevProxyResourceBuilderExtensions
1818
/// <returns>A resource builder for the DevProxy executable resource.</returns>
1919
public static IResourceBuilder<DevProxyExecutableResource> AddDevProxyExecutable(
2020
this IDistributedApplicationBuilder builder,
21-
string name)
21+
[ResourceName] string name)
2222
{
2323
var resource = new DevProxyExecutableResource(name);
2424

@@ -68,7 +68,7 @@ public static IResourceBuilder<DevProxyExecutableResource> WithUrlsToWatch(
6868
/// <returns>A resource builder for the DevProxy container resource.</returns>
6969
public static IResourceBuilder<DevProxyContainerResource> AddDevProxyContainer(
7070
this IDistributedApplicationBuilder builder,
71-
string name)
71+
[ResourceName] string name)
7272
{
7373
var resource = new DevProxyContainerResource(name);
7474

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Dev Proxy .NET Aspire extensions
22

3+
[![NuGet Version](https://img.shields.io/nuget/v/DevProxy.Hosting)](https://www.nuget.org/packages/DevProxy.Hosting)
4+
[![NuGet Downloads](https://img.shields.io/nuget/dt/DevProxy.Hosting)](https://www.nuget.org/packages/DevProxy.Hosting)
5+
36
Use Dev Proxy extensions for .NET Aspire to seamlessly integrate Dev Proxy into your distributed applications. Use Dev Proxy to:
47

58
- Verify how your distributed app handles API errors, both from your own services and third-party APIs

0 commit comments

Comments
 (0)