Extensions made easy: Create extensions inside a LightSwitch application (with Microsoft Visual Studio LightSwitch (standalone))

I created an example on how you can create a theme INSIDE a LightSwitch application (30 minutes), and uploaded it to the MSDN sample site (90 minutes… bah!).

This SHOULD mean that you can now use the ExtensionsMadeEasy extension to create themes for a LightSwitch application, without the need of MS Visual Studio premium / professional / … (But since I have VS Premium installed, I can’t check for sure, and it would be nice if someone could confirm).

I will go over the code in the sample in detail as soon as I have time, but feel free to dig into the sample yourself in the meantime…

  1. Download the ExtensionsMadeEasy extension.
  2. Download this sample, unzip, and open in MS VS LightSwitch.
  3. Run the sample.
  4. Mess around with the MyTheme.xaml resource dictionary, and run the sample again.

Have fun,  and let me know how it went!

Advertisements

8 thoughts on “Extensions made easy: Create extensions inside a LightSwitch application (with Microsoft Visual Studio LightSwitch (standalone))

  1. Hi Jan,

    So far… I assume you meant MyTheme.xaml, not MyStyle.xaml.

    I also got an error when trying to open it in VS2010 but I was able to open it in Expression Blend.
    I did a screen shot of the error but it basically said that there was an problem loading because of document errors. It looks ok in Blend with no errors so far. I’ll keep you updated.

    Bill

  2. Beste Jan,
    Je made easy extension is erg goed. Ik vroeg me eigenlijk af of je ook een voorbeeld met een shell erbij hebt? Wil deze graag comibneren. Ben ook in LightSwitch gedoken en tot nu toe ben ik wel behoorlijk onder de indruk. Het mooitste is natuurlijk dat je alles ook nog kunt customizen.
    In afwachting op een antwoor….

    Mvg, Dennis

  3. Hi Jan
    Excellent extension. Very interested in all the MEF stuff. Would love to know the whole picture of what you can do with the full knowledge of the Lightswitch framework.

    • Hey Paul,
      thanks for commenting! I created another post “LightSwitch and the MEF story”, which explains how LS approaches MEF a bit deeper. Let us know if there’s anything specific you still would love to read about!
      Keep rocking LS!

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 )

Google+ photo

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

Connecting to %s