I tried to migrate an ASP.Net app from WS 2012 R2 to WS 2019. Since .Net Framework 4.8 is included in WS 2019, I compile the app in .NEt Framwork 4.8 from VS and deploy it to IIS 10 on WS2019. Everythink works fine when I connect in localhost from server but from other device I have the error '__doPostBack is not defined'.
When I compare sources loaded by browser from 'localhost' and 'other devices'. I notice that in localhost 3 files ScriptResource.axd are included in the page + 1 WebResource.axd BUT from other device, only 2 ScriptResource.axd are included and no WebResource.axd. I'm sure that '_doPostBack' definition is in the missing ScriptResource file. There is no 404 error, the script tag are just missing at the body begining.
Does someone know why there is a difference in included scripts beetween localhost and external connection ? It's important to note that external connection pass through AWS ALB and WAF.
Thank you
Regards