I want to create and assign an independent application pool to a sub-application, an ASP.NET Core Web API project, in an existing website using the TFS WinRM – IIS Web App Management Task or the TFS WinRM – IIS Web App Deployment Task using TFS version 15.117.26714.0.
Within the WinRM – IIS Web App Management Task, it does not support a Website name with the syntax as Default Web Site\sampleapp
Within the WinRM – IIS Web App Deployment Task, I have attempted to use the Override Parameters section to override the variable "Application Pool". However, overriding parameters here doesn’t seem to work. I believe this is because this task is aiming at ASP.NET projects which include a SetParameters.xml file. However, an ASP.NET Core project does not.
So, how do I use either the WinRM – IIS Web App Management Task or the WinRM - IIS Web App Deployment task in TFS to set the application pool for an ASP.NET Core Web API sub-application?
Below are screenshots of the TFS WinRM - IIS Web App Deployment and WinRM - IIS Web App Management tasks for reference.