Keep it Simple

// practice, the distance between dream and achievement

Tag: HttpClient

HTTP Module vs OWIN middleware

OWIN – Open Web Interface for .NET, is just a specification which defines the standard interface between .NET web servers and web applications.

As said, OWIN is not a framework instead it is a specification on how web servers and web applications should be built in order to decouple one from another and allow movement of ASP.NET applications to environments where at the current state it is not possible.

Continue reading

HttpHandler – File download handler

It’s quite a common scenario to have a feature in a web site to check the incoming request for a particular file download and do some sort of processing before allowing the download.

Continue reading

Ways to extend the ASP.Net pipeline processing

There are three ways you can extend the ASP.Net pipeline processing

  • Http Application or Global.asax
  • Http Handler
  • Http Module

It is important to understand which does what and when to use, this post is intended to give you a quick overview.

Continue reading

Building a Transient Retry Handler for the .NET HttpClient

This post gives a full example of how to build your own custom retry logic for the HttpClient object in the .NET framework. The retry logic covered in this post extends on the Transient Fault Application block, which is a package provided by Microsoft, allowing code to apply retry logic when making a request to an external resource. The application block provides out of the box retry strategies to easily work with a number of Microsoft technologies, such as Microsoft Azure Table Storage, Sql Azure, Azure Service Bus and others.

Continue reading

© 2017 Keep it Simple

Theme by Anders NorenUp ↑