Get acquainted with the
new
ASP.net 5
#suyatiwebinar
Webinar
About suyati technologies
• 50+ certified ASP.net Developers
• 70+ years cumulative experience
• Built 20+ complex enterprise applications and websites
SPEAKERS
Rifaj Aboobacker Anoop Malayil
Senior ASP.NET developer Software Developer
@rifaj @T4ANOOP
FOLLOW
US
#suyatiwebinar
@suyatitech
+Suyati The Suyati
suyati-technologies-private-limited
Suyati Technologies
Agenda
• What is ASP.NET 5?
• ASP.NET 5 Features
– Cross Platform
– Open Source
– Cloud Friendly
– Performance
• DNX, DNVM
• Introduction to Visual Studio 2015
• Dependencies and Packaging
• Bower, grunt and npm
• Hosting
• Kestrel
• Q&A
What is ASP.NET 5 ?
ASP.net 5 and the Modern Web
Open SourceCross Platform
Cloud Friendly Performance
Modern Web?
• Mobile first
• Responsive design
• Super fast app
• Light weight
• Cloud ready
• Easily scalable
• Agile/ Platform independent
Open source
Cross Platform
Cloud Friendly
• Seamless transition from on premise to cloud
• Scoped configuration - Separate config in the dev and live environments wont break the code, instead overrides the
config.json file
• Entire framework as part of the app
• Take full advantage of PAAS using asp.net 5
• Upscale automatically without worrying about session and state
• Run/debug in cloud
Performance
• Faster startup times
• Each preview release is getting faster – performance optimized
• Startup.cs loads faster and gives multiple options
• No full framework required
• Reduced compile time – edit code and refresh your browser
• No more waiting for building the entire project
• Options to choose your own editor
ASP.NET 5 Features
• New flexible and cross-platform runtime
• New modular HTTP request pipeline
• Cloud-ready environment configuration
• Unified programming model that combines MVC, Web API, and Web Pages
• Ability to see changes without re-building the project
• Side-by-side versioning of the .NET Framework
• Built in Dependency Injection
• Ability to self-host or host on IIS
• Open source in GitHub
• Simplified Dependency Management
DNX and DNVM
• Used be to KVM now dnvm
• - dnvm stands for dotnet version manager
• - dnx – was kre(K runtime environmnt) - dotnet executable, dotnet cross platform, whatever the x to stand for
• - dnx is a portable clr host, you need to boot the clr - usually windows or windows phone or any platform you run. since
asp.net is cross platform, which supports .net core - dnx will be responsible for booting up your clr on ur mac or linux, and
full clr in windows. It has native code, managed loadings and you can have multiple dnx in your machine side by side. clr
is now not pinned to the OS any more
• - dnvm is a set of commands that helps you manage the version of the dnx that you want to use
Visual Studio 2015
• Visual Studio C++ for Cross-Platform Development
• Better Code Editor
• Supports three package managers: NuGet, NPM, and Bower
• IntelliSense for Bower and NPM
• Visual Studio Tools for Apache Cordova
• Visual Studio Emulator for Android
• .NET Framework 4.6
• Debugging and Diagnostics improvements
• TypeScript
• Unit Tests
• Application Insights
• Release Management
Simplified dependency management
• No need to add assembly references
• Directly refer nuget packages
• Use nuget package manager or project.json file
• Intellisense on project.json file makes its really fast and easy to add packages
• No dependent packages are listed on project.json
Bower, Grunt and NPM
Bower
• The package manager for the web.
• Install and restore client-side packages, including JavaScript and CSS libraries.
• For server-side libraries we will still use NuGet Package Manager
Grunt
• Grunt is JavaScript-based task runner.
• This task runner is an app that automates routine development tasks
• The ASP.NET 5.0 project template uses Grunt
• Can be used to handle minification and bundling
npm
• This package manager was originally created for Node.js
• Bower, Grunt all use npm.
• Instead of navigating around the web and downloading project resources, you can download all of these resources
and their dependencies automatically by taking advantage of a package manager.
Kestrel
• This is a new cross-platform OWIN web server for ASP.NET
CLICK HERE to watch DEMO
Share this information

