0% found this document useful (0 votes)
303 views33 pages

Overview of Vs 2008

Visual Studio 2008 and .NET Framework 3.5 provide numerous updates and new features. Visual Studio 2008 aims to be the best tool for developing applications for Windows Server 2008, Windows Vista, Microsoft Office 2007, and the web. It includes improvements for web developers, new languages features, and enhanced lifecycle tools. The .NET Framework 3.5 contains Windows Communication Foundation, Windows Workflow Foundation, Language Integrated Query, and support for mobile and Office development.

Uploaded by

matifimran
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
303 views33 pages

Overview of Vs 2008

Visual Studio 2008 and .NET Framework 3.5 provide numerous updates and new features. Visual Studio 2008 aims to be the best tool for developing applications for Windows Server 2008, Windows Vista, Microsoft Office 2007, and the web. It includes improvements for web developers, new languages features, and enhanced lifecycle tools. The .NET Framework 3.5 contains Windows Communication Foundation, Windows Workflow Foundation, Language Integrated Query, and support for mobile and Office development.

Uploaded by

matifimran
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

Visual Studio 2008 &

the .NET Framework 3.5

Tufan Erdinc
http://devtr.spaces.live.com
Agenda
• .NET Framework & Visual Studio Roadmap
• Visual Studio design goals
• Lap around new features
Clarify version confusion…

Visual Studio 2008


.NET Framework 3.5

.NET Framework 3.0 + SP1

.NET Framework 2.0 + SP1


RTM
Releases

3.0
Major

“Rosario”
3.5 RTM
•VS 2008 Beta 2
•.NET Framework 3.5 Beta 2
Out of band
Releases

• VS Extensions for WF SQL Server 2008


• VS Extensions for WCF/WPF CTP ADO.NET Entity
Framework

ASP.NET AJAX 1.0

2006 2007 2008


Visual Studio 2008 Design Goals
• Best tool set for Windows Server 2008, Windows Vista & Microsoft
Office 2007
– .NET Framework 3.5 design surfaces
– Office 2007 support including ClickOnce and VSTO
– MFC support for Vista common controls

• Improvements for Web Developers


– HTML / CSS designer enhancements
– Integrated AJAX and JavaScript support

• Language advances
– .NET Framework multi-targeting support
– Improved Data & Language integration in VB / C#
Lap around VS 2008 & .NET 3.5

Services

Mobile Windows
Apps Lifecycle Tools, Apps
.NET
Framework,
& languages

Office Web
Apps Apps
Visual Studio Enhancements
• Side-by-Side support
– Visual Studio 2008 side–by-side with previous versions
• Multi-targeting
– Target multiple versions of the framework from a single tool -
Visual Studio 2008
– Supports framework versions 2.0, 3.0, and 3.5
– Enables only features available in target framework
• Toolbox, Project types, References, Intellisense, …
– Making is easy to upgrade to Visual Studio 2008
• Unit Testing
– Now available in all editions of Visual Studio Professional
Multi-targeting with Visual Studio 2008
Lifecycle Tools Enhancements
• Team Foundation Server 2008
– Built-in support for Continuous Integration
– TFS Migration Toolkit
– “Get latest on checkout”
– Annotate
– Folder Diff
• For developers:
– Code metrics
– Performance “hotpathing”
– Profiler baselining
– Much faster unit testing performance
• For testers:
– Load testing support for AJAX applications
– Better UI for load test monitoring / reporting
• And much more…
Discover who last changed a
section of code and get detailed
change set information
Language INtegrated Query (LINQ)
• New programming model for data access that integrates query
support directly within the .NET languages

• Designed to reduce the complexity when working with data


• Query operators can be used against any collection
– Built-in examples: Select, Where, GroupBy, Join, etc.
– Extensibility model supports extending/replacing these
• Benefits
– Work with data in a consistent way, regardless of the type of data
– Interact with data as objects
– Better integration with programming languages
– Improved productivity through IntelliSense in Visual Studio
LINQ Architecture & Components
C# 3.0 VB 9.0 Others…

.NET Language Integrated Query

LINQ to LINQ to LINQ to LINQ to


Objects DataSets SQL XML

<book>
<title/>
<author/>
<year/>
<price/>
</book>

Objects Relational XML


LINQ to SQL
• Provides object-to-relational mapping within the .NET Framework for
Microsoft SQL Server databases
• Access relational data as strongly typed objects using LINQ query
expressions
• Language integrated data access
– Tables and rows to classes and objects
– Builds on ADO.NET and .NET Transactions
• Mapping
– Encoded in attributes or external XML file
– Relationships map through properties
• Persistence
– Automatic change tracking
– Updates through SQL or stored procedures
LINQ to SQL

from c in db.Customers Application db.Customers.Add(c1);


where c.City == "London" c2.City = “Seattle";
select c.CompanyName db.Customers.Remove(c3);

LINQ Query Objects SubmitChanges()

LINQ to SQL

SQL Query Rows DML or Stored Procedures

