When posting to the server (iis 7.5) the application:
Eu tenho isso => http://meuip:8086
Mas preciso disso => http://meuip:8086/portal
When you create the directory in iis with the name "portal" and converted to an application, a url error is generated, because the font is not like this, url example in the source:
em JS:
var url = "/Portaria/Recado/Listar";
em C#:
action="~/Gerenciamento/UsuarioExterno/Cadastro/0"
In C # the redirect even works when created in iis a subdirectory, but css and js do not, since in the source the "/ portal /" does not exist.