Rin icon indicating copy to clipboard operation
Rin copied to clipboard

Razor Pages support

Open dan-petru opened this issue 1 year ago • 2 comments

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?

dan-petru avatar Jan 29 '24 13:01 dan-petru

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

builder.Services
    .AddRazorPages()
    .AddRinMvcSupport();

austins avatar Jan 29 '24 14:01 austins

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

dan-petru avatar Feb 01 '24 10:02 dan-petru