silverlight - IApplicationService in WPF -
i'm new wpf , i'm migrating project silverlight wpf 4.0 , problem can't find equivalence iapplicationservice , iapplicationlifetimeaware . the library , namespace system.windows loaded, yet have error message; "the type or namespace name 'iapplicationlifetimeaware' not found'. any idea missing please. thanks finally found there's no direct migration , need recoded. if implementing iapplicationservice , iapplicationlifetimeaware access statservice() , can make method public, without argument.. public void startservice() { . . } and call method during instanciation in app.xaml.cs public app() { this.startup += this.application_startup; this.exit += this.application_exit; initializecomponent(); offlinedatabaseservice x = new offlinedatabaseservice(); x.startservice(); }