How to debug a C # MVC application externally [closed]

0

I would like to know if there is a debugging of an MVC C # application externally, I tried to use IIS Express, but without success, someone has already experienced this situation or, can anyone help me do that? Thank you.

    
asked by anonymous 27.10.2015 / 12:52

1 answer

3

You are using IIS installed on your machine, or you are using ISS express (the one that when we press F5 on the application). If you are using Express, install ISS 7.5 on your machine, it is easily found on the Microsoft website.

So let's go there: ..

  • 1- You will install IIS 7.5
  • 2- You will publish your application, and once it is published, you will you will get the files, go in C: \ and put the files inside from the c: \ inetpub
  • 3- you check which ip is on your machine open cmd and run ipconfig .. check the ipv4 of your machine ..
  • 4- Let's assume that your ip is 192.168.1.101, so you'll enter the your router, and point to port 80, for your ip example < 192.168.1.101 >
  • 3 - then you will go to another machine, open your browser and go enter the ip of the machine where IIS is installed, in the case of our example is 192.168.1.101. Then you type 192.168.1.101:80 and soon!
27.10.2015 / 16:39