I would like to call a .net 4.0 dll from an IIS7 application that is running in a .net 2.0 app pool. I've been researching this and everything I've found so far either said it wasn't possible, or you had to use COM. I have a prototype that uses COM to call the 4.0 from the 2.0 and that works, but I was curious if there was a better way?
--Edit--
In this case it need to be "auto" hosted, by that I mean no additional config really required. so WCF and other similar web services are out. Although I realize that COM has to be registered, it's within existing functionality that we're using so it's "free" so to speak.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)