WebLog Posts in Category Networking
Getting a 'base' Domain from a Domain
April 24, 2012 @ 9:17 pm

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 www.west-wind.com, and store.west-wind.com 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
April 17, 2007 @ 1:16 am

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.

Archives
Categories
ASP.NET (221) .NET (85) Personal (68) jQuery (55) JavaScript (54) AJAX (51) Visual Studio (49) CSharp (40) HTML (35) LINQ (32) IIS (30) ASP.NET (28) Vista (28) WCF (27) Windows (22) Localization (21) FoxPro (21) Web Services (16) COM (14) Microsoft AJAX (13) MVC (12) WPF (12) ADO.NET (12) XML (10) CSS (9) Web Connection (8) Security (8) Silverlight (8) Sql Server (7) West Wind Ajax Toolkit (7) IIS7 (7) HTTP (7) C++ (6) Web Api (6) Html Help Builder (5) HTML5 (5) Hardware (5) ISV (4) Live Writer (4) Bugs (4) WebLog (4) Software Development (4) Office (4) Source Control (3) Razor (3) Windsurfing (3) DataBinding (3) Help (3) Help Builder (3) IIS7 (3) Installation (2) Internet Explorer (2) Conferences (2) ADO.NET (2) Visual Studio (2) WinForms (2) Tools (2) Web Design (2) RegEx (2) RSS (2) Networking (2) Maui (2) Speaking (2) Threading (1) SmartPhone (1) Web Deployment Projects (1) Travel (1) Utilities (1) wwHoverPanel (1) Addins (1) Control Development (1) Dynamic Types (1) FireFox (1) iPhone (1) Graphics (1) JSON (1)


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