extending expression blend (themed)

11
Extending Expression Blend Cristian Prieto Senior Developer, Readify http://cprieto.com , @cprieto

Upload: kementeus

Post on 17-May-2015

1.359 views

Category:

Technology


1 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Extending expression blend (themed)

Extending Expression

BlendCristian Prieto

Senior Developer, Readify

http://cprieto.com, @cprieto

Page 2: Extending expression blend (themed)

Why to extend?

Sometimes it doesn’t do what you use to do in other tool

Maybe there’s a market for that out there, who knows!

Sometimes you feel bored at home and need to code something different

You because you can!

Page 3: Extending expression blend (themed)

What can be extended?

Microsoft Expression Web

HTML Addins

Microsoft Expression Blend

Blend behaviors

Microsoft Expression Encoder

Publish addins

Page 4: Extending expression blend (themed)

What Microsoft says:

This is not officially

supported!

Page 5: Extending expression blend (themed)

What do I need?

A .Net language, of course!

MEF knowledge

ICommand, Service locator pattern knowledge… maybe

Reflector/ILSpy/Cecil

A lot of patience!

Page 6: Extending expression blend (themed)

Blend Extension points

Officially supported

Behaviors (Blend SDK)

design-experience for custom controls

Item and Project templates

Not officially supported

Everything else!

Page 7: Extending expression blend (themed)

Blend Extension Model

There are IPackage’s

AddIn’s

Extension’s

There is a “service container/locator”

IServices : IServiceProvider

There is an “application context”

ExpressionApplication

There is a service for almost anything

Page 8: Extending expression blend (themed)

Because you already using it, right?Introduction to MEF

Page 9: Extending expression blend (themed)

Now what you were waiting for…Our first extension

Page 10: Extending expression blend (themed)

Come on! Don’t be so shy!

Questions?

Page 11: Extending expression blend (themed)

ReferenceReflector 7

http://reflector.red-gate.com/download.aspx

ILSpy

http://wiki.sharpdevelop.net/ilspy.ashx

WPF Designer extensibility

http://msdn.microsoft.com/en-us/library/bb546938.aspx

Silverlight/WPF Designer extensibility

http://archive.msdn.microsoft.com/DesignerExtensbility

Expression Blend Designer extensibility

http://blogs.msdn.com/b/terryclancy/archive/2011/01/21/microsoft-expression-blend-4-extensibility.aspx

Building extensions for Expression Blend 4 using MEF

http://www.codeproject.com/Articles/75961/Building-extensions-for-Expression-Blend-4-using-M.aspx

MEF project on Codeplex

http://mef.codeplex.com/

(bonus track) Creating an Expression Encoder publishing plugin

http://msdn.microsoft.com/en-us/magazine/cc136758.aspx