I migrate an dotnet framework web api application from vs 2010 to 2019. I want to use IIS express for developpement mode debug. My application is built with a api back in dotnet framework 4.5 using XML and not JSON and a front in dotnet winform.
Sorry for the French messages.
I tried to change the web.config, the applicationhost.config (in the user IIS express directory and the .VS\config directory. add modules to IIS manager
thanks for your help I have tried validateIntegratedModeConfiguration="false"
and it worked only when I deleted the lines created in the applicationhost.config (but it's not a solution) we finally found: the problem was that I modified the .csproj file; but the file used for the user configuration is the .csproj.user. It is modified with the "property" tab of VS. I had seen it in a post for an mvc web application, since we are using an api, I thought it was different because it is an api..... My colleague showed me the options in the panel... and now it works!!!!
[]You have to modify in properties :
anonymous authentication : disable
windows authentication : enable
pipiline mode : classic
and that's all