mayuki / Rin

Request/response Inspector middleware for ASP.NET Core
MIT License
647 stars 24 forks source link

Razor Pages support #73

Open dan-petru opened 9 months ago

dan-petru commented 9 months ago

First of all, good job! I love this package.

I have a few Razor Pages projects that are making calls to another WebApi project. Would this package work for the Razor Pages projects?

austins commented 9 months ago

Yes, just add it after the AddRazorPages() call:

builder.Services
    .AddRazorPages()
    .AddRinMvcSupport();
dan-petru commented 9 months ago

It seems I am not able to locate the .AddRinMvcSupport() extension method. Is it part of Rin.Mvc ?