building next generation web apps and services using asp.net 5
TRANSCRIPT
• Shravan Kumar Kasagoni
• Senior Development Engineer @ Pramati
• Microsoft MVP – ASP.NET/IIS
• http://theshravan.net
• https://flipboard.com/@techieshravan
• @techieshravan
Your Speaker
ASP.NET History
2010• ASP.NET Web Pages
2012• ASP.NET Web API, SignalR
2015• ASP.NET 5
1996• Active Server Pages(ASP)
2002• ASP.NET
2008• ASP.NET MVC
Choose your Editors
and Tools
Open Source
with ContributionsCross-PlatformOSS
Seamless transition
from on-premises to cloud
Faster Development CycleTotally Modular
Fast
Install ASP.NET with Visual Studio
Install the latest version of Visual Studio 2015. While installing
Visual Studio 2015, be sure to specify that you want to install
the Microsoft Web Developer Tools.
• Install the .NET Version Manager (DNVM)
• Install the .NET Execution Environment (DNX)
Install ASP.NET Standalone
Install the .NET Version Manager (DNVM)
@powershell -NoProfile
-ExecutionPolicy unrestricted
-Command
"&{$Branch='dev';iex ((new-object net.webclient).
DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
Install the .NET Execution Environment (DNX)
• To install the latest version of DNX using DNVM, run: dnvm upgrade
• http://docs.asp.net/en/latest/getting-started/installing-on-mac.html
• http://docs.asp.net/en/latest/getting-started/installing-on-linux.html
Installing ASP.NET 5 On Other Platforms
Before ASP.NET 5
Web Pages 2 MVC 5 Web API 2
Dependency Resolver
Model Binding
Filters
Actions
Controllers
HTML Helpers
Dependency Resolver
Model Binding
Filters
Actions
Controllers
HTML Helpers
Razor
MVC 6
With ASP.NET 5
Web Pages 2 MVC Web API
Dependency Resolver
Model Binding
Filters
Actions
Controllers
HTML / Tag Helpers
Razor
Before DNX
Operating System
Runtime Loader
Runtime
Platform Libraries
Application Host
Web Server
Windows
IIS: WebEngine4.dll
Exe: OS
.NET CLR
.NET BCL & FCL
System.Web
IIS
Application Frameworks
Libraries
Application
FCL, GAC, Nuget
Loose, GAC, Nuget
MSBuild, CodeDOM->csc.exe
With DNX
Operating System
Runtime Loader
Runtime
Platform Libraries
Application Host
Web Server
Windows
IIS: WebEngine4.dll
Exe: OS
.NET CLR
.NET BCL & FCL
System.Web
IIS
Application Frameworks
Libraries
Application
FCL, GAC, Nuget
Loose, GAC, Nuget
MSBuild, CodeDOM->csc.exe
Windows, OSX, Linux
DNX
.NET CLR, .NET Core CLR
.NET BCL & FCL, .NET on Nuget
DNX
IIS, HTTP.SYS, Kestrel
Nuget
Nuget
DNX (Roslyn)
• http://docs.asp.net
• http://blogs.msdn.com/b/webdev
• http://theshravan.net
Resources