use xaml pages in asp.net project
hi folks
I created asp.net project and want to navigate through it to xaml page by using hyperlink
when I did it, I got exception
"System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
used VS2005 and MS windows SDK beta2.0
how I can fix this problem?
XAML Web Applications are a particular type of application, which are executed in a sandbox
If I'm correct, it's not possible to link directly a XAML page in a web page.
But you can create a XAML Web Application and integrate this application in your Web app
Bye
You should be able to create a hyperlink pointing to a XAML or an XBAP file. Can you make sure the linked resource is loading fine just by typing its URL on your browser's address bar? Once that is verified, can you also check if the linked resource is being loaded from the same zone as the resource which has the hyperlink?
Ashish
First I created a XBAP application. secondly I created a blank asp.net application and in the default page I kept the hyperlink like
<a href="D:\satish\Practice\WPF\WPFBrowserApplication1\WPFBrowserApplication1\bin\Debug\WPFBrowserApplication1.xbap" target="_top"> Click Here</a>
If i run seperately in my browser the linked resource "D:\satish\....\WPFBrowserApplication1.xbap" it is running fine,
but when i try run my asp.net application and tried to click the hyperlink i could not able to see any further processing or action.
What should be done.
You mentioned "can you also check if the linked resource is being loaded from the same zone as the resource which has the hyperlink?" how should i verify this.