SELECT CompanyName INSERT INTO Customers…


FROM Cust UPDATE Customers …
WHERE City = 'London' DELETE FROM Customers …
SQL Server
LINQ To XML
• Language integrated query for XML
– Designed to make XML usable without learning specialized
technologies such as XPath/XSLT
– Construct and query XML data with fewer lines of code
– Builds on top the standard LINQ query commands
– Compose query expressions with multiple data stores
• Visual Basic 9 has additional XML capabilities
– XML literals – XML supported directly in language
– Property-like XML support– simple queries using
conventional VB syntax
LINQ
CLR Add-ins
• Generic framework for hosting add-ins within
applications
• Addresses common problems like:
– Loading/unloading, sandboxing, isolation, lifetime
management, discovery, activation, backwards compat,
forward compat, sharing

Add-n Side
Host Side
Adapter

Adapter
Host Add-In
Host Contract Add-In
View View

Communication Pipeline
Visual Studio 2008 & .NET 3.5

Services

Mobile Windows
Apps Lifecycle Tools, Apps
.NET
Framework,
& languages

Office Web
Apps Apps
Services
• Technologies added in .NET 3.0
– WCF – Unified programming model and runtime for services
– WF - Flexible, declarative workflow runtime and activities
• New enhancements in .NET 3.5
– Http Programming Model
– JSON serialization & ASP.NET AJAX integration
– Syndication
– Integrated support for WF & WCF (“Silver”)
– Partial Trust
• Integrated developer tools in Visual Studio 2008
– Add Service Reference
– Integrated WF Designer
– Project & item templates
– Autohost & test client
– WCF Configuration Editor
Windows Applications
• Visual Studio Designer for WPF (“Cider”)
– XAML-based editing directly in the IDE
• Changes reflected in the designer in real-time
• XAML IntelliSense
• Selection Synchronization
– ClickOnce deployment support for WPF apps
– Project templates, debugger & deployment support
– Side-by-side support for Winforms
• Creates a seamless designer/developer workflow with
Expression Interactive Designer (“Sparkle”)
Web Applications
• Integrated support for ASP.NET AJAX 1.0
– Included in the .NET Framework 3.5
– ASP.NET AJAX Project Templates
• Web Application Projects included in Visual Studio
• Javascript IntelliSense & Debugging
• Richer HTML/CSS Designer Support
– Split View (simultaneous source and designer)
– Nested Master Page preview in designer
– CSS Properties, Manage/Apply Styles windows, and direct style
application toolbar
– Improved CSS/HTML layout and visualization in designer
• New Web data controls:
– LinqDataSource, ListView, DataPager
Web Applications and
JavaScript Debugging
Office Applications
• VS 2008 includes Visual Studio Tools for Office 3.0
• Provides integrated visual designers for:
– Word and Excel documents and templates
– Fluent Ribbon
– Task & Action panes
– Outlook Form Regions
• Integrated Workflow & Microsoft SharePoint Support
• Data binding in Word Content Controls
• Application-level add-ins for most client programs (both 2003 &
2007)
• Document-level add-ins for Excel & Word 2007
• Improved deployment and security using ClickOnce
Mobile Applications
• Visual Studio Tools for Devices
– Unit Testing for Device Applications
– Device Emulator 3.0 – Certificate support, Xml config
– Broad Platform and runtime Support

• .NET Compact Framework 3.5


