PowerShell script to execute commands in SCM website on all instances

Here is a quick PowerShell script to execute commands in SCM website on all instances. For example, lets say you have a website running in an App Service Plan that has more than one instance and you would like to delete log files form all instances. You can log into KUDU console at <your website…

0

Terminate w3wp.exe process without stopping website

Here is a quick way to terminate w3wp.exe process in Azure App Service Website without stopping the whole website. Note : Azure AppService website can run on multiple instances and there is another w3wp.exe process called SCM running on each instance (we shouldn’t kill this process). So we just have to get list of all…

0

ASP.NET Core AppSettings for Azure App Service

In regular .NET world, we have option to save settings in web.config or in app.config file. But in .NET Core, you have option to save them in few other locations like appsettings.json , appsettings.<Environment>.json and in secrets.json. One of the main reason settings are not saved in web.config file is, to avoid settings getting checked-into…

0