Tag Archive

Tag Archives for " Razor "
2

ASP.NET Core MVC – Custom Tag Helpers

This entry is part 4 of 5 in the ASP.NET Core Tag Helpers series

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 […]



Continue reading

ASP.NET Core Razor Pages – Handler Methods

Introduction In the last post, we talked about Razor Pages. Today we will talk more about handlers. We saw that we could have our code and model either in a .cshtml file or inside of code behind file that matches the .cshtml – .cshtml.cs file. Razor Page Handlers or Handler Methods are a way of connecting user requests […]

Continue reading
3

ASP.NET Core Razor Pages – Introduction

Introduction With ASP.NET Core 2 around the corner, the hottest new thing that we are getting is Razor Pages. In one of the previous posts, we briefly mentioned ASP.NET Core Razor Pages. Razor Pages is a new feature of ASP.NET Core that makes coding page-focused scenarios easier and more productive. Initial impression of the public […]

Continue reading
1

ASP.NET Core MVC – Form Tag Helpers

This entry is part 3 of 5 in the ASP.NET Core Tag Helpers series

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 […]



Continue reading
1

ASP.NET Core MVC – Caching Tag Helpers

This entry is part 2 of 5 in the ASP.NET Core Tag Helpers series

 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 […]



Continue reading
5

ASP.NET Core MVC – All about Tag Helpers

This entry is part 1 of 5 in the ASP.NET Core Tag Helpers series

Introduction Tag Helpers provide us with means to change and enhance existing HTML elements in our views. Therefore, we add them to our views, and afterwards, they are processed by the Razor Templating engine which in return creates an HTML and serves it to the browser. Few Tag Helpers actually act as elements or actual […]



Continue reading