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....

Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 204 | Hits: 7

Similar Posts

  • Highlight Keywords From Response Using ASP.NET Core Middleware more
  • Don’t use Response.End() with OutputCache more
  • IIS 7 Error Pages taking over 500 Errors more
  • EOAST #4 Evolution of a software thingy Part 4 more
  • Fine Grained Parallelism more
  • Firefox 3.0 and (ASP.NET) caching observations more
  • DotNetZip now can save directly to ASP.NET Response.OutputStream more
  • Code Based Repeater for ASP.NET MVC more
  • the "it's free" problem: caching of images more
  • Charset Encoding in ASP.NET Response more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD