Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Silverlight 4 Problem - Design - Solution
This is the forum to discuss the Wrox book Silverlight 4 Problem - Design - Solution by Nick Lecrenski; ISBN: 9780470534045
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Silverlight 4 Problem - Design - Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 21st, 2010, 01:03 PM
Authorized User
 
Join Date: Jul 2010
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
Default App.xaml problem

Hi

i have a little problem in the App.xaml file.

When i add the following code i get 2 errors :

Code:
<Application.ApplicationLifetimeObjects>
<app:WebContext>
<app:WebContext.Authentication>
<services:FormsAuthentication />
</app:WebContext.Authentication>
</app:WebContext>
</Application.ApplicationLifetimeObjects>
error 1: The attachable property 'Authentication' was not found in type 'WebContext'

error 2: The type 'app:WebContext' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

However i am still able to run the application.

Can someone explain please?

Thanks

Regards

Matt
 
Old October 5th, 2010, 12:21 AM
Authorized User
 
Join Date: Sep 2009
Posts: 34
Thanks: 4
Thanked 1 Time in 1 Post
Default

Did You set the forms authentication in the web.config too, under System.Web?

Code:
      <authentication mode="Forms"/>
Gabor




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch. 2: Viewing Page.xaml in Expression Blend JeffCren BOOK: Professional Microsoft SharePoint 2007 Development Using Microsoft Silverlight 2 ISBN: 978-0-4 1 June 27th, 2009 06:15 PM
Anyone play with XAML yet? HuhOiC C# 1 March 29th, 2004 05:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.