How to use Silverlight Logging in your Silverlight or WP7 project:
- What does this button do? How it works
- How to configure your Client application How to: Client
- How to configure your Server application How to: Server
This block contains the following features:
Client code
- Library for Silverlight 4
- Library for WP7
- A sample Silverlight Client Project using the library.
- A sample Windows Phone 7 Client Project using the library.
Both client-libraries contain the same features:
- ExceptionPolicy (to be called from your code, for handling exceptions)
- Store (a client side storage for exceptions, for working offline)
- SyncBehavior (a policy for synchronizing error to the service)
- LogStatusControlViewModel (a viewmodel that will provide status info to a userinterface)
- LogStatusControlView (a view that shows the info from LogStatusControlViewModel, for developer debugging support)
- LoggingService (the proxy for the loggingservice)
Server code
- LoggingService (the WCF service that will provide clients with configuration and store exceptions from clients)
- ILoggingSink (a MEF composable interface that will be used to store errors)
- 2 Sample implementations of ILoggingSink, an AppFabric sink and a SessionState sink.
- Sample configuration in the web.config file.