1 Visual Studio 2008 Fons Sonnemans (Trainer) Reflection IT

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

The Microsoft Technical Roadshow 2007 Language Enhancements and LINQ Daniel Moth Developer & Platform Group Microsoft Ltd
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Visual Studio 2008 and the.NET Framework v3.5 Gill Cleeren Microsoft Regional Director.
.NET 3.5 – Mysteries. NetFx Evolution NetFx 1.0 C# 1.0, VB 7.0, VS.NET NetFx 1.1 C# 1.1, VB 7.1, VS 2003 NetFx 2.0 C# 2.0, VB 8.0, VS 2005 NetFx 3.0 C#
FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.
Name SuPeng. .NET Framework & Visual Studio Roadmap.NET Framework 3.5 overview Visual Studio design goals Lap around new features.
Visual Studio 2008 & .NET 3.5 Overview
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
ASP.NET 3.5 New Features. 2 Agenda What's New in.NET Framework 3.5? Visual Studio 2008 Enhancements LINQ (Language Integrated Query) New ASP.NET Server.
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
Originally founded in 1985 as Rock Financial by Dan Gilbert Grew to one of the largest independent mortgage banks in the country 1998 IPO 1999 Launched.
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
Building a Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 (Part 1 of 2) Jeff King Program Manager Microsoft Corporation
Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
It’s always better live. MSDN Events Developer Productivity Improvements with Visual Studio 2008 and Office Business Applications.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
A tour of new features introducing LINQ. Agenda of LINQ Presentation We have features for every step of the way LINQ Fundamentals Anonymous Functions/Lambda.
Aptech Borivali(West) Hefin Dsouza. Agenda  What is.NET and What is Visual Studio? .NET Framework 3.5 Overview.  Visual Studio 2008 Enhancements. 
.NET framework’s Versions .NET Framework Version Microsoft started development on the.NET Framework in the late 1990s originally under the name of Next.
Powerful, modern desktops enable next generation applications Hardware acceleration brings real-time lighting, texturing and rendering Visual.
A tour of Visual Studio 2008 and the.NET Framework v3.5 Daniel Moth Developer & Platform Group Microsoft
Visual Studio 2008 for ASP.NET developers Daniel Moth Developer and Platform Group Microsoft
Developing for the Microsoft Office System Jay Schmelzer Group Program Manager – Visual Studio.
LINQ Programming in C# LINQ CSE Prof. Roger Crawfis.
 Introduction  What is LINQ  Syntax  How to Query  Example Program.
Reflection IT LINQ & Entity Framework Fons Sonnemans (Trainer)
Eric Vogel Software Developer A.J. Boggs & Company.
What’s New In Visual Studio 2010 Denys Kholod Technology Expert Hmarasoft.com.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Introducing Reporting Services for SQL Server 2005.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
Putting it all together: LINQ as an Example. The Problem: SQL in Code Programs often connect to database servers. Database servers only “speak” SQL. Programs.
Introduction to LINQ Lecture # 19 August Introduction How do you interrogate/manipulate data? What if you could do the work in a type-safe," string-free.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
Tony Goodhew Product Planner DEV328.
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
 Language Integrated Query  Make query a part of the language  Component of.NET Framework 3.5  Shipped with Visual Studio 2008.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Visual Studio “Orcas” &.NET Framework v3.5 Mike Taulty, Daniel Moth Developer & Platform Group Microsoft Ltd
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
C# 2.0 and Future Directions Anders Hejlsberg Technical Fellow Microsoft Corporation.
By: Luis Carranco CIS764 - Fall  What is LINQ  Architecture  How does it work?  Samples/Demo  Why to use LINQ? 2.
Satisfy Your Technical Curiosity C# 3.0 Raj Pai Group Program Manager Microsoft Corporation
What’s New in Windows Forms 2.0 Stephen Turner Software Design Engineer
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Ken Casada Developer Evangelist Microsoft Switzerland
Language Integrated Query Mike Taulty Developer & Platform Group Microsoft Ltd
What was new in VS Studio 2008 A bird eye view from the height of ft By: Shahzad Sarwar Software Architect Comsoft computer consultants.
Sergiy Baydachnyy Developer Evangelist Microsoft Corporation.
My Sessions here at Tech Ed Mon, 16:00, TLA201, Auditorium A Tour of Visual Studio 2008 and the.NET Framework 3.5 Tue, 10:45, MED202, Room 113 Building.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
Introduction ITEC 420.
Introducing the Microsoft® .NET Framework
Part 1: Overview of LINQ Intro to LINQ Presenter: PhuongNQK.
DotNetSpider Editor Hefin Dsouza
Introduction to Entity Framework
.NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5
Language Integrated Query: (LINQ) An introduction
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
An Introduction to Entity Framework
Office as a development platform with Visual Studio 2008
Visual Studio “Orcas” & .NET Framework v3.5
Visual Studio 2008 Mike Taulty Developer & Platform Group
Visual Studio + SQL Server Is Better
Visual Studio 2008.
Presentation transcript:

