1. Visual Studio 2008 and the
.NET Framework v3.5
Sarang Datye
sarang.datye@microsoft.com
http://www.dotnetbetaworks.com
2. Agenda
A Tour around Visual Studio 2008 and .NET
3.5
IDE enhancements
Web Development
Services (Workflow and Communication
Foundation)
Client and Mobile Development
Office Development
.NET Framework 3.5 new assemblies
Questions & Answers
4. Visual Studio in the year 2008
Visual Studio 2008
Visual Studio 2005 for Vista
+ Service Pack 1 + SP1 Update
+ WF Extensions + WPF & WCF
Extensions
+ SharePoint Workflow
+ Visual Studio Tools for Office Second Edition
+ ASP.NET AJAX Extensions
+ Device Emulator v2.0 + .NETCF v2.0 SP2
+ WM 5.0 Pocket PC SDK + WM5.0 Smartphone
SDK
5. What is the .NET Framework 3.5?
.NET Framework 3.5
CLR Add-in Additional
LINQ ASP.NET 3.5
Framework Enhancements
.NET Framework 3.0 + SP1
Windows Windows Windows
Windows
Presentation Communication Workflow
Foundation Foundation Foundation CardSpace
.NET Framework 2.0 + SP1
6. Visual Studio 2008
Services
Mobile Windows
Apps Lifecycle Apps
Tools,
.NET
Framework,
& languages
Office Web
Apps Apps
7. Visual Studio 2008 Highlights
Side-by-Side support
Works side-by-side with Visual Studio 2005
Multi-target Support
.NET framework version 2.0, 3.0 and 3.5
No project model or build changes
Solution can contain projects with different targets
Enables organizations to move to Visual Studio 2008 without
upgrading all of your source code
Integrated debugging support under Microsoft Reference
License
http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-
libraries.aspx
9. A tour around VS 2008 & .NET 3.5
Services
Mobile Windows
Apps Lifecycle Apps
Tools,
.NET
Framework,
& languages
Office Web
Apps Apps
10. Web Applications
ASP.NET 3.5
Microsoft AJAX libraries and project templates
ListView, DataPager, LinqDataSource
Visual Studio 2008 IDE Enhancements
New HTML Designer
Shared with Expression Web
Rich CSS support, Nested Master Pages
Split view with better switching performance
Javascript IntelliSense and Debugging
11. HTML Designer
New Split View mode
View source and design side by side
Updates in real-time
Dramatically faster than previous versions
Switch between design, source, or split view
with no lag.
12. CSS Designer
Dramatically simplifies building and
managing CSS styles.
Intuitive visual designer
Summary mode helps troubleshoot/trackdown
where styles are being applied.
Shares same CSS engine as Expression
Web
Developers and designers have access to
same features.
13. ListView
New data-bound control
Evolution of DataList and Repeater
Designer-friendly
Full control over markup, including container
Use CSS to style layout
Bind arbitrary elements (e.g. <select>)
14. DataPager
Follows extender model
Add paging to any control that supports it
(e.g. ListView)
Flexible layout – choose from a number of
fields to create a customized pager
15. ASP.NET AJAX
A framework for building richer, more interactive,
more personalized web experiences.
• Increased productivity
• Fewer concepts, fewer lines of code
• Easier to author, debug, and maintain
• Well integrated with design and development tools
• Seamlessly integrated application model
• Works with ASP.NET pages and server controls
• Works everywhere – cross-browser, standards based
16. A tour around VS 2008 & .NET 3.5
Services
Mobile Windows
Apps Lifecycle Apps
Tools,
.NET
Framework,
& languages
Office Web
Apps Apps
17. Windows Applications
Windows Forms
ClickOnce improvements
Consume ASP.NET Provider Services
ASP.NET login, roles and profiles
Caching
Consume WCF Services in Partial Trust
Host WPF controls and Content (and vice versa)
Windows Presentation Foundation
XAML
Visual Designer Integrated into Visual Studio
XBAP deployment to FireFox
18. Mobile Applications
NETCF v2.0 SP2 and v3.5 C#3 and VB9
Unit Testing LINQ
Cert manager WCF
Config Manager CLR Profiler / RPM
Device Emulator 3.0 Compression
CoreCon wrapper Client-side certs
WM5 SDKs Sound APIs
19. A tour around VS 2008 & .NET 3.5
Services
Mobile Windows
Apps Lifecycle Apps
Tools,
.NET
Framework,
& languages
Office Web
Apps Apps
20. Services (WF and WCF)
Windows Communication Foundation
HTTP without SOAP
XML or JSON serialisation
Syndication
RSS + ATOM Support
Partial Trust Support
Windows Workflow Foundation
WCF Send/Receive
WorkflowServiceHost
21. A tour around VS 2008 & .NET 3.5
Services
Mobile Windows
Apps Lifecycle Apps
Tools,
.NET
Framework,
& languages
Office Web
Apps Apps
22. Office Business Applications
2003 & 2007 Support
2007 Customisations
Document Level
Application Level
Office Ribbon Designer
Outlook Form Region Designer
Custom & Action Task Panes
Word Content Controls
ClickOnce Deployment and improved Security
VBA <-> VSTO interop
Workflow and SharePoint support
24. Extend the Office Ribbon
Visual Ribbon Designer
Office built-in support for XML-based customization model
VSTO 2005 SE support:
Simplifies hookup from .NET via pre-generated classes and sample XML
Property Grid
VSTO – Visual Studio 2007 support:
Adds full-blown visual designer support
“Export to XML” option
A more robust programming layer
Ribbon Control
Toolbox
Design Surface
25. Extend the Office Ribbon
Ribbon XML structure requires a
specific hierarchy
For example:
<customUI xmlns=quot;http://schemas.microsoft.com/office/2006/01/customuiquot; onLoad=quot;OnLoadquot;>
<ribbon>
<tabs>
<tab idMso=quot;TabAddInsquot;>
<group id=quot;MyGroupquot;
label=quot;My Groupquot;>
<toggleButton id=quot;toggleButton1quot;
size=quot;largequot;
label=quot;My Buttonquot;
screentip=quot;My Button Screentipquot;
onAction=quot;OnToggleButton1quot;
imageMso=quot;AccessFormModalDialogquot; />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
26. Create Custom Task & Actions
Panes and speeds up
•VSTO simplifies
task pane UI design process with
visual designers and .NET
hookup
• Actions Pane:
• Associated with a specific
Word or Excel document
• 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