I have an asp.net app and I want when this app is running on IIS,to run under an application pool with classic pipeline mode.
I know how to fix it through the IIS manager but I am wondering if it is possible to fix it from my app. I want either to change the pool or change the managed pipeline mode of the defaultAppPool.
Thank you