I'm using a Mac. I'm using Visual Studio for MAC v. 7.5.4 build 3. When I create a new Asp.Net MVC application. My breakpoints are not working. At first I thought it was my docker configuration screwing things up. However, I created an entirely separate application w/o docker support, and the breakpoints still aren't being hit. Ok I stumbled upon another link and it looks like this way works. The only thing that this article didn't say is to add your IP to your mac host. Which I got from the other articles above. Sudo nano /private/etc/hosts 10.211.55.5 windows Expose IIS or IISExpress running in a Parallels Windows 7/8 VM to your OS X host Rename your virtual machine In your Windows 7/8 VM, go to Control Panel > System > Advanced system settings > Computer Name and click Change. Name this whatever you like, e.g. Restart your VM. Add an ACL rule Open CMD or Powershell as administrator. Add a URL ACL entry for your new name on the port of your choice, e.g. Netsh http add urlacl url= user=everyone Add a firewall rule Open CMD or Powershell as administrator. For loop in excel mac macro. Add an inbound firewall rule for this new port. In Windows 8, the syntax is: netsh advfirewall firewall add rule name='IISExpressWeb' dir=in action=allow protocol=TCP localport=8080 In Windows 7, the syntax is: netsh firewall add portopening TCP 8080 IISExpressWeb enable ALL Configure the IIS binding If you're using IISExpress, edit your applicationhost.config file, typically found at your Documents IISExpress config applicationhost.config. Find your site under sites, and add a binding to the port using your machine name, e.g. If you're using IIS, open IIS Manager, find your site under YourMachineName > Sites > YourSiteName. ![]() Right-click and select Edit Bindings. Add a binding with the host name you selected in step 1, e.g. Type: http, IP address: All Unassigned, Port: 8080, Host name: windows. Restart IIS/IISExpress Startup IISExpress with Visual Studio or restart IIS from IIS Manager and hit your URL from a browser on your Mac/VM Host, e.g.
0 Комментарии
Оставить ответ. |
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |