I was wondering if you could use Dependency Injection to initialize an Asp.net mvc taghelper. I’ll modify the example used in my previous post Creating a custom taghelper. Creating a service to inject public interface IPersonService { string GetName(); } public class PersonService : IPersonService { public String GetName() { return “PersonService.GetName()”; } } Register […]

Read More →