mardi 29 mars 2016

Can a console application return the web (external) url for a local folder in c#/.net?

We have a requirement to auto-fill a field in the database for a customer's specific installation of our web application. We already have a console app to help with some configurations during install. It is located in the root folder of the web application. Is there any way it can take this physical server path and find the registered URL?

e.g.: Run the console app in c://inetpub/wwwroot/client/application and have it return http://ift.tt/1eH9uKD

Any help would be appreciated.




Aucun commentaire:

Enregistrer un commentaire