I have a custom ASP.NET web site, it has code in App_Code and lots of dependencies in bin folder. Additionally, this web site should host InfoPath XmlFormView control. I also have custom authentication system, based on forms authentication (<authentication> and <authorization> are configured in web.config).
There is some documentation on hosting XmlFormView in custom environment (like this one - http://msdn.microsoft.com/en-us/library/aa701078.aspx), however I counldn't find any resources, describing our particular case.
I have the following problems:
In general the question is – what is the correct way of hosting XmlFormView control in custom web site with .dlls in bin folder and code in App_Code folder and custom authentication, based on ASP.NET forms authentication.
Installed software:
My workaround solution to this problem was to configure "container" SharePoint web site to use forms authentication too and to use SqlMembershipProvider in this configuration. It's important to use the same coookie name in both SharePoint web site and custom web site authentication configurations.