In the business world that we try to model into bits and bytes, not everything is considered CRUD. Although LightSwitch excels at creating CRUD-based applications or data services, the need to call an arbitrary method or long-running process on the server couldn’t really be satisfied without hacks or workarounds…
This sample explores the simple but (for unknown reasons) long-running business process of “inviting a friend to check out an application”. The sample in itself has no other functionality than the ability to invite more users, who would not want to check this out?
Besides the actual source code, there will be a couple of blog posts over the next few weeks that explain the sample in great detail:
- Overview – This page.
- Grab the code – In case you want to see it all before the blog post series is finished.
- Permissions elevation: creating a new user.
- Adding a SilverLight compatible WCF (SOAP) service to a LightSwitch application.
- Working with the ServerDataContext.
- The ABC of WCF: where, how, what?
- To channel or not to channel: ChannelFactory vs Add New Service Reference…
- Modal, modal, modal: three ways to show a modal window on the SilverLight client.
- In summary…
Hope you enjoy, and as always, don’t be afraid to leave a message in the comment section below!
Keep rocking LS!
Pingback: Beth Massi - Sharing the goodness
Thanks, Jan. Your blog and code are fantastic (as is LS).