open source and cross platform .net

24
// Ibon Landa // [email protected] // @ibonilm #bilbostack ASP .NET 5: Open source and cross-platform .NET

Upload: ibon-landa

Post on 17-Jul-2015

681 views

Category:

Internet


2 download

TRANSCRIPT

Page 1: Open source and cross platform .net

// Ibon Landa

// [email protected]

// @ibonilm #bilbostack

ASP.NET 5:Open source and cross-platform .NET

Page 2: Open source and cross platform .net
Page 3: Open source and cross platform .net

Open Sourcing .NET server stack for Windows, Linux and OS X

Page 4: Open source and cross platform .net

ASP.NET vNext and the Modern Web

Choose your Editors and Tools

Open Source with Contributions Cross-PlatformOSS

Seamless transition from on-premises to cloud

Faster Development CycleTotally Modular

Fast

Page 5: Open source and cross platform .net
Page 6: Open source and cross platform .net

ASP.NET Cross-platformecosystem

Page 7: Open source and cross platform .net

• KVM(K Version Manager)• Help you retrieving versions of the KRE and allowing you to switch between versions when you have

multiple on your machine

• KRE(K Runtime Engine)• Is used to bootstrap and run an ASP.NET vNext application

• KPM(K Package Manager)• Restore packages, install packages, pack your application for deployment

• K• Run your app in command line using K* commands

• K build…k run…

ASP.NET 5 command lines

Page 8: Open source and cross platform .net

• Mono 3.4.1 or later

• Install the K Version Manager (KVM)• brew tap aspnet/k

• brew install kvm

• Install the K Runtime Environment (KRE)• kvm upgrade

See https://github.com/aspnet/home for more details

OS X

Page 9: Open source and cross platform .net

• Kulture – ASP.NET 5 plugin for Sublime

• OmniSharp – Sublime Text Extension to enable C# related features• Plugins for Sublime, Emacs , Vim, Brackets and Atom from github.

• Yeoman aspnet generators – Console apps, MVC apps and NancyFx apps…

ASP.NET 5 + MAC + Sublime

Page 10: Open source and cross platform .net

Demo • Demo

Page 11: Open source and cross platform .net

JavaScript ecosystem

Page 12: Open source and cross platform .net

• JavaScript Task Runner• Performe repetitive tasks like minification, compilation, unit testing..etc

• Hundreds of plugins to choose

• Install• npm install -g grunt-cli

• package.json• Define your dependecies

• Gruntfile• Define Project configuration

JavaScript ecosystem: Grunt

Page 13: Open source and cross platform .net

• Package manager for the web

• npm install -g bower

• Installing packages• bower install jquery

• bower install jquery#1.10

• Integrated with build tools as grunt

JavaScript ecosystem: Bower

Page 14: Open source and cross platform .net

• Karma• Testing environment

• Test your code on real browsers and real devices

• Testing Framework Agnostic; Jasmine, Mocha, QUnit…

• Jasmine• Behavior-driven development framework for testing JavaScript code

• NOT depend on any other JavaScript frameworks

• NOT require a DOM

JavaScript ecosystem: Karma + Jasmine

Page 15: Open source and cross platform .net

Demo • Demo

Page 16: Open source and cross platform .net

Deploy .NET to Linux using Visual Studio and docker

Page 17: Open source and cross platform .net
Page 18: Open source and cross platform .net
Page 19: Open source and cross platform .net
Page 20: Open source and cross platform .net
Page 21: Open source and cross platform .net
Page 22: Open source and cross platform .net
Page 23: Open source and cross platform .net
Page 24: Open source and cross platform .net

// Ibon Landa

// [email protected]

// @ibonilm #bilbostack

ASP.NET 5:Open source and cross-platform .NET