Applies to Silverlight 4, 5
Windows authentication, as we've used in the previous recipe, is very suitable for internal environments. However, if you're publishing a public Silverlight application, you typically require the user to enter his or her credentials. Besides that, the
User object itself might be different: it might have extra properties; it might be an
Employee object from your database.
In this recipe, we'll learn how we can achieve this kind of authentication.
Before getting started, you've got to make sure the correct SDK and assemblies to enable WCF RIA Services are available. Please refer to the recipe Setting up a data solution to work with WCF RIA Services ...