Introduction In the last post, we talked about Tag Helper Components and how we can use them to modify existing HTML elements and inject scripts on the fly. I needed Google Analytics scripts in my ASP.NET Core application, so I decided to make a NuGet package for that. It is actually a Tag Helper Component. […]
Continue readingTag Helper Components – Introduction We already talked about Tag Helpers in several posts before. This time we will be talking about something related. ASP.NET Core 2 is here and it brings us a new feature – Tag Helper Components. Tag Helper Components are responsible for generating or modifying a specific piece of HTML. They […]
Introduction In on of the previous posts we talked about Tag Helpers, we also talked about caching Tag Helpers and form Tag Helpers. By creating our custom Tag Helpers, we have an ability to extend existing HTML elements or create our custom HTML elements. A Tag Helper is any class that implements ITagHelper interface. However, MVC […]
Introduction We already talked about Tag Helpers, we mentioned some of the most used Tag Helpers and we also talked about caching Tag Helpers. In this post, we will talk about form Tag Helpers. HTML or Web Form is used to collect an input from the user using various HTML elements like inputs, checkboxes, radio […]
Introduction Caching can significantly improve our application load time and responsiveness. What can we cache with cache Tag Helpers? Well, we cache HTML content. We usually cache content that does not change frequently. In one of the previous posts, we talked about Tag Helpers. We saw what Tag Helpers do, how we can use them […]