C
C#11mo ago
Richard

I am trying to host .NET8 application in IISExpress but facing error.

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined", this error is because you are running a .NET Framework 3.5-based application in .NET Framework 4. If you are running WebMatrix, to resolve this problem, go to the Settings node to set the .NET Framework version to ".NET 2". You can also remove the extra sections from the web.config file.
No description
3 Replies
Patrick
Patrick11mo ago
ditch IIS Express and use Kestrel
Richard
RichardOP11mo ago
is it any posible with IISExpress ?
Artis Vilciņš
Artis Vilciņš11mo ago
I have tried doing this and the longer I tried any reasonable advice I can give you is do not do this. Forget IIS even exists. Use Kestrel and/or deploy using docker. After this had even more issues trying to deploy it when using libraries with other conflicting libraries and in the end not worth it.
Want results from more Discord servers?
Add your server