I was curious why C++ isn't offered as a code-behind language for ASP.NET applications?
Most ASP.NET applications run in limited trust modes. And C++ generally compiles into something that requires higher trust levels.
C++ is supported, but as another answer says - most C++ apps require a higher level trust mode that ASP.NET cannot support. You can, however, use C++ to create assemblies and web components that can then be consumed by ASP.NET & IIS.
There is a project to include C++ as a code-behind language.
Article on creating consumable assemblies
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With