How replace '~' symbol in MVC with physical path
<p>In Mvc application if the Layout is added with</p>

<pre><code>@Styles.Render("~/Content/themes/base/css")
@Scripts.Render("~/bundles/jquery") .
</code></pre>

<p>Need a solution to replace the </p>

<blockquote>
  <p>~</p>
</blockquote>

<p>symbol .So that Output should not be like 
    <code>/Content/themes/base/jquery.ui.core.css</code> in render page .</p>

<p>Instead </p>

<p><code>localhost:xxxxx/Content/themes/base/jquery.ui.core.css</code> .</p>

<p>This Localhost need to be added when mvc application is run under IISExpress wherein It get modified to hosted application path when hosted into the server</p>