How to access my asp.net MVC website on my local IIS server from my iPad (for testing)?

前端 未结 5 1723
臣服心动
臣服心动 2021-02-02 13:40

I\'m building an app using Visual Studio 2010. I can run my asp.net website from my computer (by pressing F5). I would like to run this website on my iPad for testing purpose.

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-02 14:08

    The other option would be to configure your application to use your local IIS, which will allow external access by default.

    To do this, you can go to your project properties > 'Web' tab > 'Servers' > Use Local IIS Web server, don't tick 'Use IIS Express' and then click 'Create virtual directory' to create a VD for your application.

    IIS can be enabled via 'Programs & Features' > 'Add Remove Windows Components' on Win7

提交回复
热议问题