AspNetCore.Proxy 1.4.0
This release adds functionality to leverage the proxy helpers without introducing new concepts.
You can now proxy from an existing Controller by calling an extension method which proxies the call and writes the response automatically.
public class MyController : Controller
{
[Route("api/posts/{postId}")]
public Task GetPosts(int postId)
{
return this.Proxy($"https://jsonplaceholder.typicode.com/posts/{postId}");
}
}