Posted By

Elph on 12/16/08


Tagged

aspnet urlbase


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


Asp.net urlbase


 / Published in: C#
 

  1. string baseUrl = Request.Url.Scheme + "://" + Request.Url.Authority + Request.ApplicationPath.TrimEnd('/') + '/';

Report this snippet  

You need to login to post a comment.