3. Chris Gomez
•First software was in BASIC on DOS 2.1
•Writing software professionally onWindows platforms
since 1993
•Microsoft MVP inVisual StudioTools and Development
Technologies
•Publishing and Deployment Examples
•Contributor to the StaticVoid Podcast
www.staticvoidpodcast.com
4. Agenda
•What is .NET Core?
•Acquiring .NET Core
•Development Experience
•Publishing and Deployment Examples
5. What is .NET Core?
.NET Core is a new platform
• Cross platform implementation
• Windows
• Linux distributions
• Mac
• Current support for x64 CPUs
• X86 supported onWindows
• ARM64 and ARM32 in progress
6. What is .NET Core?
.NET Core is:
• Bias towards platform agnostic
• Console and ASP.NET models today
• Open Source
• Contribute to code or documentation
https://github.com/dotnet
• Language Support: C# and F# now
• Visual Basic listed as future support
7. What is .NET Core?
Introducing .NET Standard - http://bit.ly/2pEk7bI
We already have many “.NETs”
8. What is .NET Core?
.NET Core does not:
• Meld into your machine like .NET Framework
• Require in-place upgrade for every “app” running on a server
• Include .NET Core in your app
• Install side-by-side on machine
• Implement everything you remember from .NET Framework
• Example: Code Access Security,WPF, WCF
9. What about .NET Framework?
• .NET Framework 4.6.2 released in August 20161
• .NET Framework 4.7 released in April 20172
.NET Framework continues a framework forWindows.
1 https://blogs.msdn.microsoft.com/dotnet/2016/08/02/announcing-net-framework-4-6-2
2 https://blogs.msdn.microsoft.com/dotnet/2017/04/05/announcing-the-net-framework-4-7/
10. What is ASP.NET Core?
• ASP.NET Core is an open source and cross platform framework
https://github.com/aspnet
• ASP.NET Core MVC – Building presentation layers andWeb APIs
https://docs.microsoft.com/aspnet/core/mvc
• Entity Framework Core – Cross platform data access
https://docs.microsoft.com/ef/core/
.NET Framework
Windows
.NET Core
Windows, Linux, Mac
ASP.NET Core
Runs on .NET Framework / .NET Core
ASP.NET
Runs on .NET Framework
11. Prerequisites
(Options to get you going)
• Virtual Machine
• VirtualBox
• Hyper-V
• Or use your Mac
• Or use Linux on the metal
• You can do all this onWindows, too.
12. Prerequisites
• Nodejs and NPM
• Prerequisite forYeoman and other NPM installable tools
• Yeoman (yo) – Scaffolding for apps
• generator-aspnet (yeoman generator)
• Info: https://github.com/omnisharp/generator-aspnet
• Bower – Client side package restore
• Yeoman uses bower: npm install –g bower
21. Creating New Projects
• dotnet command
https://docs.microsoft.com/en-us/dotnet/articles/core/tools/dotnet
• Bring projects over fromVisual Studio
• JetBrains Rider
https://www.jetbrains.com/rider/
• Yeoman Generator
https://github.com/OmniSharp/generator-aspnet
22. Survey of Cloud Options
• Amazon Web Services
• Deploying an ASP.NET CoreApplication with AWS Elastic Beanstalk
http://amzn.to/2oTcDCk
• Creating .NET Core AWS Lambda Projects withoutVisual Studio
http://amzn.to/2qzUKEO
23. Survey of Cloud Options
• Google Cloud Platform
• Scott Hanselman tries GCP with ASP.NET Core
http://bit.ly/2p45Y4m
• Google Cloud Platform Blog – Managing containerized ASP.NET Core
apps with Kubernetes
http://bit.ly/2pB9c0n
24. Survey of Cloud Options
• Containers
• Docker
Installation on Linux: http://dockr.ly/2p1wJFB
26. Summary
• .NET Core
• Lightweight
• Less Intrusive
• Cross-Platform
• Acquiring .NET Core
• Ubuntu Linux: apt-get
• Development Experience
• Visual Studio Code
• Publishing and Deployment Example
27. Further Study
Kathleen Dollard
An independent look at the arc of .NET
https://www.youtube.com/watch?v=X9dFBt31UVw
Jon Galloway
Getting the best out of ASP.NETCore in Azure
https://www.youtube.com/watch?v=BzSAXSxytpQ
28. Further Study
Jeff Fritz
Advanced .NET Core and .NET Standard in 2017
http://bit.ly/2p580Aw
Steve Lasker and Glenn Condron
DeployingASP.Net Core applications using
Docker Containers
http://bit.ly/2qs1GI2