Rendering dynamics views in Razor (chtml), How to add a FileProvider to razor in asp.net core 3.0?
问题 I am migrating from asp-net core 2.2 to asp-net core 3.0, I was using this block to define my File Class Provider, as you know this is used to create dynamic razor views (dynamic cshtml), my problem is that segment does not work. I have implemented the classic: services.Configure<RazorViewEngineOptions>(opts => opts.FileProviders.Add( new MyCostumizedFileProvider() ) ); Where: MyCostumizedFileProvider : is the Implementation of File Provider. RazorViewEngineOptions : is the handler of the