Presentation is loading. Please wait.

Presentation is loading. Please wait.

2008.NET iSDC & RONUA Workshop, November 10 th 2007. Mark Blomsma Software architect Develop-One.

Similar presentations


Presentation on theme: "2008.NET iSDC & RONUA Workshop, November 10 th 2007. Mark Blomsma Software architect Develop-One."— Presentation transcript:

1 2008.NET iSDC & RONUA Workshop, November 10 th 2007. Mark Blomsma Software architect Develop-One

2 Agenda  Introduction  Objectives  Basic development cycle  Demo  Progamming gadgets  Settings and gadgets  Security  Demo 08-nov-2007© 2007 Develop-One2

3 Mark Blomsma  Professional developer since 1992  Microsoft Certified Professional (MCP)  Microsoft Most Valuable Professional (MVP) for four years running  Author, Speaker & Software Architect at Develop-One  Instructor for DevelopMentor 08-nov-2007© 2007 Develop-One3

4 Objectives  Demo a bunch of stuff  C# 3.0  VSTO - Outlook AddIn  LINQ to SQL  WCF 08-nov-2007© 2007 Develop-One4

5 C# 3.0 – Automatic Properties 08-nov-2007© 2007 Develop-One5 private string _address; public string Address { get { return _address; } set { _address = value; } Old: New: public string Address {get; set;}

6 C# 3.0 – Object Initializers 08-nov-2007© 2007 Develop-One6 void Main() { Customer c = new Customer(); c.Name = “Mark”; c.Age = 35; } Old: New: void Main() { Customer c = new Customer() { Name = “Mark”, Age = 35 }; }

7 C# 3.0 – Anonymous Types 08-nov-2007© 2007 Develop-One7 void Main() { var anObject = new { Name = “Mark”, Age = 35 }; }

8 C# 3.0 – Extension Methods 08-nov-2007© 2007 Develop-One8 public static class MyExtensions { public static void Say( this object o ) { … }

9 Demo  Build an ‘Hello World!’ Outlook AddIn. 08-nov-2007© 2007 Develop-One9

10 LINQ  It is a set of language changes and API's that allow you to write SQL-like queries natively in your chosen.NET programming language. 08-nov-2007© 2007 Develop-One10 void Main() { MyDatabase db = new MyDatabase(); var customers = from c in db.customers select c.Name, c.Address; }

11 Demo  LINQ to SQL 08-nov-2007© 2007 Develop-One11

12 Demo  Windows Communication Foundation 08-nov-2007© 2007 Develop-One12

13 Resources  www.hookedonlinq.com www.hookedonlinq.com 08-nov-2007© 2007 Develop-One13

14 08-nov-2007© 2007 Develop-One14 mark.blomsma@develop-one.com www.develop-one.com http://blog.develop-one.com


Download ppt "2008.NET iSDC & RONUA Workshop, November 10 th 2007. Mark Blomsma Software architect Develop-One."

Similar presentations


Ads by Google