Executing an arbitrary method or long-running process on the LightSwitch server: 2. Grab the code.

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…

Until now.

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?

Lesson of today: how to grab the code:

  1. Click this link
  2. Follow your intuition

And that’s all there is to it.

Finally, let’s finish off with a small recap of today’s blog post: click here to get the sample.


Keep rocking LS!


PS: I’m trolling, obviously, but I really wanted to publish a link to the code sample ASAP, just because I had it ready and working my way through all blog posts might take a while 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s