1 Visual Studio 2008 Fons Sonnemans (Trainer) Reflection IT

2 Agenda Multitargetting Occasionally connected Systems Office Applications Client Applications Windows Communication Foundation ASP.NET Web Applications C# 3.0 and LINQ

3.NET 3.5 Sp1 Release History 2008.NET 3.5.NET 3.0 Visual Studio 2008 Sp Visual Studio 2008.NET Visual Studio 2005.NET Visual Studio.NET 2003.NE T Visual Studio.NET 2006.NET 3.5.NET Visual Studio 2008.NET 2.0.NET 1.1.NE T 1.0

4 Multitargetting No longer a hard link between Visual Studio and the application’s target framework VS 2008.NET Fx 2.0.NET Fx 3.0.NET Fx 3.5

5 Connected Single data source Database driven Hard coded Monolithic & rigid Occasionally connected Multiple data sources Information based Model driven SOA Sync Framework & Services

6 ADO.NET Sync Services Client App SyncServices No active connection to the database required Data is persisted using SQL Server Everywhere Edition Local Change Tracking for Sending Updates When Connected VS2008 Developer Productivity “Pay to Play”, RAD Component Architecture Leveraging Developers ADO.NET Knowledge Auto Creation of Database and Table Schema SQL Server Everywhere Edition SQL Server

7 { ADO.NET Sync Services }

8 Office Applications (VSTO) Office 2003 & 2007 Support Built in to core product Office 2007 Customisations Document or Application Ribbon Designer Outlook Form Region Designer Custom Action Panes ClickOnce Deployment

9 Ribbon Customization New Look and Feel for Office UI Replaces Command Bars in “the big 5” Office apps VSTO Ribbon Designer Tab Group Control Ribbon

10 Custom Task & Actions Panes VSTO simplifies and speeds up task pane UI design process with visual designers and.NET hookup Actions Pane More robust, easier to program alternative to Office’s built-in “Smart Document” technology Custom Task Pane The same general idea as Actions Pane, only on the application add-in level, not individual doc

11 Outlook Form Region Features New technology in Outlook 2007 for enhancing and replacing Outlook’s built-in forms Code behind form region is implemented as COM add-in New controls provide built-in look & feel and data binding to Outlook data

12 { Office Applications }

13 Client Applications Windows Presentation Foundation Visual Designer Integrated into Visual Studio XBAP deployment to FireFox UIElement3D, Viewport2DVisual3D Windows Forms ClickOnce For FireFox Consume ASP.NET Provider Services Better WPF Interoperablity UAC Manifests Consume WCF Services in Partial Trust

14 { WPF Support in VS2008 }

15 WF and WCF Workflow (WF) Integration with WCF Communication (WCF) RESTful support Syndication Support Partial Trust Support

16 ASP.NET Web Applications Microsoft AJAX LibrariesIDE Enhancements Javascript IntelliSense Javascript Debugging New HTML Editor Shared with Expression Web Rich support for CSS Split view with better switching performance Nested Master Pages Controls – ListView, DataPager

17 { WCF Support in VS2008, ASP.NET Applications }

18 VB9 Language Features in VS 2008 Most are LINQ enablers XML Literals Relaxed Delegates C# 3 Collection Initialisers Partial Methods Automatic Properties Extension Methods Object Initialisers Anonymous Types Local Type Inference Lambda expressions If Ternary Operator Nullable Syntax Lambda statements

