-
Book Overview & Buying
-
Table Of Contents
Mastering LOB Development for Silverlight 5: A Case Study in Action
By :
For our booking application, the following is necessary:
The user must identify themselves before starting the application
The bookings information assigned to the user must be shown
To detect the user role:
Normal: Their bookings can be viewed, as well as created and updated
Administrator: They can also manage the available floors and rooms
In order to do so, we enter a few changes, both on the server side and the client side.
Regarding the server, we define ASP.NET providers for authentication and authorization in the project named Packt.Booking.Server.Data. There, we also define the Authentication Service of RIA Services.
Once defined, we need to modify the web.config of the web project (Packt.Booking.Server.Web), indicating the providers that will be used.
<!-- Security-->
<authentication mode="Forms" />
<membership defaultProvider="myCustomProvider">
<providers>
<add name="myCustomProvider...
Change the font size
Change margin width
Change background colour