– Support for LINQ (XML, Objects and Dataset)
– Windows Communication Foundation
– CLR Profiler / Performance Monitor
– BCL enhancements: Compression support, Client-side
certificates, Sound APIs
Top 10 List
1. Visual Studio Multi-targeting
2. LINQ
3. System.Syndication
4. RESTful, JSON, and Workflow Services
5. WPF Cider Designer
6. ASP.NET AJAX Integration
7. Javascript Intellisense & Debugging
8. VSTO - Ribbon Designer, Outlook Form Regions,
integrated SharePoint tools
9. .NET Compact Framework 3.5 - LINQ, WCF
10. CLR Add-Ins
What else is in Orcas?
• Language enhancements • XSLT Debugger
• MFC & C++ enhancements for Vista • SQL Server Compact Edition
“look & feel” • SQL Server Reporting Services
• ClickOnce improvements for WPF Support
apps, alternative browser support and • MSBuild – parallel/multi-processor &
ISV rebranding multi-threaded builds
• CLR enhancements - Partial trust & • Client Application Services for
Threading Login/Logout, Role management and
• High-performance trace listener profiles
• Trace listener that logs events to • Profiler support for WCF Applications
Event Tracing for Windows in • Customize and extend code
Windows Vista correctness policies – Team edition
• WMI Provider Extension 2.0 for developers
• Anonymous pipes and named pipes • Tools for performance tuning an
• Peer-to-peer network APIs enterprise app
• Windows CardSpace UI & HTTP • Web Test rules improvements
support
Resources
• MSDN developer center
– http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx
• Overview of “Orcas” whitepaper
– http://go.microsoft.com/?linkid=6625887
• 90-day Trial Versions
– http://www.microsoft.com/downloads/details.aspx?FamilyId=D95598D7-AA6E-4F24-82E3-
81570C5384CB&displaylang=en
– http://www.microsoft.com/downloads/details.aspx?FamilyId=B0155166-B0A3-436E-AC95-
37D7E39A440C&displaylang=en
– http://www.microsoft.com/downloads/details.aspx?FamilyId=83C3A1EC-ED72-4A79-8961-
25635DB0192B&displaylang=en
• Express Editions
– · Visual Basic Express Edition – productivity tool for first time or casual Windows programming
– · Visual C# Express Edition – provides a great combination of power and productivity
– · Visual C++ Express Edition – provides the horsepower with a finer degree of control than the
other Express products
– · Visual Web Developer Express Edition – the easy to use environment for dynamic Web
application development
Resources - LINQ
• MSDN Developer Center
– http://msdn2.microsoft.com/en-us/netframework/aa904594.aspx
• LINQ Forum
– http://forums.microsoft.com/msdn/showforum.aspx?forumid=123
• Channel9 Linq Videos
– http://channel9.msdn.com/tags/linq
• Blogs
– Scott Guthrie
• http://weblogs.asp.net/scottgu/archive/2007/04/21/new-orcas-language-feature-query-
syntax.aspx
– Charlie Calvert
• http://blogs.msdn.com/charlie/archive/2006/10/05/Links-to-LINQ.aspx
• Community sites
– http://www.linqdev.com/publicportal/
– http://linqinaction.net/
• LINQ Samples
– 101 samples
• http://msdn2.microsoft.com/en-us/vcsharp/aa336746.aspx
– Orcas Beta 1 samples
• http://msdn2.microsoft.com/en-us/bb330936.aspx
Resources – Cider
• Cider MSDN Forum
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=169&SiteID=1
• Cider Channel9 Wiki http://channel9.msdn.com/wiki/default.aspx/Cider.HomePage
• Blogs
– James Nakashima http://blogs.msdn.com/jnak/
– Brian Pepin http://www.urbanpotato.net/
– Chuck Jazdzewski http://www.removingalldoubt.com/
– Richard Bailey http://myfun.spaces.live.com/blog/
Resources – Services & Workflow
• MSDN Developer Center
– http://msdn2.microsoft.com/netframework/default.aspx
– http://msdn.microsoft.com/webservices/
• Forums
– http://forums.microsoft.com/msdn/showforum.aspx?forumid=123
• Blogs
– Matt Winkler
• http://blogs.msdn.com/mwinkle
– Justin Smith
• http://blogs.msdn.com/justinjsmith
– Vittorio Bertocci
• http://blogs.msdn.com/vbertocci
– Steve Maine
• http://hyperthink.net/blog
• Community sites
– http://www.netfx3.com
Resources – Mobile Applications
• .NET Compact Framework Developer Center
http://msdn2.microsoft.com/en-us/netframework/aa497273.aspx
• MSDN Forums: Smart Device Development
http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=11
• Blogs
– .NET Compact Framework Team
http://blogs.msdn.com/netcfteam
– David Kline
http://blogs.msdn.com/davidklinems
• Case Studies
http://www.microsoft.com/casestudies/search.aspx?ProTaxID=1714
Resources – Languages
• Visual Basic
– MSDN Developer Center
• http://msdn2.microsoft.com/en-us/vbasic/default.aspx
– Blogs
• VB Team: http://blogs.msdn.com/vbteam
• Paul Vick: http://www.panopticoncentral.net
– Forums
• http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=903
• Visual C#
– MSDN Developer Center
• http://msdn2.microsoft.com/en-us/vcsharp/default.aspx
– Blogs
• Charlie Calvert:
http://blogs.msdn.com/charlie/archive/tags/Community%20Convergence/default.aspx \
– Forums
• http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=9&SiteID=1
• Blogs
Resources – VSTO
– VSTO Team Blog – http://blogs.msdn.com/vsto2
– Eric Carter (VSTO Team Member) - http://blogs.msdn.com/eric_carter/
– Andrew Whitechapel (VSTO Team Member) -
http://blogs.msdn.com/andreww/default.aspx
– John Durant (VSTO Team Member) -
https://blogs.msdn.com/johnrdurant/default.aspx
– Paul Stubbs (VSTO Team Member) – http://blogs.msdn.com/pstubbs/
– Mike Hernandez (VSTO Product Manager) –
http://blogs.msdn.com/mikeh/default.aspx
– Kathleen McGrath (UE Team Writer) - http://blogs.msnd.com/kathleen
– Office Zealot Site (Tim Huckaby) -
http://www.officezealot.com/VSTO/bloghome.aspx
• Visual Studio Tools for Office Developer Center on MSDN
– http://msdn.microsoft.com/office/tool/vsto/default.aspx
• Forums
– http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=16&SiteID=1

You might also like