19 C# 3.0: Local Variable Type Inference Local variable type inference is a feature in C# 3.0 where you can use the var keyword instead of explicitly specifying the type of a variable. The C# 3.0 compiler makes the type of the variable match the type of the right side of the assignment. public void Foo() { var i = 5; var s = "Hello"; var d = 1.0; var z;// compiler error, no initializer z = DateTime.Today; }

20 C# 3.0: Object Initializers public class Point { private int x, y; public int X { get { return x; } set { x = value; } } public int Y { get { return y; } set { y = value; } } } Point a = new Point { X = 0, Y = 1 }; Point a = new Point(); a.X = 0; a.Y = 1; Field or property assignments

21 C# 3.0: Anonymous Types Different anonymous object initializers that define properties with same names in the same order generate the same anonymous type var emp = new { Name = "Fons", Salary = 2000, DateTime.Today.Year }; var year = emp.Year; class XXX { public string Name { get; set; } public int Salary { get; set; } public int Year { get; set; } }

22 C# 3.0: Extension Methods Extend existing types with additional methods. namespace MyStuff { public static class Util { public static bool IsWeekend(this DateTime value) { return (value.DayOfWeek == DayOfWeek.Sunday || value.DayOfWeek == DayOfWeek.Saturday); } using MyStuff; Brings extensions into scope dt.IsWeekend()  MyStuff.Util.IsWeekend(dt) DateTime dt = DateTime.Today; bool b = dt.IsWeekend();

23 C# 3.0: Lambda Expressions delegate string SomeDelegate(string s); private static string TestMethod1(string s) { return s.ToUpper(); }... SomeDelegate d1 = new SomeDelegate(TestMethod1); string a = d1("abcde"); SomeDelegate d3 = delegate(string s) { return s.ToUpper(); }; string a = d3("abcde"); SomeDelegate d4 = s => s.ToUpper(); string a = d4("abcde"); SomeDelegate d2 = TestMethod1; string a = d2("abcde"); Delegate Inference Anonymous Method Lambda Expression OO Function- Pointer C# 1.x C# 2.0 C# 3.0

24 { C# 3.0 }

25 Language INtegrated Query? Lots of code written today in order to loop, filter, sort, group, etc. Why not build better support for this? sortsort looploop sumsum

26 Why Have LINQ? Access to common data like XML or SQL is harder than accessing in memory objects; Why not have better API’s than this? hope!hope! pray!pray!hope!hope!

27 Language Integrated Query from data in someDataSource join otherData in someOtherSource on keyExpr equals keyExpr (into itemName)? let someVariable = someExpression wheresomePredicate orderby (expression (ascending | descending)?)* select expression group expression by keyExpression into itemName from data in someDataSource join otherData in someOtherSource on keyExpr equals keyExpr (into itemName)? let someVariable = someExpression wheresomePredicate orderby (expression (ascending | descending)?)* select expression group expression by keyExpression into itemName.NET Framework V3.5 Language Features ( C# V3 and VB V9 ) CustomCustomObjectsObjectsXMLXMLSQLSQL

28 How Does LINQ Work? Compiler rewrites as method calls No need to implement Select() etc. if myData is eitherIEnumerableIEnumerableIQueryableIQueryable Implementations already present in the.NET Framework for those cases

29 IEnumerable & IQueryable? IEnumerable – query is executed in memory Execute where select where select Parse & Execute IQueryable – query is parsed then translated to SQL and finally executed on to the database

30 LINQ to SQL from c in db.Customers where c.City == "London" select c.CompanyName; IQueryable<T> SELECT CompanyName FROM Customer WHERE City = 'London' SQL Query or SProc Resultset Objects db.Customers.InsertOnSubmit(c1); c2.City = "Asten" ; db.Customers.DeleteOnSubmit(c3); SubmitChanges() INSERT INTO Customer … UPDATE Customer … DELETE FROM Customer … DML or SProcs Application SQL Server LINQ to SQL

31 { LINQ to Objects, LINQ to SQL }

32 Summary Visual Studio 2008 Great for Windows Vista Development Great for Client Development Great for Web Development Great for Database Applications Development Great for.NET Framework v3.5 Service Pack 1 will add even more features ADO.NET Entity Framework ADO.NET Data Services ASP.NET Dynamic Data

33 Resources Visual Studio 2008 Upgrade Training

34 Questions