Open source and cross platform .net

Preview:

Citation preview

// Ibon Landa

// ilanda@plainconcepts.com

// @ibonilm #bilbostack

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

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

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

ASP.NET Cross-platformecosystem

• 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

• 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

• 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

Demo • Demo

JavaScript ecosystem

• 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

• 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

• 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

Demo • Demo

Deploy .NET to Linux using Visual Studio and docker

// Ibon Landa

// ilanda@plainconcepts.com

// @ibonilm #bilbostack

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

Recommended