LightSwitch Beta 2 Extensibility “Cookbook”

LightSwitch Beta 2 Extensibility “Cookbook”

Rate This
  • Comments 10

UPDATE 7/27/2011 - The Beta 2 Cookbook is now out of date as we have released RTM. Please see Extending LightSwitch on the Developer Center for documentation and samples on using the LightSwitch Extensibility Toolkit.


One of the big features of LightSwitch is the ability for professional developers to write extensions to provide even more capabilities for the LightSwitch developer than what they get out of the box. A way to think of them is like add-ons. Extensions can be used to interact with the user directly, or to do some work behind the user interface such as data access. In LightSwitch there are 6 extension points: Controls,  Screen Templates, Business Types, Themes, Shells and Custom Data Sources.

We’d like to release a draft of a document that is designed to educate you on what extensibility is available for the LightSwitch product, and to illustrate the various extensions types that can provide entry points into extending a LightSwitch application. The document also contains “recipes” for creating the various extension types so you can get started building extensions for the LightSwitch community.

To build LightSwitch Extensions you will need to have Visual Studio LightSwitch Beta 2, Visual Studio 2010 SP1 Professional or higher and the Visual Studio SDK. In addition to the cookbook we are also providing a blank extension solution to help you get started:

Download the LightSwitch Extensions Cookbook: .Word doc or PDF

Download the Blank Extension Solution:

We want your feedback! Please add a comment below and let us know how we can improve the cookbook and the extensibility experience.

-The LightSwitch Team

Leave a Comment
  • Please add 6 and 1 and type the answer here:
  • Post
  • Beth, you had said:

    "To build LightSwitch Extensions you will need to have Visual Studio LightSwitch Beta 2, Visual Studio 2010 SP1 Professional or higher and the Visual Studio SDK."

    When you say "Visual Studio SDK", isn't that already installed when we upgraded VS to SP1? Or is this something extra that we need to install on  the VS SP1?

    Thanks for the Doc!


  • It is a separate download and linked above.

  • Thanks, just wanted to make sure it wasn't already installed by VS SP1 install.

  • When I open the LightSwitch Extensions Cookbook, the pictures and diagrams are all blank.  Am I missing something?

  • @MGS - What version of Word are you using? We saved it in a 2003+ compatible format. We'll work on getting a PDF version up as well, that'll probably work better for you.

  • Fantastic Job! Many compliments and thanks for all!

  • This is great very well done.

    It might make a good video or hands on lab through the MSDN Virtual Labs.

    Also, the "fulled cooked" recipes would be useful to have for those that like to

    tinker with already built solutions.

    Finally, a quick thing to add is a screen shot of the Shell extension.  I am envisioning something like a terminal window with a command line :-)

    Thanks for the great work!


  • Thats is a great new feature.

    But how about report, is there any extension yet or alternative? Because my team is already finish develop LightSwithc project, but cannot embed a Crystal Report.

    We think this is a essential extension.

  • What happened to the cookbook?

  • @Steve - The cookbook has been replaced with official documentation and "How Tos". We've released an Extensibility Toolkit and lots of samples that makes it much simpler to create extensions. See the top of the blog post and check this outfor more info:

Page 1 of 1 (10 items)