Open source and .net

25
.NET dev platform and Open Source presented by Hrvoje Hudoletnjak

description

Presentation about op

Transcript of Open source and .net

Page 1: Open source and .net

.NET dev platformand Open Source

presented by Hrvoje Hudoletnjak

Page 2: Open source and .net

• Before there were: C/C++, VisualBasic, Delphi, Clarion, Clipper, ..>• Write Once Run Everywhere• Bytecode• Compiled / interpreted language on JVM (Java Virtual Machine)• Sun Microsystems (now Oracle)

• Knock, knock. Who’s there? ….. (long pause) …. Java!• Why I don’t use Java? Because I c#!

1996

Page 3: Open source and .net

• CLR (Common Language Runtime) = JVM• C#, VisualBasic, J#• Anders Hejlsberg• WinForms / WebForms

1996 2000

Page 4: Open source and .net

COMMONLANGUAGE RUNTIME

Page 5: Open source and .net

• ECMA Standards for C#• .NET 1.1• ISO Standard 2003

1996 2000 2001

.NET 1.1

2003

Page 6: Open source and .net

• MONO Project („Monkey” in Spanish)• Begun by Miguel de Icaza – lead developer of GNOME• Sponzored by Novell• Mono 1.0: Core, ADO.NET, ASP.NET, C# 1.0• Mono 1.2: C# 2.0, ASP.NET 2• Mono 2.0: complete implementation of .NET 2.0• Currently (2013): actively developed under Xamarin,

supports .NET 4.5• MonoDevelop

2000 2001 2004

Mono 1.0

2005

.NET 2.0Mono 1.2

2006

Mono 2.0

Page 7: Open source and .net
Page 8: Open source and .net

SOURCE PLEASE?

Team Foundation System,

Mercurial GIT

Subversion, Mercurial,

GIT

Subversion, Mercurial, GITMercurial, GIT

Page 9: Open source and .net
Page 10: Open source and .net

HOSTING?

SHAREDPlus.hr, Avalon, Inside

3+ $/mVirtual Private Server

20+ $ /mDedicated50+ $ /m

CloudAmazon (1y free), Azure (free web sites)

Page 11: Open source and .net

Scott Guthrie(important guy)

Yours truly (not so important guy)

Page 12: Open source and .net

• ASP.NET MVC (Model View Controller pattern)• WebForms -> Cortporate&Enterprise RAD environment• MVC -> Web 2.0 cunsumer web sites, HQ web apps• All based on ASP.NET framework (.NET 3.5 +)• Full source released 2009 under MS-PL license• jQuery included in official ASP.NET release

2007

ASP.NET MVC CTP

2009

ASP.NET MVC v1

2010

ASP.NET MVC v2

2011

ASP.NET MVC v3

2012

ASP.NET MVC v4

Page 13: Open source and .net

WEB

PLA

TFO

RM

WebPages WebForms MVC

HTML (5), CSS (3), JavaScriptjQuery, KnockoutJS, Backbone, Angular, Ember, …

Page 14: Open source and .net

APACHE v2 Licesne

ASP.NET MVCRazor

WebPagesWebAPI

EntityFrameworkNuGet

Page 15: Open source and .net

• PaaS & IaaS • Host .NET, PHP, NodeJS, Java, Ruby, … under Windows or Linux • Services (networking, messaging, storage) available through HTTP /

REST • Hadoop, NodeJS, source contributed by MS• 10 free websites (in subdomain)• SDK source on Github

CLOUDS?

Page 16: Open source and .net

BUILD UP THE DEVELOPER ECOSYSTEM

Page 17: Open source and .net

CastleN

Hib

ern

ate

log4net

NUnit

Elm

ah

Nin

ject

Antlr

Iesi Collections

jQuery

New

tonso

ft.Jso

n

Moq

FluentNHibernate

AutoMapperStructureMap

NLog

Autofac

Facebook SDKRx

RhinoMocks

MvcContrib

51Degrees.mobiD

otN

etO

pen

Au

th

Com

mon

.Log

gin

g

MvvmLight

BBCode

Mvc

Mai

ler

xuni

t

Flue

ntVa

lidati

on

Ham

moc

k

SharpZipLib

FluentHtml-ci Machine.Specifications

jQuery.Validation

WatiN

Htm

lAgi

lityP

ack

Simple.Data.Core

CLEditor

Simple.Data.CoreAltairis.Web.Security

UrlShortener.HelperiT

extS

harp

QuickGraph

DotNetZip

FakeItEasy

PublishSettingsGenerator

Spar

k

NSubstitute

RavenDB

Luce

ne

AutoPoco

RestSharp

Should

postalnservicebus

reac

tiveu

i-cor

e

linq.

js

fast

erfle

ct

combres

TweetSharp

MvcSiteMapProvider

Adam

.JSG

ener

ator

Flue

ntAs

serti

ons

Bootstrapper

AzureToolkit

ErikEJ.SqlCeMembership

Page 18: Open source and .net
Page 19: Open source and .net
Page 20: Open source and .net

• ASP.NET MVC, Entity Framework, Nuget on Codeplex, accepting code contribution• Azure SDK on GitHub• OWIN / Katana• NancyFX• Nhibernate• Simple.Data• Elmah• RavenDb• DotNetOpenAuth• Lucene.net• ServiceStack ….

Page 21: Open source and .net

TOOLS?

Visual Studio Express 2012Web, Windows 8, Windows Desktop, Windows Phone

WebMatrix 3WebPages, PHP, NodeJS, JavaScript

Page 22: Open source and .net

USE THE FORCE, YOUNG PADAWAN!

Page 23: Open source and .net

GIMME MOAR!

Page 24: Open source and .net

LEARNING RESOURCES

msdn.microsoft.comwww.asp.net/get-started

channel9.msdn.comwww.pluralsight.com

www.tekpub.com

Page 25: Open source and .net

THANK YOU! ANY QUESTIONS?Hrvoje HudoletnjakT: twitter.com/hhrvojeW: hudosvibe.netM: [email protected]