Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DevProxy.Hosting/DevProxy.Hosting.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
<TargetFrameworks>net10.0;net9.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.2.2</Version>
<Version>0.3.0</Version>
<Authors>Dev Proxy</Authors>
<Title>Dev Proxy .NET Aspire extensions</Title>
<Description>.NET Aspire extensions for adding Dev Proxy as a resource to your .NET Aspire application.</Description>
Expand All @@ -25,7 +25,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting" Version="9.5.2" />
<PackageReference Include="Aspire.Hosting" Version="13.2.0" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions DevProxy.Hosting/DevProxyResourceBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class DevProxyResourceBuilderExtensions
/// <returns>A resource builder for the DevProxy executable resource.</returns>
public static IResourceBuilder<DevProxyExecutableResource> AddDevProxyExecutable(
this IDistributedApplicationBuilder builder,
string name)
[ResourceName] string name)
{
var resource = new DevProxyExecutableResource(name);

Expand Down Expand Up @@ -68,7 +68,7 @@ public static IResourceBuilder<DevProxyExecutableResource> WithUrlsToWatch(
/// <returns>A resource builder for the DevProxy container resource.</returns>
public static IResourceBuilder<DevProxyContainerResource> AddDevProxyContainer(
this IDistributedApplicationBuilder builder,
string name)
[ResourceName] string name)
{
var resource = new DevProxyContainerResource(name);

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Dev Proxy .NET Aspire extensions

[![NuGet Version](https://img.shields.io/nuget/v/DevProxy.Hosting)](https://www.nuget.org/packages/DevProxy.Hosting)
[![NuGet Downloads](https://img.shields.io/nuget/dt/DevProxy.Hosting)](https://www.nuget.org/packages/DevProxy.Hosting)

Use Dev Proxy extensions for .NET Aspire to seamlessly integrate Dev Proxy into your distributed applications. Use Dev Proxy to:

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