Transcript Document

State of .NET
Markus Egger
President & CSA, EPS
Publisher, CODE Magazine
About the Presenter
Markus Egger
• President and CSA
EPS Software Corp.
(USA & Europe)
• Publisher: CODE Magazine
• International Author and Speaker
• Microsoft RD (Regional Director)
• Microsoft MVP: C#
About the Presenter
Jeff Etter
• Senior Software Developer
EPS Software Corp.
• North Houston .Net Users Group
Board Member, 2011 – Current
• CODE Magazine Author
• [email protected]
• http://www.TexasJetter.com
• @TexasJetter
About the Presenter
Mike Yeager
• Senior Developer and Manager
EPS Software Corp.
Houston, TX
• Writer and Speaker
• VSX “Insider”
• MS SDR Member
• CODE Framework Contributor
About CODE & EPS Software Corp.
• Consulting and Custom Software
• Training and Mentoring
• Staff Augmentation
• .NET, HTML, iOS, Android, SQL Server, …
Social Networks
• We appreciate people tweeting about these events, or
mentioning them on Facebook and other social networks
• Facebook: Link to @StateOfDotNet
• Twitter: #StateOfDotNet hash-tag
Agenda
• Where are we at?
• How do we develop today?
• What’s new with Visual Studio?
• What’s new with .NET?
• What’s new with Windows?
• What’s new with the Cloud?
• BUILD News
The Big Picture
The “New Microsoft”
• Microsoft is Back!!!
• My non-Microsoft take on things:
•
•
•
•
Microsoft is back to being the friendlier, cooler Microsoft!
Microsoft is back to building cool new stuff that’s actually exciting!
Microsoft is back as the leader in OS innovation
Microsoft is building incredible Enterprise-level software
• Very rapid developments
The “Open Microsoft”
• Strategic move to Open Source
• Example: ASP.NET vNext
• Strategic move to embracing all technologies and platforms
Visual Studio
Visual Studio 2015 - RC
• Visual Studio 2015 is now available as a “Release Candidate”
• You can easily open existing Visual Studio projects in 2015 without
changes
• Final release will be “later this year”
Visual Studio 2015 Community Edition
• Free version of Visual Studio 2015
• You can think of this as “Visual Studio Professional”
• Full support for features such as add-ins and extensions
• Free for non-Enterprise developers
Visual Studio Editions
What’s New in Visual Studio 2015
• Tons of little enhancements
• Example: Debugging lambdas
• Support for various new development scenarios and technologies
• …the details of which will keep us busy for the rest of the afternoon 
• New compiler and editor platform
• Roslyn, C# 6, VB 14
• Support for new file types and technologies
• Example: Bower and NPM for web developers
• New Tools
• Example: Performance, Android Emulator,…
Visual Studio Code
• A new, lightweight IDE that is part of the Visual Studio family
• Completely free of charge
• Runs on Windows, Mac,
and Linux
• Focus on code
• Great for modern web and
cloud development
New Features in C#
• Lots of small new features that help with productivity
•
•
•
•
•
•
•
•
•
Read-only auto-properties, and property initializers
“using” static methods to bring them into scope
String interpolation
Expression-bodied methods/properties
Index initializers
Null-propagation
nameof operator
Exception filters
await in catch and finally
New Features in Visual Basic 14
•
•
•
•
•
•
•
•
•
Better coding experience (refactoring, better editor support,…)
Inline comments
Read-only auto-properties
Multi-line string literals
References in Solution Explorer by default
Improved compiler performance
NameOf operator
Null propagation
String interpolation
NuGet
• NuGet’s role in the Visual Studio ecosystem is steadily gaining
significance
• Going forward, references will generally come from NuGet
.NET
ASP.NET 5 (“ASP.NET vNext”)
• ASP.NET 5 is a complete re-write of ASP.NET
• The main reason for this is the age of the core architecture of
previous versions of ASP.NET
• “Too much in a few large packages”
• The ASP.NET Framework now comes in lots of tiny packages that are
brought in through NuGet
• Pick and choose the features and components you would like to use
• The result is a version of ASP.NET that “plays much better” in many
scenarios
• Cloud,…
.NET Core vs. Full .NET Runtime
• In ASP.NET 5, there are two versions of the .NET Runtime
• Full .NET Runtime, and .NET Core
• ASP.NET 5 runs on both!
• .NET Core runs cross platform
• Windows, Mac, Linux
• .NET Core is a sub-set of the Full .NET Runtime
• In the near future, most people will probably use ASP.NET 5 on
the full runtime
• …but this will probably change in the future
Visual Studio Tools for Apache Cordova
• Visual Studio integrates the Apache Cordova Tools for HTML5based cross platform hybrid mobile development
• Note: Check out the article by Rick Strahl on www.codemag.com
New for Windows Desktop (WPF)
• Performance improvements
• And performance tools
• Touch support improvements
• DirectX Integration
• Native Support for DX11 and DX12
• Supporting Modern Hardware
• Improved Tooling
• Including a very cool new Blend experience
New for Windows Desktop (WPF)
• Better support for high-DPI
• Multi-DPI Cursors, clipping,…
• App Local
• WPF as individual NuGet Components
• Side-by-side
• Content Deferral
• Improved Stylus and On-Screen-Keyboard support
New for “other Windows Apps”…
• We will talk about that a little later 
Xamarin
• Still very important for building native mobile apps on iOS,
Android, and more… using .NET
• However, we do not have enough time to go into this in detail
today
Windows
• Great for desktop use
• Familiar experience across
devices
• Tailored to form factor
• Customize the Start Menu by resizing,
pin/unpin the Windows Apps or Windows
Desktop Apps in Live Tile.
• Dynamically switches the interface between
the Desktop PC and 2-in-1 Tablet mode
that’s better suited for fingers
• Tablet Mode setting is
also available in
Action Center.
• Improved the snap feature to include more snap options
• To snap a window, click its title bar and drag it to the edge of
your screen.
• Press Windows Key + Arrow
to snap from Keyboard
• Biometric authentication technology
powered by Intel RealSense 3D Camera
• Login by using your face, iris, or fingerprint
to unlock your devices
• Prevent unauthorized user
to access and
authenticate by using
photo
• Replaced Charms Bar
• Repository useful information
with pop-up reminder
• Turn On/Off the common
functions
• Windows Update for Business is FREE for Windows 10 Pro and
Enterprise devices.
• Patch ONLY security updates, without any functional updates.
• Specify which devices go first in an
update wave, and which ones
will come later.
• Specify maintenance windows
timeframes.
• Peer to peer delivery.
• One year free upgrade offer
• Applicable to Windows 7/8.1 Home/Pro editions
• Enterprise Edition and Windows RT are excluded
• Active SA customers may
upgrade to Enterprise edition
as part of their SA benefit
• Devices must be compatible
Universal App Platform
• Remember those WinRT apps that nobody wanted to use in
Windows 8? 
• Well, those apps now seriously rock! 
• You can now build one app that runs on all Windows 10 devices
• Desktop, slate, mobile, headless, Xbox, Surface Hub,…
• Universal Apps are now much more powerful and “normal”
• Universal Apps can be seen as a new way to build powerful desktop
apps, and more
• They support most things you would expect from a typical windows
app
iOS Apps on Windows 10
• Using Visual Studio, it is possible to open an Objective-C based
iOS project and re-compile it as a Windows 10 app
• Most assets are reused
• Unless you want to do some manual fine-tuning
• The experience includes standard Windows 10 components
Android Apps on Windows 10
• It is possible to take Android (Java) projects and re-compile
them for Windows 10
• Most of the assets will be reused
• Unless you want to do some manual fine-tuning
• The experience will include native Windows 10 components
Windows Store
• Windows Store supports all Universal Apps
• …across all Windows flavors
• It also supports .NET apps!
• There is a better Enterprise/private deployment version
HoloLens
• “Holographic” computing in the form of
a wearable computer
• Think of this as a combination of a PC, Google Glass, and Oculus Rift
• The “holograms” are projected into the glasses to appear in the real
world
• The apps running on HoloLens are Universal Apps
• Either unmodified, or tailored to provide an optimized holographic experience
• Watch the demo at:
https://www.youtube.com/watch?v=3AADEqLIALk
Windows 10 Availability
• Preview version available now
• And seems to be quite stable
• Release Date Rumors:
• Release Summer 2015 (July?)
• Windows 10 Mobile shortly thereafter
• HoloLens – no idea 
Azure
What is Azure?
• Azure is an open and flexible cloud platform that enables you to
quickly build, deploy and manage applications across a global
network of Microsoft-managed datacenters.
• You can build applications using any language, tool, or
framework. And you can integrate your public cloud
applications with your existing IT environment.
Why the Cloud?
• Rapidly setup environments to drive business priorities
• Scale to meet peak demands
• Increase daily activities, efficiency and reduced cost.
>57% >300k
Fortune 500 using Azure
>30
>3
TRILLION
storage objects
MILLION
requests/sec
Active websites
>300
>13
MILLION
AAD users
BILLION
authentication/wk
More than
1,000,000
>1.6
SQL Databases in Azure
5
MILLION
Developers registered
with Visual Studio Online
17 Regions Worldwide in 2015
Azure
footprint
Data Centers
Regional Partners
99.9% =
43 minutes/month
Compliance: aka.ms/AzureCompliance
Partners
Support for Open Source
Languages
CMS
Devices
Databases /
Apps
Operating
systems
Management
A Couple Of Things to Know About Azure
• Azure is BIG.
• Azure changes almost daily.
• The terminology changes a lot too!
• There are 2 Azure portals, each with different capabilities.
What’s in Azure as of today
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Active Directory
API Management
Application Insights
Automation
Backup
Batch
BizTalk Services
Blobs
CDN
Cloud Services
Data Factory
DocumentDB
Event Hubs
Express Route
Files
HDInsight
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
Hybrid Connections
Import/Export
Key Vault
Machine Learning
Management Portal
Marketplace
Media Services
Mobile Engagement
Mobile Services
MultiFactor Authentication
Notification Hubs
Operational Insights
Power BI (analytics for Excel)
Redis Cache
RemoteApp
Scheduler
Note: items in italics are currently in preview
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
Search
Service Bus
Site Recovery
SQL Database
Storage Queues
StorSimple
Stream Analytics
Tables
Traffic Manager
Virtual Machines
Virtual Network
Visual Studio Online
VM Depot
Websites
Some other things to take note of
• App Services (adds logic (use connectors) & api (create connectors) apps to web and mobile apps)
• Windows Azure Pack (software: run an Azure cloud on-prem)
• Cloud Platform System (hardware: on-prem cloud from Dell)
• Active Directory Application Proxy (secure on-prem web apps & services with Azure AD)
• Machine Learning Marketplace (brings data owners and data analyzers together)
• Storm for HDInsight (analysis for Hadoop)
• HBase for HDInsight (extends Hadoop)
• Analytics Platform System Appliance (gateway between on-prem data and cloud analytics)
• Live Streaming for Media Services
• Visual Studio Emulator for Android
• Visual Studio Tools for Apache Cordova
• Lots of IOT services coming
A few things that are coming
• Storage iOS Library
• Availability on Demand (builds on Site Recovery and Backup)
• Role-Based Access Control
• Network Virtual Appliances (hardware)
• Microsoft Identity Manager
• Visual Studio Online Release Management
• Microsoft just bought Revolution Analytics, the makers of R
Mike’s Notes for Azure offerings
COMPUTE
•
•
•
•
•
Virtual Machines (not just Windows)
Cloud Services (web roles and worker roles)
Scheduler (scheduled jobs call svcs anywhere)
RemoteApp (remote desktop for a single app)
Batch (schedule & scale .exes)
STORAGE
•
•
•
•
•
•
•
•
Blobs
Tables (NoSQL key/attribute)
Import/Export (ship encrypted hard drives)
Files (\\server\share\ drive in the sky)
SQL Database (2014)
StorSimple (SAN appliance hybrid storage)
DocumentDB (NoSQL JSON)
Redis Cache (atomic key-value. scale / latency)
NETWORKING
•
•
•
Virtual Network
Express Route (dedicated lines to Azure)
Traffic Manager (load balance traffic.)
DATA

