Dear All Experts,
for my project, i created a solution with a one aspx page and all of other components are Dynamic load WebUserControls ascx, each user control and related functions are a separate webapplication project.
now i need to use WPF with my project, i dont know how to load the ".xbap" file Dynamically in my page,
also when i tried to use it as iframe, i face the error "System.Security.SecurityException: That assembly does not allow partially trusted callers" which means that i cannot call or use any of my DLL's methods from outside the project invironment (please note that i am not using strong names anywhere), i put [assembly: AllowPartiallyTrustedCallers] attribute in AssemblyInfo.cs but also i cannot call required functions.
now the questions is:
1. can i associate with WPF (*.xdap) files and load it the same as dynamics user controls?
2. how to call and let my functions work outside the project invironment.
View Complete Post