Sami .NET kóði fyrir
Windows, Linux og Mac
OsX
Guðmundur Jón Halldórsson
http://www.gudmundurjon.net
Five Degrees
“There are two types of speakers:
those that are nervous and those that
are liars”
Mark Twain
Mono project – hvað er það?
• C# (async, LINQ, dynamic, ...)
• F#
• Java
• Scala
• Boo
• Nemerle

• Visual Basic .NET
Mono...
Hvar keyrir Mono project – hvað er það?
An open source, cross-platform, implementation of C# and the CLR that
is binary co...
Á hverju keyrir Mono
• Linux
• OS X
• BSD
• iPhone
• Android

• PlayStation 3
• Wii
• Xbox 360
• Microsoft Windows
• x86, ...
Er allt hægt með Mono
• Mono styður allt til og með .NET 4.0
• NEMA WPF, WF og hluta úr WCF

• Prófa að keyra Mono Migrati...
Hvað er í Mono pakkanum
C#

F#

VB

Java

BASE CLASS LIBRARY

JS

Boo

PHP

MONO CLASS LIBRARY

Core

ADO.NET

ASP.NET

Mo...
Mono - .Net
.NET 1.1
C# 1.0
Core Libraries 1.1: mscorelib, System, System.Xml
ASP.NET 1.1
ADO.NET 1.1
Winforms/System.Draw...
Mono - .Net
.NET 2.0
C# 2.0 (generics)
Core Libraries 2.0: mscorelib, System, System.Xml
ASP.NET 2.0 (ekki vefpartar)
ADO....
Mono - .Net
.NET 3.0
WCF (Silverlight 2.0 subset)
WPF (Ekki ráðgert)
WWF (Verður útfært síðar)
Mono - .Net
.NET 3.5
C# 3.0
System.Core
LINQ
ASP.Net 3.5
ASP.Net MVC
LINQ to SQL
Mono - .Net
.NET 4.0
C# 4.0
ASP.Net 4.0, ASP.Net MVC 1, MVC 2 and MVC3
System.Numerics
Managed Extensibily Framework (MEF)...
Mono - .Net
.NET 4.5
C# 5.0 - async support
Async Base Class Library Upgrade
MVC4 – (að hluta, ekki async)
ASP.NET 4.5 Asy...
Viðmótsforritun með Mono
• Winforms
• Gtk# (GTK+ og GNOME)
• Qyoto
• WX.Net
• MonoCurses
• MonoMac
• iOS
• Android
(og fle...
Gagnagrunnar og Mono
• SQLite
• PostgreSQL
• MySQL
• Sysbase
• Oracle
• SQL Server
Mono C# Shell
Mono desktop

Banshee

F-Spot

Pinta2

Unity3d
MONO Developer
Mono Debug
MONO forritun
MONO forritun - vefur
MONO forritun - vefþjónustur
Mono Framtíðin
• Núverandi útgáfa er 3.2.4
• Það verður fullur stuðningur við .NET 4.0 (Nema WPF)
Xamarin sér um Mono.Andr...
Stýrikerfisnotkun
Android vs. iOS vs. Windows Phone
Xamarin Studio
Áður en þú ferð - spurningar
#Twitter
@gudmundurjon
#LinkedIn
http://www.linkedin.com/in/gudmundurjon
#Bloggið
http://www....
UTMessan 2014 - Same .NET code for Windows, Linux, and OsX
UTMessan 2014 - Same .NET code for Windows, Linux, and OsX
UTMessan 2014 - Same .NET code for Windows, Linux, and OsX
UTMessan 2014 - Same .NET code for Windows, Linux, and OsX
Upcoming SlideShare
Loading in …5
×

UTMessan 2014 - Same .NET code for Windows, Linux, and OsX

535 views

Published on

How to run the same .NET code for Windows, Linux, and OsX

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
535
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
2
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide
  • MonoTouchMonoMacMonoDroidMonoDeveloper IDEMac, Linux, WindowsGit ...(og framvegins)Fullt af librariesLLVM compilerNew Garbage CollectorSharpenMoonlightC# Compiler as a ServiceMono í leikjumMono á serverum
  • UTMessan 2014 - Same .NET code for Windows, Linux, and OsX

    1. 1. Sami .NET kóði fyrir Windows, Linux og Mac OsX Guðmundur Jón Halldórsson http://www.gudmundurjon.net Five Degrees
    2. 2. “There are two types of speakers: those that are nervous and those that are liars” Mark Twain
    3. 3. Mono project – hvað er það? • C# (async, LINQ, dynamic, ...) • F# • Java • Scala • Boo • Nemerle • Visual Basic .NET Mono styður flest mál sem hægt er að compile-a á IL • Python • JavaScript • Oberon • PHP • Object Pascal • LUA • Cobra (meira)
    4. 4. Hvar keyrir Mono project – hvað er það? An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET ... Af því að við viljum nota .Net á Linux • Mono Runtime • Mono IL Contrast (gasnview, ilcontrast, gui-compare, mperfmon, gsharp) • Mono Documentation • MonoDeveloper (C, C++, C#, Vala, Boo, Java, Nemerle, Ilasm, ASP.NET, Mono/GNU Debugger)
    5. 5. Á hverju keyrir Mono • Linux • OS X • BSD • iPhone • Android • PlayStation 3 • Wii • Xbox 360 • Microsoft Windows • x86, x64, ARM, s390, PowerPC, SPARC, IA64
    6. 6. Er allt hægt með Mono • Mono styður allt til og með .NET 4.0 • NEMA WPF, WF og hluta úr WCF • Prófa að keyra Mono Migration Analyzer
    7. 7. Hvað er í Mono pakkanum C# F# VB Java BASE CLASS LIBRARY JS Boo PHP MONO CLASS LIBRARY Core ADO.NET ASP.NET Mono Addins LINQ DLR WCF Mono Unix MONO RUNTIME JIT Lua AOT (Ahead of time compilation) Mono Cecil
    8. 8. Mono - .Net .NET 1.1 C# 1.0 Core Libraries 1.1: mscorelib, System, System.Xml ASP.NET 1.1 ADO.NET 1.1 Winforms/System.Drawing 1.1 System.Transactions System.Management System.EnterpriseServices
    9. 9. Mono - .Net .NET 2.0 C# 2.0 (generics) Core Libraries 2.0: mscorelib, System, System.Xml ASP.NET 2.0 (ekki vefpartar) ADO.NET 2.0 Winforms/System.Drawing 2.0
    10. 10. Mono - .Net .NET 3.0 WCF (Silverlight 2.0 subset) WPF (Ekki ráðgert) WWF (Verður útfært síðar)
    11. 11. Mono - .Net .NET 3.5 C# 3.0 System.Core LINQ ASP.Net 3.5 ASP.Net MVC LINQ to SQL
    12. 12. Mono - .Net .NET 4.0 C# 4.0 ASP.Net 4.0, ASP.Net MVC 1, MVC 2 and MVC3 System.Numerics Managed Extensibily Framework (MEF) Dynamic Language Runtime Client side OData, EntityFramework, Parallel Framework, PLINQ CodeContracts Server-side OData
    13. 13. Mono - .Net .NET 4.5 C# 5.0 - async support Async Base Class Library Upgrade MVC4 – (að hluta, ekki async) ASP.NET 4.5 Async Pipeline
    14. 14. Viðmótsforritun með Mono • Winforms • Gtk# (GTK+ og GNOME) • Qyoto • WX.Net • MonoCurses • MonoMac • iOS • Android (og fleiri ...) • Moonlight (Silverlight)
    15. 15. Gagnagrunnar og Mono • SQLite • PostgreSQL • MySQL • Sysbase • Oracle • SQL Server
    16. 16. Mono C# Shell
    17. 17. Mono desktop Banshee F-Spot Pinta2 Unity3d
    18. 18. MONO Developer
    19. 19. Mono Debug
    20. 20. MONO forritun
    21. 21. MONO forritun - vefur
    22. 22. MONO forritun - vefþjónustur
    23. 23. Mono Framtíðin • Núverandi útgáfa er 3.2.4 • Það verður fullur stuðningur við .NET 4.0 (Nema WPF) Xamarin sér um Mono.Android og Mono.iOs
    24. 24. Stýrikerfisnotkun
    25. 25. Android vs. iOS vs. Windows Phone
    26. 26. Xamarin Studio
    27. 27. Áður en þú ferð - spurningar #Twitter @gudmundurjon #LinkedIn http://www.linkedin.com/in/gudmundurjon #Bloggið http://www.gudmundurjon.net

    ×