Ramblings
Building. Breaking. Learning. Rambling through Tech.
Viewing posts with the archived tag.
ASP.NET Programmatically retrieving the root domain
I'm developing a web application on asp.net and I wanted to know what URL I was running on, for example, www.domain.com. I hate hard coding things or making assumptions.