1

I am trying to access a MVC web app built with .NETCore framework on Visual Studio for Mac over the local wifi.

For Windows, the related question is:

Connecting to Visual Studio debugging IIS Express server over the lan

Edit: This is for the Debug mode of Visual Studio

stWrong
  • 334
  • 2
  • 14

2 Answers2

0

In a browser you should call IP address (.Net Core computer) with a port. For example: http://10.0.0.1:5000.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
hdoitc
  • 386
  • 1
  • 10
  • 21
  • This doesn't work. The port is not open by default in .Net Core. I should add this is in Debug mode in the Visual Studio – stWrong Jan 11 '20 at 16:41
0

This is not possible in the current implementation of VS.

However, VS comes with live share feature. This way the host machine can share the port with the live-shared machine(s) and it can be debugged on any machine.

stWrong
  • 334
  • 2
  • 14