Contact   •   Articles   •   Products   •   Search

Rick Strahl's Web Log

Wind, waves, code and everything in between...
ASP.NET • C# • HTML5 • JavaScript • AngularJs

WebLog Posts in Category Networking

Using .NET HttpClient to capture partial Responses

Recently I needed to create a high volume monitoring application that retrieves a huge number of HTTP requests, and I need to minimize the amount of data pulled from these requests. In this post I describe some of the limitations in actually pulling an exact amount of data from an HTTP and Tcp/IP connection in .NET.

Getting a 'base' Domain from a Domain

I was surprised to see that there wasn't some way in .Net to retrieve the base domain name from a sub-domain. For example, I want, and to return me just the base url. Easy enough but there are a couple small issues to check for especially when dealing with string based domain names.

WebRequest and SSL Connection Problems

Ever run into a problem with WebRequest or a Web Service Proxy on an SSL request where the first request works just fine but the second one fails? Run again and it works again and then fails again? It's a common problem that occurs when the Keep-Alives aren't handled the way the client requests on the server.

West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2015