Debugging an ASP.NET MVC application on an Android phone

前端 未结 4 482
傲寒
傲寒 2020-12-13 05:26

Objective

I\'m looking for the simplest-possible, step-by-step setup process for debugging my ASP.NET MVC 4 application using my IP address as the U

4条回答
  •  悲&欢浪女
    2020-12-13 06:04

    I needed to perform all of the steps from the link that cfeduke provided. (Not just the one he describes in his answer.)

    1. Add to applicationhost.config after the binding for 'localhost'.
    2. Run netsh http add urlacl url=http://192.168.1.42:58938/ user=everyone
    3. Run netsh advfirewall firewall add rule name="IISExpressWeb" dir=in protocol=tcp localport=58938 profile=private remoteip=localsubnet action=allow

提交回复
热议问题