© ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host:...

16
© ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp

Transcript of © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host:...

Page 1: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

Delicious Dot Net

A tasty take on WPF, WCF, LINQ and O-R Mapping.

Your host: James Crisp

Page 2: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

.NET 3.5 (VS2008)

C# 3(Ruby, Python, VB, etc)

WCF

WPF WWF

Page 3: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

WWFWindows Workflow Foundation (now WW)

• XML based description of work flows

• GUI Designer support

• Engine driving future versions of BizTalk

• Integration with MS tools like Outlook tasks and email

• Custom "hand-coded" tasks

Page 4: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

WPFWindows Presentation Foundation

• XML based GUI

• Cross between Windows Forms and HTML style

• Support for lots of stuff like:

– 2D & 3D Graphics

– Data binding

• Both for Web and Rich Client

Page 5: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

WPF Demos

Page 6: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

WCFWindows Communication Foundation

• “WCF is definitely the best integration platform available today”

– Jim Webber

• Web services

• SOA

• SOAP: WS-*, WS-Kitchen-Sink

• REST / POX

Page 7: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

Delicious Recipes Business Case

• Woman’s Weekly PUBLISHES RECIPES in their magazines

• They want it computerised for DAILY DELIVERY

• They want it to work ONLINE and OFFLINE and be SEARCHABLE

Page 8: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

DELICIOUS . NET

Phase 1 – Online

http://delicious.net/recipes/

Page 9: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

C# 3• Lambda functions

• Linq

• O-R mapping

• Anonymous types

• Extension methods

• var

Page 10: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

DELICIOUS . NET

Phase 2 - Offline

Page 11: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

That’s nice…

But I want to use RAILS!

Page 12: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

Castle ProjectRails for .NET (not .NET 3.5)

• ActiveRecord implementation built on top of NHibernate

• Rails-like MVC setup called MonoRail

• Template style views with NVelocity

Page 13: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

Other platforms?

Page 14: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

Also on:Nokia 770

Page 15: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

Conclusion• .NET 3.5 comes with nice integrated frameworks to leverage:

– WCF: “Best integration platform”

– WPF: Pretty, 2D & 3D, nice data binding

– WWF: Workflow management

• C# 3 has lots of good new language features:

– Lambda functions

– Explicit typing often not required

– Anonymous types

– LINQ

Page 16: © ThoughtWorks, 2007 Delicious Dot Net A tasty take on WPF, WCF, LINQ and O-R Mapping. Your host: James Crisp.

© ThoughtWorks, 2007

Links

I'll be uploading the slides and Delicious code to my blog:

http://jamescrisp.org

ThoughtWorks (is hiring):

http://thoughtworks.com/