Get acquainted with the new ASP.Net 5

  • 1.
    Get acquainted withthe new ASP.net 5 #suyatiwebinar Webinar
  • 2.
    About suyati technologies •50+ certified ASP.net Developers • 70+ years cumulative experience • Built 20+ complex enterprise applications and websites
  • 3.
    SPEAKERS Rifaj Aboobacker AnoopMalayil Senior ASP.NET developer Software Developer @rifaj @T4ANOOP
  • 4.
  • 5.
    Agenda • What isASP.NET 5? • ASP.NET 5 Features – Cross Platform – Open Source – Cloud Friendly – Performance • DNX, DNVM • Introduction to Visual Studio 2015 • Dependencies and Packaging • Bower, grunt and npm • Hosting • Kestrel • Q&A
  • 6.
  • 7.
    ASP.net 5 andthe Modern Web Open SourceCross Platform Cloud Friendly Performance
  • 8.
    Modern Web? • Mobilefirst • Responsive design • Super fast app • Light weight • Cloud ready • Easily scalable • Agile/ Platform independent
  • 9.
  • 12.
  • 13.
    Cloud Friendly • Seamlesstransition from on premise to cloud • Scoped configuration - Separate config in the dev and live environments wont break the code, instead overrides the config.json file • Entire framework as part of the app • Take full advantage of PAAS using asp.net 5 • Upscale automatically without worrying about session and state • Run/debug in cloud
  • 14.
    Performance • Faster startuptimes • Each preview release is getting faster – performance optimized • Startup.cs loads faster and gives multiple options • No full framework required • Reduced compile time – edit code and refresh your browser • No more waiting for building the entire project • Options to choose your own editor
  • 15.
    ASP.NET 5 Features •New flexible and cross-platform runtime • New modular HTTP request pipeline • Cloud-ready environment configuration • Unified programming model that combines MVC, Web API, and Web Pages • Ability to see changes without re-building the project • Side-by-side versioning of the .NET Framework • Built in Dependency Injection • Ability to self-host or host on IIS • Open source in GitHub • Simplified Dependency Management
  • 16.
    DNX and DNVM •Used be to KVM now dnvm • - dnvm stands for dotnet version manager • - dnx – was kre(K runtime environmnt) - dotnet executable, dotnet cross platform, whatever the x to stand for • - dnx is a portable clr host, you need to boot the clr - usually windows or windows phone or any platform you run. since asp.net is cross platform, which supports .net core - dnx will be responsible for booting up your clr on ur mac or linux, and full clr in windows. It has native code, managed loadings and you can have multiple dnx in your machine side by side. clr is now not pinned to the OS any more • - dnvm is a set of commands that helps you manage the version of the dnx that you want to use
  • 17.
    Visual Studio 2015 •Visual Studio C++ for Cross-Platform Development • Better Code Editor • Supports three package managers: NuGet, NPM, and Bower • IntelliSense for Bower and NPM • Visual Studio Tools for Apache Cordova • Visual Studio Emulator for Android • .NET Framework 4.6 • Debugging and Diagnostics improvements • TypeScript • Unit Tests • Application Insights • Release Management
  • 18.
    Simplified dependency management •No need to add assembly references • Directly refer nuget packages • Use nuget package manager or project.json file • Intellisense on project.json file makes its really fast and easy to add packages • No dependent packages are listed on project.json
  • 19.
  • 20.
    Bower • The packagemanager for the web. • Install and restore client-side packages, including JavaScript and CSS libraries. • For server-side libraries we will still use NuGet Package Manager
  • 21.
    Grunt • Grunt isJavaScript-based task runner. • This task runner is an app that automates routine development tasks • The ASP.NET 5.0 project template uses Grunt • Can be used to handle minification and bundling
  • 22.
    npm • This packagemanager was originally created for Node.js • Bower, Grunt all use npm. • Instead of navigating around the web and downloading project resources, you can download all of these resources and their dependencies automatically by taking advantage of a package manager.
  • 23.
    Kestrel • This isa new cross-platform OWIN web server for ASP.NET
  • 24.
    CLICK HERE towatch DEMO
  • 25.