How to make a MVC 6 application available (Aspnet 5)

Asked

Viewed 106 times

3

I worked with Asp.net for a while and I don’t have much knowledge on the infrastructure part, I always published my apps by visual studio and then on the server, I added a new application by IIS, but all that changed in ASP.NET 5 (Vnext), my question is how can I provide a link for my customers to access.

  • will be hosted internally or externally

  • Would be externally

1 answer

1

ONE OF THE METHODS BELOW :

  • 1 - Use IIS, put the application in the folder C: Inetpub
  • 2 - go on your router, and point port 80 to your machine’s ip ( to discover your ip, open cmd, and type ipconfig, and check the line ipv4 ) assuming your internal ip of your machine is 192.168.1.100, then Voce will point port 80 to that ip. inserir a descrição da imagem aqui
  • 3 - check what your ip externoo site www.meuip.com.br shows what is your external ip.
  • 4 - assuming your external ip is 999.999.999.999, then you will pass thus to the customer 999.999.999.999:80, and he will succeed access your application.

IMPORTANT DETAIL, IF YOUR IP IS DYNAMIC, YOU ALWAYS HAVE TO CHECK WHAT YOUR IP IS BEFORE MAKING IT AVAILABLE TO THE IP FOR THE CLIENT anything we are here. : D.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.