Top Banner
ASP .NET In a new world Bas Danen [email protected]
16
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 2: Asp.net in a new world

WHAT IS ASP.NET ?

“Asp.net is an open source server-side Web application framework designed for Web development to produce

dynamic Web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, web applications

and web services.”

Source: wikipedia

Page 3: Asp.net in a new world

WHY THIS PRESENTATION ?

“ASP.NET is in the process of being re-implemented as a modern and modular web framework, together with other frameworks like Entity

Framework. The new framework will make use of the new open-source .NET Compiler Platform (code-name "Roslyn") and be cross platform.

ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages (a platform using only Razor pages) will merge into a unified MVC 6.

The project is called "ASP.NET vNext”Source: wikipedia

A big change is coming

Page 4: Asp.net in a new world

ASP.NET HISTORY• 2002 - ASP.NET 1.0

• 2003 - ASP.NET 1.1

• 2005 - ASP.NET WHIDBEY (.NET 2.0)

• Webforms

• 2006 - ASP.NET WinFX (.NET 3.0)

• 2007 - ASP.NET Orcas (.NET 3.5)

• 2010 - ASP.NET 4.0

• .NET MVC

• 2015 - ASP.NET 5

• Cross platform

Page 5: Asp.net in a new world
Page 6: Asp.net in a new world

TIMES HAVE CHANGED• The next version of .Net and ASP.NET will not only run on Windows Operating Systems.

• Previously mono was the way to run .Net applications on Linux and OSX.

• In the coming release .Net will run on Windows, Linux and OSX and will be fully supported by Microsoft.

• This opens a whole new world of possibilities

• ASP.NET Websites on linux servers, no need to convince an IT department to use Windows for your application

• Run .NET code on Mobile phones (and supported by Microsoft)

• Internet of Things (Raspberry Pi’s, Inte Edison, Routers, NAS)

Page 7: Asp.net in a new world

THE .NET ECOSYSTEM

Page 8: Asp.net in a new world

2 CHOICES

Page 9: Asp.net in a new world

ASP.NET IN A NEW WORLD

Page 10: Asp.net in a new world

ASP.NET APPLICATION

Page 11: Asp.net in a new world

MODERN WEB DEVELOPMENT

• Building modern web applications we use many tools

• Task runners

• gulp, grunt

• Package managers

• npm, Bower, NuGet

• Languages, Transformers

• Less, Sass, TypeScript,CoffeeScript

• All part of the ASP.NET 5 ecosystem by default and fully supported from Visual Studio 2015

Page 12: Asp.net in a new world

PROJECT STRUCTURESame on all platforms (of

course)

Project configuration and dependencies inspired by

node

Page 13: Asp.net in a new world

USING .NET ON A MAC• Using your favorite text editor or using Visual Studio

Code

• Run using command line

• DNVM (.Net version manager)

• DNU (.Net NuGet client, NuGet.exe on Windows)

• DNX (.Net Execution Environment)

Page 14: Asp.net in a new world

DEVELOP A ASP.NET WEB APPLICATION ON OSX

• You could create the project yourself

• Or… use the Yeoman generator to create a template based project like in ASP.NET

Page 15: Asp.net in a new world

DEMO

Page 16: Asp.net in a new world

MORE INFORMATION

• www.asp.net/vnext

• docs.asp.net

• http://www.hanselman.com/

• http://channel9.msdn.com/