The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Retrieve the subdomain from a URL in C#

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Max Zone

Posts: 9170
Nickname: dzone
Registered: Jun, 2006

dzone.com is a link-sharing community where member participation determines what gets published
Retrieve the subdomain from a URL in C# Posted: Sep 21, 2006 3:29 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Max Zone.
Original Post: Retrieve the subdomain from a URL in C#
Feed Title: dzone.com: .net
Feed URL: http://www.dzone.com/feed/frontpage/.net/rss.xml
Feed Description: dzone.com: fresh .net links for developers
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Max Zone
Latest Posts From dzone.com: .net

Advertisement
Yesterday I had to come up with a method that retrieved the subdomain from the current web request on an ASP.NET website. I thought that the System.Uri class contained that information in an easy retrievable way, but no. Here���s what I came up with instead. It still uses the System.Uri to find the subdomain.

Read: Retrieve the subdomain from a URL in C#

Topic: Microsoft Faceted Search Previous Topic   Next Topic Topic: Installierte Grafik-Codecs?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use