Get introduced to the new ASP.NET 5. This stack stack that will change the way you build modern web apps! The next generation ASP.NET gives us a much needed modern framework for web and cloud. It is built from the ground up to provide an optimized development framework for apps that are either deployed to the cloud or run on-premises. A significant redesign, full open source and available on GitHub, ASP.NET 5 uses cloud-optimized version, that is enhanced for server scenarios like low-memory and high-throughput. Get to know the all new powerful ASP.NET 5 through our webinar.
We would encourage you to go through the live Demo. Write back to us at jghosh@suyati.com for any queries.
Suyati Technologies Pvt Ltd.
2nd Floor, B-Wing, Thapasya building, Infopark, Kakkanad
Kochi 682030, Kakkanad, Kerala 682030
2. About suyati technologies
• 50+ certified ASP.net Developers
• 70+ years cumulative experience
• Built 20+ complex enterprise applications and websites
5. 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
13. 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
14. 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
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
20. 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
21. 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
22. 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.