I am using Web Deploy to publish ASP.NET MVCwebsite in Visual Studio 2010.Is there a way to run the .bat file on the server after automatic publishing?
See: Post Publications
You can create a Windows Service that runs in your IIS box and uses FileSystemWatcher to track changes in the root path of your website and detect a file change command file .
FileSystemWatcher
Source: https://habr.com/ru/post/924165/More articles:What is the source data - phpJava annotations for executing code before and after a method - javaAdding to BlockingCollection after adding is complete - c #Errors in evolution on Heroku - postgresqlandroid dexclassloader get a list of all classes - androidglobal and perfumery - parallel-processingJava Jackson JsonMappingException: Cannot deserialize float instance from FIELD_NAME token - javaHow to add a variable at the beginning of a URL in Zend Framework? - phpSymfony 2.0 datetime widget; How to make using jQuery UI date picker? - jquery-uiHow to unit test Entity Framework? - c #All Articles