Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Extending expression blend (themed)


Published on

Presentation for Victoria Silverlight Developer Network Victoria about Extending Microsoft Expression Blend using .Net and MEF

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

Extending expression blend (themed)

  1. 1. Extending Expression Blend<br />Cristian Prieto<br />Senior Developer, Readify<br />, @cprieto<br />
  2. 2. Why to extend?<br />Sometimes it doesn’t do what you use to do in other tool<br />Maybe there’s a market for that out there, who knows!<br />Sometimes you feel bored at home and need to code something different<br />You because you can!<br />
  3. 3. What can be extended?<br />Microsoft Expression Web<br />HTML Addins<br />Microsoft Expression Blend<br />Blend behaviors<br />Microsoft Expression Encoder<br />Publish addins<br />
  4. 4. What Microsoft says:<br />This is not officially supported!<br />
  5. 5. What do I need?<br />A .Net language, of course!<br />MEF knowledge<br />ICommand, Service locator pattern knowledge… maybe<br />Reflector/ILSpy/Cecil<br />A lot of patience!<br />
  6. 6. Blend Extension points<br />Officially supported<br />Behaviors (Blend SDK)<br />design-experience for custom controls<br />Item and Project templates<br />Not officially supported<br />Everything else!<br />
  7. 7. Blend Extension Model<br />There are IPackage’s<br />AddIn’s<br />Extension’s<br />There is a “service container/locator”<br />IServices : IServiceProvider<br />There is an “application context”<br />ExpressionApplication<br />There is a service for almost anything<br />
  8. 8. Because you already using it, right?<br />Introduction to MEF<br />
  9. 9. Now what you were waiting for…<br />Our first extension<br />
  10. 10. Come on! Don’t be so shy!<br />Questions?<br />
  11. 11. Reference<br />Reflector 7 <br /><br />ILSpy<br /><br />WPF Designer extensibility<br /><br />Silverlight/WPF Designer extensibility<br /><br />Expression Blend Designer extensibility<br /><br />Building extensions for Expression Blend 4 using MEF<br /><br />MEF project on Codeplex<br /><br />(bonus track) Creating an Expression Encoder publishing plugin<br /><br />