ANALYTICS
HDInsight (Hadoop – big data)
Machine Learning (mine data to make
predictions)

Stream Analytics (analyze without storing)

Data Factory (data warehse - multiple sources)







Media Services (encode and stream)
CDN
HYBRID INTEGRATION
VPN)
Mobile Services (easy services, db, sync)
API Management (API catalog)
Notification Hubs (push notifications to devices)
Backup (scheduled powershell xfers)
Site Recovery (VM cloud backup)
MEDIA & CDN
MOBILE
•
•
•


Active Directory (cloud identity and access)
MultiFactor Authentication (annoying texts)
COMMERCE


Marketplace (fka Dallas)
VM Depot
Event Hubs (high throughpt data collection IOT)
BACKUP




Websites (not just ASP.NET)
IDENTITY & ACCESS
DEVELOPMENT
WEB
•
Search (index a website or db)
Storage Queues (older, based on blob storage)
Service Bus (queues on-prem <-> cloud)
BizTalk Services (enterprise app integration)
Hybrid Connections (websites & services w/o
Visual Studio Online (TFS online)
Application Insights (instrument web apps
and services)


MANAGEMENT
Automation (PowerShell)
Operational Insights (on-prem machine /
network instrumentation dashboard)

Management Portal

Key Vault (hardware security)


AWS Offerings
51
Key Scenarios to get started with Microsoft Azure
• Dev / Test
• Full test and dev environments in minutes
• VSO integration
• Lift and Shift
• Take existing work loads and run then in a certified instance
• Storage
• Archive key data in inexpensive cloud storage
• Big Data
• Process key data into business intelligence using Hadoop or Machine Learning
• Identity
• Synchronize all your identities through Azure AD to control access to Apps, Data and Services
• Web Apps
• Take your web apps to the cloud using inexpensive App Service Web Apps
Scenario 1
• I need a new SAN. I need a LOT of disk capacity.

Add a StorSimple hardware appliance to your network. Get a big SAN in the cloud.

Local caching in the hardware device. Huge capacity in the cloud.
Scenario 2
• I want to try out Visual Studio 2015 and Windows 10 previews.

Fire up a Virtual Machine pre-loaded with the software from the VM Depot

Shut it down when you’re not using it and it only costs a couple of bucks.
Scenario 3
• I have an existing desktop app that I sell and I want to offer it as
a service to new clients.

Fire up Windows Server 2012 Virtual Machines with Remote Desktop Services installed.
Install the app, database, etc.. Use Virtual Network to make them part of your domain
or create a new domain controller on a VM in Azure.
or

Extend your Active Directory with Azure Active Directory. Package your app and deploy
it to RemoteApp.
Scenario 4
• I want to develop and deploy a new web site that could end up
being a small site, or high volume a global site.

Create an appropriate database, such as Azure SQL Database and share it among the dev
team.

Develop your app using HTML5, JavaScript, CSS3 and other tools such as Angular and deploy
to Azure as your dev/test environment.

Build services deploy them in-process for fast calls from C# and also as REST via Web API for
AJAX calls.

Deploy QA and production environments to Web Apps. Scale as necessary.
Scenario 5
• My web site is getting bigger and going global. I need to do
more than just scale up.

Add Content Delivery Network worldwide to serve static content fast.

Add Application Insights to help you monitor, troubleshoot and predict.

Add Media Services to stream those videos.

Add Search so users can quickly search across your entire growing site.

Add Redis Cache to speed up the site & lighten the load on the DB.
Scenario 6
• I want to get a mobile app up and running fast.

Create your mobile app with Xamarin/Cordova/Objective C/Java/UA.

Create a new Azure Mobile Services project in Visual Studio and deploy to Azure.

Web API, single sign-on, push notifications, SQL/Table/MongoDB, sync
Scenario 7
• My manufacturer has sensors on all of our equipment. I need to
start securely storing, querying, analyzing and making
predictions.

Set up ExpressRoute for a private, dedicated connection to Azure.

Add an HDInsights cluster to store a huge amount of data and query it.

Add a Service Bus Queue for durable, rapid intake of data.

Use Machine Learning to analyze and predict.
Scenario 8
• I’m a developer







Use the $100/month you get with your MSDN/BizSpark subscription.
Use Visual Studio Online for free, globally accessible source control.
Use Azure SQL Database to make your databases globally available.
Use Application Insights to instrument all of your deployed apps.
Use Multi-Factor Authentication to send texts confirming user’s identities.
Use Notification Hubs to add push notification to phones.
Use Visual Studio Online to load test web sites and services at scale.
Activate your MSDN Benefits…
+
3 VMs for 16 hrs a day
Up to
$150
per Month
80 VMs for 20 hour load test
33%
off
Dev/Test VMs
25%
Up to 100 web sites + DB
off
Other Dev/Test
89
Countries
Other Announcements
CODE Framework
• Application development framework for professional business
application developers
• Services, XAML, Web, Mobile,…
• Free and open-source
• www.codemag.com/framework
CODE Training
• Training classes scheduled in our Houston offices
• …but can also be attended online
• Several classes are coming up shortly
• More classes to be announced soon
• Custom training and mentoring also available
CODE Training Discount
• Get a discount of CODE Training classes
• See the schedule at www.codemag.com/training
• To get the discount, email us:
• [email protected]
Free CODE Consulting
• You are also entitled to a free 1-hour consultancy if you
need a recommendation as to what technologies to use
in your project(s)
• [email protected]
Lunch with CODE
• We offer free lunch
presentations on topics
of your choice
• We even bring the lunch! 
• [email protected]
Free CODE Magazine
• As an attendee to this event, you are entitled to a free
subscription! 
• …which you will get automatically, unless you don’t want us to
The #BuildTour is bringing #Win10 dev
demos & showcases to you!
Get your FREE tickets while they last! Register today in a city near you!
New York
May 18th
aka.ms/buildnyc
Chicago
June 10th
aka.ms/buildchicago
Atlanta
May 20th
aka.ms/buildatlanta
Los Angeles
June 15th
aka.ms/buildla
Austin
May 29th
aka.ms/buildaustin
The #BuildTour is bringing #Win10 dev
demos & showcases to you!
Get your FREE tickets while they last!
Register today: aka.ms/buildaustin
May 29th | Austin City Limits Live @ The Moody Theater
Q&A
Contact us with questions!
CODE/EPS Contact:
www.codemag.com
[email protected]
facebook.com/codemag
twitter.com/codemagazine
Presenter Contact:
www.MarkusEgger.com/Blog
[email protected]
facebook.com/MarkusEggerEPS
twitter.com/MarkusEgger