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 CODE & EPS Software Corp.
Helping People Build Better Software
Custom Software, Consulting, Training, Mentoring,
Windows, Web, Mobile
Cloud
Databases
User Interface and Interaction Design
Project Rescue
Legacy Conversions
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? Not just
MS stuff.
Whats new with .NET?
Whats new with Visual Studio?
Whats new with Web Development?
Whats new with Windows?
Whats new with the Cloud?
Microsoft Today
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 thats actually exciting!
Microsoft is back as the leader in OS innovation
Microsoft is building incredible Enterprise-level software
Microsofts developer ecosystem is growing rapidly
Microsofts customer satisfaction ratings are outstanding
Very rapid developments
Embracing Everything
In the past, Microsoft can be seen as Windows only
Today, Microsoft embraces all developers and all
platforms
The Open Microsoft
Strategic move to Open Source
Example: ASP.NET Core
Strategic move to embracing all
technologies and platforms
.NET
.NET Core
Re-write of the .NET Runtime
Re-envisioning of .NET for todays scenarios
Dem
.NET Standard
Standard supported by all implementations of .NET
Think of this as an evolution of portable libraries
Currently 1.x
.NET Standard 2.0 will be a big step forward
Dem
.NET Native
.NET CLR RT
Single Executable
Drastically lower memory use
Drastically lower startup time
Languages
.NET Languages
C#: Leader of the pack
VB: Still going strong
F#: Darling of a dedicated smaller community
All have a bright future with specific roles to play
Other Languages
JavaScript
TypeScript
TypeScript
Strongly typed super-set of JavaScript
Very well received and adopted
Default language in Angular 2
Dem
Development Environment
Visual Studio 2015
Visual Studio 2015 has been available for quite some
time
Update 3 is now available
Tool of choice, even if you have to work on older
projects
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
Visual Studio 15
The very confusingly named preview version of the next
version of Visual Studio
which will receive its real name shortly
Very nice performance improvements
Very nice editor improvements
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
Lots of add-ins
Embraced by the community
Xamarin
Very important for building native mobile apps on iOS,
Android, and more using .NET
Key scenario: Code reuse across platforms
Dem
Xamarin Studio
Xamarin IDE for Mac
Geared towards creating iOS apps with Xamarin
Can also be used for Mac
Web Development
General Overview of Web
Development
ASP.NET for server-side development
How much server-side development do you need?
HTML5 client-side development
Angular 2 seems to be the winner
Node.js
ASP.NET
Problems with Classic ASP.NET
Architecture
Limited hosting capabilities (IIS only)
Dependency on IIS environment (System.Web)
Web evolves faster than the .NET Framework
Requires full .NET Framework
Resource-intensive and not Web/Cloud friendly
Hard to optimize and scale down for lightweight apps
How much server-side processing do you really need?
ASP.NET Core
ASP.NET Core is a complete re-write of ASP.NET
Modular and not platform dependent
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
Better suited for Cloud-operations
MVC 6
No separate WebAPI, no more WebForms
Introducing ASP.NET Core Stack
ASP.NET
Web API
MVC
Web Pages
Middleware
.NET Core CLR
.NET CLR
Host
IIS
Self-hosted
OS
.NET Core vs. Full .NET Runtime
In ASP.NET Core, there are two versions of the .NET
Runtime
Full .NET Runtime, and .NET Core
ASP.NET Core runs on both!
.NET Core runs cross platform
Windows, Mac, Linux
.NET Core Runtime is a sub-set of the Full .NET Runtime
A Word about 4.x
There are many features of ASP.NET 4.x that will
continue to be supported
It is fine to keep using that version
and the full .NET Runtime
HTML 5 Frameworks
There are now quite a few frameworks geared towards
writing applications based on top of HTML5
Single Page Applications SPAs
Angular, Amber, React, Aurelia,
Angular 2 seems to emerge as the clear #1
Nevertheless, others are viable options as well
Angular 2
Googles framework for building complex browser
applications using an HTML 5 Single Page approach
Dem
Containers
Containers isolate environments (virtualization)
Contrary to virtual machines, containers do not include a
virtualized OS
Containers are typically lightweight
Docker
Docker is supported on Windows as well as
Linux
.NET Core is great for deploying to Docker
but the full framework works as well
But it is not as lightweight
Docker is becoming the de-facto standard
of Unit of Deployment
Windows Development
One converged platform
One Windows
Desktop
SKU
PC
2 in 1
Mobile
SKU
Tablet
Phablet
Phone
Xbox
SKU
Xbox
IoT
SKU
Band
IoT
headless
SKU
Raspberr
y Pi
Home
Automati
on
Surface
Hub
SKU
Surface
Hub
Holograp
hic
SKU
HoloLens
Continuum
Dynamically switches the interface
between the Desktop PC and 2-in1 Tablet mode thats better suited
for fingers
Tablet Mode setting is
also available in
Action Center.
Universal App Platform
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
These are also the apps that run on HoloLens or Raspberry
Pi
What are Windows Universal Apps?
Windows 10 can execute two types of apps
Conventional Windows Apps based on Win32 style
architecture
Desktop Apps, 32 bit or 64 bit
Run on PCs only
Universal Apps running on a new fundamental tech
stack
Formerly WinRT, Store Apps, Metro Apps,
Run on any hardware (PCs, Phones, Xbox,)
.NET Native
Every App in the Store is compiled with .NET Native
Likely used for other types of apps in the future
.NET Native is a next-generation compiler in the Cloud
Apps use the standard C++ Compiler
As Optimizer Performance improves, so does .NET Native
Apps with .NET Bootstrapper
Includes Garbage Collection
There is no runtime, since this creates native machine code
Improved startup time and less memory usage
Developing Windows Universal Apps
Visual Studio 2015
Usually done on Windows 10
Although Windows 8.1 is supported
Typically done with XAML and C#
The older HTML-based scenarios is still supported but not
pushed
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 Microsoftmanaged 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.
Speed
Scale
Economics
>5
>3
7%
Fortune 500 using Azure
0>
3
TRILLION
storage objects
MILLION
requests/sec
More than
1,000,0
>300k 00
Active websites
>30
0
>13
MILLION
AAD
users
BILLION
authentication/
wk
>1.
SQL Databases in Azure
65
MILLION
Developers
registered with Visual
Studio Online
17 Regions Worldwide in 2015
Azure
footprint
Data Centers
Regional Partners
99.9% =
43 minutes/month
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.
Whats in Azure as of today
1. Active Directory
2. API Management
3. Application Insights
4. Automation
5. Backup
6. Batch
7. BizTalk Services
8. Blobs
9. CDN
10. Cloud Services
11. Data Factory
12. DocumentDB
13. Event Hubs
14. Express Route
15. Files
16. HDInsight
17. Hybrid Connections
18. Import/Export
19. Key Vault
20. Machine Learning
21. Management Portal
22. Marketplace
23. Media Services
24. Mobile Engagement
25. Mobile Services
26. MultiFactor Authentication
27. Notification Hubs
28. Operational Insights
29. Power BI (analytics for Excel)
30. Redis Cache
31. RemoteApp
32. 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
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.)
WEB
Websites (not just ASP.NET)
MOBILE
Mobile Services (easy services, db, sync)
API Management (API catalog)
Notification Hubs (push notifications to devices)
DATA
Search
(index a website or db)
ANALYTICS
HDInsight
(Hadoop big data)
Learning (mine data to make
predictions)
Stream Analytics (analyze without storing)
Data Factory (data warehse - multiple sources)
Machine
Event
Hubs (high throughpt data collection IOT)
BACKUP
Backup (scheduled powershell xfers)
Site Recovery (VM cloud backup)
MEDIA & CDN
Media
Services (encode and stream)
CDN
HYBRID INTEGRATION
Storage
Queues (older, based on blob storage)
Bus (queues on-prem <-> cloud)
BizTalk Services (enterprise app integration)
Hybrid Connections (websites & services w/o
VPN)
Service
IDENTITY & ACCESS
Active
Directory (cloud identity and
access)
MultiFactor Authentication
(annoying texts)
COMMERCE
Marketplace
VM Depot
(fka Dallas)
DEVELOPMENT
Visual Studio Online (TFS online)
Application Insights (instrument web
apps and services)
MANAGEMENT
Automation
Operational
(PowerShell)
Insights (on-prem
machine / network instrumentation
dashboard)
Management Portal
Key Vault (hardware security)
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
Activate your MSDN Benefits
3 VMs for 16 hrs a day 80 VMs for 20 hour load testUp to 100 web sites + DB
$15
Up to
per
33%
f
Dev/Test
25%
f Dev/Test
Other
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
Several classes are coming up shortly
Getting Your Head Around the Modern Web which is
basically a beefy day of FREE Angular 2 training
Same for Xamarin coming up
Same for Azure coming up
More classes to be announced soon
Custom training and mentoring also available
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 dont want us to
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