Skip to content

Does "@addTagHelper" supported ? #81

Open

Description

@athinboy

Does "@addTagHelper" supported ?Thanks!

            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
                });

Activity

  1. kftrans commented on Oct 23, 2021

    @kftrans

    I would really like to use tag helpers with RazorEngineCore

  2. adoconnection commented on Oct 28, 2021

    @adoconnection
    Owner

    Hi, unfortunately its not yet supported.

  3. kftrans commented on Dec 12, 2021

    @kftrans

    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 :)

  4. adoconnection commented on Jan 14, 2022

    @adoconnection
    Owner

    @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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions