You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IRazorEngineCompiledTemplate<RazorEngineTemplateBase<JavaMapperConfig>> template
= razorEngine.Compile<RazorEngineTemplateBase<JavaMapperConfig>>(templateContent, builder =>
{
builder.AddAssemblyReferenceByName("System.Collections");
builder.AddAssemblyReference(typeof(CodeUtil)); // by type
builder.AddAssemblyReference(typeof(ReverseStrTagHelper)); // by type
});
Hey @adoconnection - do you have any tips on how this support might be added? I've been trying to debug through asp.net core sources to see exactly where taghelper functionality is crowbarred in, to see if I can do the same with razorenginecore, but am finding it to be quite a dense forest ... If you happen to have investigated and/or given some thought, I'd be glad for any leads :)
Activity
kftrans commentedon Oct 23, 2021
I would really like to use tag helpers with RazorEngineCore
adoconnection commentedon Oct 28, 2021
Hi, unfortunately its not yet supported.
kftrans commentedon Dec 12, 2021
Hey @adoconnection - do you have any tips on how this support might be added? I've been trying to debug through asp.net core sources to see exactly where taghelper functionality is crowbarred in, to see if I can do the same with razorenginecore, but am finding it to be quite a dense forest ... If you happen to have investigated and/or given some thought, I'd be glad for any leads :)
adoconnection commentedon Jan 14, 2022
@kftrans Hi, right now have ho idea :) I belive its similar to sections, like you did in PR. Im still experementing with it, but not much to be honest