Highlight Keywords From Response Using ASP.NET Core Middleware
Posted by: Bipin Joshi.com :: Thoughts on .NET, Life, Yoga and more,
on 10 Oct 2016 |
View original | Bookmarked: 0 time(s)
Recently I needed to search for certain keywords from the response body and then highlight them with different color. In ASP.NET Web Forms you would have created an HTTP module to achieve this. In ASP.NET MVC you would have written a custom filter to accomplish this task. In ASP.NET Core you can write a custom middleware to do the same. The remainder of this article shows how....