protected void Session_Start() { // initialize app // MXWebkitContainer.Initialize(new MyApp.App()); // add views to container MXWebkitContainer.AddView <string>(new Views.MessageView(), ViewPerspective.Default); }
protected void Session_Start() { // initialize app MXWebkitContainer.Initialize(new CustomerManagement.App()); // add views to container MXWebkitContainer.AddView <List <Customer> >(new Views.CustomerListView(), ViewPerspective.Default); MXWebkitContainer.AddView <Customer>(new Views.CustomerEditView(), ViewPerspective.Update); MXWebkitContainer.AddView <Customer>(new Views.CustomerView(), ViewPerspective.Default); }
protected void Session_Start() { // initialize app MXWebkitContainer.Initialize(new BestSellers.App()); // add views to container MXWebkitContainer.AddView <CategoryList>(new Views.CategoryListView(), ViewPerspective.Read); MXWebkitContainer.AddView <BookList>(new Views.BookListView(), ViewPerspective.Read); MXWebkitContainer.AddView <Book>(new Views.BookView(), ViewPerspective.Read); }