Meet Visual Studio 2015 Preview
Randy PagelsHeartland EPG Technical SpecialistUS Developer Evangelism and Experience(DX) Team
Agenda
Visual Studio 2015 .NET 2015
.NET core Open Source and
Cross Platform
Mobile Development
Other announcements
DevOps
Ongoing Innovations
Our Vision: Every App & Every Developer
Visual Studio Online
Visual Studio
.NET
Release History Recap
Announcements
• First preview release of Visual Studio
2015, .NET 2015 & ASP.NET 5
• New “Free” edition of Visual Studio,
Visual Studio Community 2013
• .NET Open Source & Cross-platform
• Visual Studio Online Release
Management service and Visual Studio
Cloud Deployment Projects
• New MSDN Benefits (PluralSight)
December 2014 Visual Studio 2013 Update 5 CTP 1January 2015 Visual Studio 2015 CTP 5January 2015 Visual Studio 2013 Update 5 CTP 2
Releases (Highlights)
• Visual Studio 2015 Preview
• Visual Studio 2013 Update 4
(RTM)
• Visual Studio 2013 Community
Edition
• Azure SDK 2.4 (RTM)
Connect(); - November 2014
Visual Studio 2015
.NET 2015
Meet the completely redesigned BlendIncludes core VS IDE
functionality
Optimized menu layouts and
performance
Basic Debugging Support
Peek in XAML
Custom Windows Layouts
Source Control
NuGet
XAML IntelliSense!
Blur the line between designing and coding
Refactoring for quality and maintainability
Identify and fix issues
without having to switch
context
Resolve problems and
preview solutions, all
inline
Light Bulbs help you stay in the zone
Identify and fix issues
without having to switch
context
Resolve problems and
preview solutions, all
inline
Instant inline insights with CodeLens
App Insights
Indicators
Change History
Storage &
performance
improvements
Displays longer
histories intelligently
Increase transparency and collaboration
Git Pull Requests
Comment inline
Discuss changes
Integrated in Team
Web AccessConduct a Git pull request on Visual Studio Online
Code maps and dependency graphs
Better performance creating and editing.
Create from Class View and Object Browser.
Filter relationships to make it easier to read.
Layer diagrams
Describe the desired dependencies.
Find code that doesn’t meet constraints.
Validate future code with this baseline.Filter link types on Code Map
From simple to complex, cloud-
based Load Testing lets you stress
your app with realistic loads
Settings roam automatically across side-by-side Visual Studio product installs
Get access to a variety of developer services including:
• MSDN Subscription
• Azure subscriptions
• Windows Store
• Visual Studio Online & Team Foundation Server
Visual Studio Family
Modern Services
Visual StudioOnline
The new debugging experience
Code execution timings in breakpoints, and easier access to conditional configuration
Diagnostic Tools window
Debugger Events (with IntelliTrace)
See memory Usage, CPU Usage, and more
Diagnostic Tools debugger window
.NET core Open Source and Cross Platform
.NET 2015
Next gen JIT (“RyuJIT”)
SIMD (Data Parallelization)
Runtime Compilers.NET Compiler Platform (“Roslyn”)
Languages innovation
BCL and PCL
Entity Framework
Libraries
.NET 2015
Next gen JIT (“RyuJIT”)
SIMD (Data Parallelization)
Runtime Compilers.NET Compiler Platform (“Roslyn”)
Languages innovation
.NET Core 5 Libraries
.NET Framework 4.6 Libraries
NuGet packages
ASP.NET 5
ASP.NET 4.6
WPF
Windows Forms
.NET Framework 4.6 .NET Core 5
ASP.NET Core 5
.NET Native (for Windows 10)Windows desktop
Windows mobile devices
Windows embedded devices
ASP.NET Core 5 for Mac and Linux
.NET 2015 - Common
OSS
API
C#VB
Next generation of .NET Compilers
API: open platform
Rich IDE experiences/refactoring
Code analysis
Custom diagnostics
Open Source compilers
.NET Compiler Platform (“Roslyn”)
.NET Compiler Platform (“Roslyn”)
C#, VBSource code
.exe/.dllIL assemblies
Established .NET compilers
.NET Compilers Platform(a.k.a. ROSLYN)
C#, VBSource code
.exe/.dllIL assemblies
Open platform for developers
ASP.NET 5.0 – leaner, faster, simpler
More flexible with open source and modular implementation
ASP.NET vNext and the Modern Web• Totally Modular
• Seamless transition from on-premises to cloud
• Open Source with Contributions
• Faster Development Cycle
• Choose your Editors and Tools
• Cross-Platform
• Super Fast ASP.NET vNext optimized for Cloud and Server
• Modular• Get high productivity with built-in or community contributed middleware and frameworks
• Use a stripped down pipeline for bare metal performance
• Fast and lean• Light weight HttpContext
• Highly optimized IIS integration and WebListener for maximum throughput
• Flexible hosting• Run both in IIS and hosted in your own process
• Supports OWIN• But doesn’t force you to code against the raw OWIN abstractions
• Easily migrated Katana middleware to this new model
New modular HTTP request pipeline
Modern Web – Fast and Agile
Runtime Performance
• Faster startup times
• Lower memory / higher density (> 90% reduction)
• Modular, opt into just features needed
• Use a raw socket, framework or both
Development productivity and low friction
• Edit code and refresh browser
• Flexibility of dynamic environment with the power of .NET
• Develop with Visual Studio, third party and cloud editors
Faster Development Cycle
• Features are shipped as packages
• Framework ships as part of the application
More Control
• Zero day security bugs patched by Microsoft
• Same code runs in development and production
• Developer opts into new versions, allowing breaking changes
.NET Framework 4.6 Preview
• Changes in the Base Class Library
• Resizing in Windows Forms controls
• Support for code page encodings
• Open-source .NET Framework packages
• Improvements to event tracing
• .NET Native
.NET Framework 4.6 New Features in Visual Studio 2015
Null Condition Operatorreturn value?.Substring(0, 5).PadRight(5);
int length = text?.Length; // Compile Error
Auto-Property Initializerspublic DateTime Stamp { get; } = DateTime.UtcNow;
Nameof ExpressionsAssert.AreEqual("varName", nameof(varName));
Expression Bodied Functions and Propertiespublic override string ToString() =>
string.Format("{0}, {1}", First, Second);
C# 6.0 Tidbits
Entity Framework 7
LINQ, POCO, and Code First support
Same concepts, same DbContext/DbSet, same patterns
Windows Store, Win Phone and Project K
SQLite (for local data stores) and non-relational such as Azure Table Storage
Mobile Development
Mobile App development models
Web technologies
Native platform technologies
Microsoft supports your choice
Desktop apps Shared apps
Browser-based applications
C++ for Cross Platform Mobile
Rich experiences Breadth of devices
HTML/JavaScript and mobile development
• Productivity of Visual Studio for hybrid apps
• Scale to complex Enterprise apps through optional TypeScript support
• End-to-end development workflow included
• Flexibility to use any JavaScript framework
Cordova tooling in Visual Studio
• Natural path for web developers targeting devices
• Shortest path for cross-platform mobileBlack Box
Universal Windows AppsDesktop apps -WPF
.NET and mobile development
Sharing Cross-PlatformCode with Xamarin
Share app logic across platforms• Reach Windows, iOS and Android
devices
• Leverage the most productive and
powerful platform for creating native
applications
• Maximize code reuse with Universal
Projects & Portable Class Libraries
100% APIs exposed• Everything you can do in xCode or
ADT you can do with Visual Studio
C# + XIB C# + AXML C# + XAML
Native UI Native UI Native UI
Cross-Platform C++
Code Portability• Bring your C++ code forward
to today’s mobile platforms
• Broad compatibility with
support for iOS and Android
technologies
• Great cross-platform code
authoring and debugging
experience
• Get started quickly with fully
integrated solution in Visual
Studio
UI design inVisual Studio
Synchronized settings
Title case menus
High resolution images
Touch support
Create and store custom window layouts
IntelliSense Improvements
Customized Tooltip
Additional IDE Improvements
IDE IMPROVEMENTS IN VISUAL STUDIO 2015
Microsoft Azure Mobile Services
Turnkey Backend for Mobile Services
Extend internal web apps to mobile devices
Powerful client side library for multiple devices
Offline sync support
ALM and TFS
• Kanban board
– Split columns
– Add/reorder
– Swim lanes
– Definition of done
– Lead time
– Custom fields
– Tags
– Inline editing
• Backlog and Work Items:
– Hierarchical reordering
– Re-parenting
– Filtering on backlogs and
queries
– Sharing personal queries
• Taskboard
– Custom fields
– Tags
– Bugs on the taskboard
– Inline editing
– Reordering
– Unparented tasks
• Version control:
– Pull Request improvements
– APIs for adding and updating
files in source control
– Quick code editing
– Preview Markdown and HTML
files in Code Explorer
• Other:
– Project Welcome pages
– Basic license upgraded
– Identity control and avatars
– Longer trend charts
– WIT REST API updates
– Assign multiple people to test
suites
– Team project rename
– TFS Build vNext
Team Foundation Server 2015
http://www.visualstudio.com/en-us/news/release-archive-vso
Demonstration
Topics:
- Kanban and Taskboard
- Trend charts
- Quick Edit
- Build “vNext”
Other announcements
Visual Studio Community Edition• Non-enterprise developers get free
access to a fully featured developer IDE
(almost equivalent Visual Studio
Professional)
• Lowers the cost to innovate on our
platform
• Free version of Visual Studio with almost
full parity with Visual Studio Professional
• Build and strengthen the .NET
communities within Schools, small
startups, etc….
What's in Visual Studio Community 2013
• Professional-grade editing, code analysis, and debugging support
• Support for open-source workflows (Git)• Compilers for managed languages.• Cross-platform mobile development
• Web, Android, iOS, Windows Phone• Tools for Apache Cordova
• Cloud services and Azure SDK integration• App analytics and telemetry with
Application Insights• Access to extensions• Includes Update 4
.NET is going Open Source and cross-platform
.NET developers can now
deploy their applications
on Windows, Linux or Mac
server platforms.• Customers can deploy .NET
applications on Windows, Linux, Mac platforms
• Build once. Deploy everywhere.• Strengthens the .NET community
Azure SDK for .NET 2.5
Platform support
Diagnostics improvements
QuickStarts
Event Hubs
Load Balancer
• Azure Resource Manager Tools
• Folders in Storage Explorer
• Manage WebJobs from Server
Explorer
• HDInsight Tools
• Add Connected Services
• Sign-in and view resources for
multiple Azure accounts
• Environments hub in Team
Explorer
New SDK Tools in Visual
Studio 2013 Update 4 and
Visual Studio 2015 Preview
Azure SDK for .NET 2.5 Release Notes
Visual Studio Online
Included with MSDN
Web-based test case management
Cloud-based load testing
Agile portfolio management
Request & manage feedback
Continuous deployment to Azure
And more!
MSDN Benefit Changes – Free Access to PluralSight
All MSDN subscribers now have between 3 and 12 months free subscription access to up to 30 Pluralsight courses
• Access to PluralSight –
nation’s largest online
training source
• Free Training across all
Microsoft stack, including
Windows Server, SQL
Server, Active Directory,
Virtualization, .NET, Visual
Studio, etc….
Support benefits
Pro w/MSDN
2 tech support incidents
4 Tech Support incidents
Test Pro w/MSDN
Premium w/MSDN
Ultimate w/MSDN
MSDN Platforms
MSDN subscribers can call Microsoft technical support and open support tickets
Two or four incidents annually
Access to Azure
All MSDN subscribers have access to $50 to $150 monthly Azure credit
Use all your MSDN software benefits in Azure for Dev/Test
Spin up Virtual Machines, Websites, etc.
What can you do with $100 in Azure?
Demonstration
Topics:
- MSDN Portal and Benefits
- Azure benefits activation
Sign In Across Multiple Accounts
After you sign-in to Visual Studio, you are automatically signed in to all instances of Visual Studio 2015 and Blend on your machine.
Automates deployments the same way to all stages
Automates workflow with full traceability
• Automates the deployment process• Simplifies managing multiple environments• Improves collaboration throughout the process• Provides release analytics and reporting
• Required per deployment node
Automate The Release Cycle
Visual Studio Release Management Licensing
Effective 1st January 2015, VS Deployment Standard or VS Deployment Datacenter licenses will no longer be required for target servers
• Deploy application builds
to Dev/Test/Production
faster with less manual
effort
• Free up development
resources to focus more
on developing and less on
deploying
Release Management as a Service
• Easily set up continuous deployment to Azure VMs.
• Deploy the same way to multiple environments.
• Run deployment and validation scripts.
Cloud Deployment Projects
• Available in Visual Studio with Azure SDK 2.5 installed
• Publish related Azure resources in a single deployment operation
Cloud Deployment Projects
• Deploy applications to Azure environments from a Cloud Deployment Project.
• Visual Studio creates two projects, one for the web application and a deployment project.
Visual Studio family
DevOps
Evolving Practices
Plan
Define
Develop
Test
Deploy
Monitor
ManageOperateConstruct
Increase flow of business value
Shorten cycle times
Reduce rework costs
Learn
Monitor your app
•
•
•
Ongoing Innovations
Ongoing Innovation
Ongoing Innovation
Ongoing Innovation
Visual Studio 2015 Preview
Visual Studio C++ for Cross-Platform Development
Visual Studio Tools for Apache Cordova Visual Studio Emulator for Android C++ C# and Visual Basic .NET Framework 4.6 Entity Framework Visual Studio IDE Blend
Debugging and Diagnostics ASP.NET TypeScript Unit Tests Application Insights Release Management Git version control CodeLens Architecture, Design, and Modeling
Visual Studio 2015 Preview Details Download Visual Studio 2015 preview
Visual Studio and Microsoft can help…
Enterprise-ready platform that integrates modern application experiences with existing business assets.
Visual Studio Microsoft Azure
Create custom window layouts