Upload
kierra-nock
View
216
Download
1
Embed Size (px)
Citation preview
Getting the Most FromVisual Basic 2005Getting the Most FromVisual Basic 2005
Jay Roxe ([email protected])Jay Roxe ([email protected])Lead Product ManagerLead Product ManagerVisual Studio Visual Studio
AgendaAgenda
Advances in Visual Studio 2005Advances in Visual Studio 2005
Design Goals and Enhancements in Design Goals and Enhancements in Visual Basic 2005Visual Basic 2005
Visual Studio 2005“Personalized productivity”Visual Studio 2005“Personalized productivity”
Novices
Enthusiasts
Students
Hobbyists
Part-Timers
Professionals
Consultants
Enterprise Devs
Architects
Testers
Expanding Visual StudioExpanding Visual Studio
IncreasedIncreasedReliabilityReliability
QualityQualityEarly & OftenEarly & Often
PredictabilityPredictability& Visibility& Visibility
Design forDesign forOperationsOperations
ProjectProjectManagerManager
SolutionSolutionArchitectArchitect
DeveloperDeveloperTesterTester
InfrastructureInfrastructureArchitectArchitect
Expanding Visual StudioExpanding Visual StudioEvaluateEvaluate
.NET.NETInteract withInteract with
studentsstudents
Build coolBuild coolappsapps
Learn howLearn howto programto program
HobbyistsHobbyists
StudentsStudents FacultyFaculty
EnthusiastsEnthusiasts
ASP.NET 2.0 ThemesASP.NET 2.0 ThemesDeveloper Productivity Developer Productivity
Reduce ASP.NET V1->V2 lines of code by 2/3rdsReduce ASP.NET V1->V2 lines of code by 2/3rdsEnable rich scenarios not easily possible todayEnable rich scenarios not easily possible today
Administration and ManagementAdministration and ManagementEasiest platform to manage and administerEasiest platform to manage and administer
Totally Extensible PlatformTotally Extensible PlatformReplace/extend all built-in features + servicesReplace/extend all built-in features + servicesCustomize for any enterprise environment Customize for any enterprise environment
Performance and ScalabilityPerformance and ScalabilityThe world’s fastest web application serverThe world’s fastest web application server
Windows Forms 2.0Windows Forms 2.0Brings the ease & safety of Web deployment to client Brings the ease & safety of Web deployment to client applicationsapplications
ClickOnce: Client app deployment and update as easy as ClickOnce: Client app deployment and update as easy as HTMLHTML
Offline “just works”Offline “just works”
Permission elevationPermission elevation
Professional look & feel out-of-the-boxProfessional look & feel out-of-the-boxProfessional Menus & Toolbars, new Data Grid, WebBrowser, Professional Menus & Toolbars, new Data Grid, WebBrowser, and moreand more
New layout control support table and flow layoutNew layout control support table and flow layout
Full support for Windows XP Visual StylesFull support for Windows XP Visual Styles
Productivity for the developer through fewer clicks & lines Productivity for the developer through fewer clicks & lines of codeof code
Improved support for databinding to web services and Improved support for databinding to web services and business objects business objects
Improved layout tools in the designer Improved layout tools in the designer
Smart tasks make common tasks easierSmart tasks make common tasks easier
Simplified async programming model to keep UI responsive Simplified async programming model to keep UI responsive during long running operationsduring long running operations
Visual Studio 2005 Tools for OfficeVisual Studio 2005 Tools for Office
Strategic tool for developing Office solutionsStrategic tool for developing Office solutionsCurrently supports building document-centric solutions Currently supports building document-centric solutions for Microsoft Office Word 2003 and Microsoft Office Excel for Microsoft Office Word 2003 and Microsoft Office Excel 20032003
……And Now Outlook!And Now Outlook!
Office development approachableOffice development approachableProvides all the productivity of Visual StudioProvides all the productivity of Visual Studio
Provides all the power of the .NET FrameworkProvides all the power of the .NET Framework
Leverages the skills of .NET developersLeverages the skills of .NET developers
Secure and easy to deploySecure and easy to deployBased on .NET Code Access SecurityBased on .NET Code Access Security
Online ClickOnce deployment model with Online ClickOnce deployment model with Visual Studio 2005Visual Studio 2005
Mobile OpportunityMobile OpportunityConverged Device TrendsConverged Device Trends
8% YOY growth for 2.5G and 3G mobile phones in 8% YOY growth for 2.5G and 3G mobile phones in 20042004100 Million Smart Devices by 2007 100 Million Smart Devices by 2007 Windows Mobile penetrates broader phone Windows Mobile penetrates broader phone marketmarket
Sources: IDC (June 2003, September 2003)
x3x3
1313
2828
4545
8181
6363
44
20020022
20032003 20020044
20020066
20052005 20020077
Worldwide Sales of Converged Worldwide Sales of Converged Phones and Phone-enabled Phones and Phone-enabled PDAsPDAs
Units (millions)Units (millions)
CAGR 2002-2007: CAGR 2002-2007: 86%86% x2x2
For line of business application developers, Visual Basic 2005 is the most productive tool for developing Windows, Web, Office and Mobile applications.
For line of business application developers, Visual Basic 2005 is the most productive tool for developing Windows, Web, Office and Mobile applications.
Visual Basic Design GoalsVisual Basic Design Goals
Increase productivity Increase productivity Cut development time in half Cut development time in half
Reduce code by more than 50%Reduce code by more than 50%
Leverage full power of the desktopLeverage full power of the desktopCreate rich windows client applications Create rich windows client applications
Deploy with ease and safety of the WebDeploy with ease and safety of the Web
Provide full access to the platformProvide full access to the platformMaintain direct access to .NET FrameworkMaintain direct access to .NET Framework
MyMy
Application level version of “Me”Application level version of “Me”My.FormsMy.Forms
My.Forms.Form1.ShowMy.Forms.Form1.Show
My.WebServicesMy.WebServicesMy.WebServices.MSDN.Search(“VB”)My.WebServices.MSDN.Search(“VB”)
My.ResourcesMy.ResourcesPictureBox1.Image = My.Resources.LogoPictureBox1.Image = My.Resources.Logo
My.SettingsMy.SettingsMy.Settings.User.FormLocation = My.Settings.User.FormLocation = Me.LocationMe.Location
My HierarchyMy Hierarchy
My
Application
Computer
User
Resources
Settings
WebServices
Forms
— Application title, version, logs, description, …— Registry, Printer, Audio, File System, …
— User name, group, domain, …
— Access resources for the application—icons, images…— User and application settings
— Collection of project forms
— Collection of web services referenced in project
Code SnippetsCode Snippets
Code SnippetsCode SnippetsReusable snippets of codeReusable snippets of code
Proactively prompt for customizationsProactively prompt for customizations
Includes required project references and Includes required project references and file importsfile imports
~500 task-oriented snippets included~500 task-oriented snippets included
Extensible ArchitectureExtensible ArchitectureSpecify multiple snippet stores (local, Specify multiple snippet stores (local, network share, etc.)network share, etc.)
Create your own snippets or modify Create your own snippets or modify existing snippetsexisting snippets
Bringin’ Back the RADBringin’ Back the RAD
Exception AssistantException Assistant
Edit and ContinueEdit and Continue
Debugger VisualizersDebugger Visualizers
XML DocumentationXML Documentation
Simplified IDESimplified IDE
AutoCorrectAutoCorrect
New Language FeaturesNew Language FeaturesGenericsGenericsOperator OverloadingOperator OverloadingUsing statementUsing statementContinue statementContinue statementGlobal keywordGlobal keywordProperty accessor accessibilityProperty accessor accessibilityPartial typesPartial typesUnsigned typesUnsigned typesCustom Event AccessorsCustom Event AccessorsWarningsWarnings
Data Specific EnhancementsData Specific EnhancementsGoal: Simplify and enhance data accessGoal: Simplify and enhance data access
New Data controlsNew Data controlsDataGridView ControlDataGridView Control
BindingSource ComponentBindingSource Component
Data Design TimeData Design TimeDatabasesDatabases
Web ServicesWeb Services
Business ObjectsBusiness Objects
Leveraging InvestmentsLeveraging InvestmentsMaking the case for UpgradeMaking the case for Upgrade
Reuse Skills
Reuse Code
Incremental Upgrade
QuestionsQuestions
Jay Roxe, Jay Roxe, jroxejroxe