Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 21st, 2010, 02: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
Reply With Quote
  #2 (permalink)  
Old October 5th, 2010, 01: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 07:15 PM
Anyone play with XAML yet? HuhOiC C# 1 March 29th, 2004 05:30 PM



All times are GMT -4. The time now is 01:09 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.