Block or only allow certain client IPs in cloud service

Solution 1:  Netsh and startup task On ServiceDefinition.csdef file you need to add the tag <WebRole> <Startup> <Task commandLine=”Register.cmd” executionContext=”elevated” taskType=”simple” /> </Startup> </WebRole> Create a register.cmd file and place it on the root folder of the application Set the property ‘Copy to Output Directory’ to ‘Copy always’ On the register.cmd you need to add … Continue reading Block or only allow certain client IPs in cloud service