My application's URL looks like that when I run from debugger
http://localhost:52230/
And in IIS:
http://localhost/MyApp
Or, when I'm browsing from another PC,
http://192.168.168.11/MyApp
Where MyApp = my application's name.
Is there a way, using razor syntax, to get http://localhost
or http://192.168.168.11
only?
I tried @Url.Content("~/)
but it returns me http://localhost:52230/