how to port your .net applications to linux using mono tools for visual studio

18
How to Port Your .NET Applications to Linux Using Mono Tools for Visual Studio Joseph Hill Product Manager, Mono Platform [email protected]

Upload: novell

Post on 12-May-2015

5.491 views

Category:

Documents


6 download

DESCRIPTION

For many .NET developers today, the learning curve to port applications to Linux is prohibitively high. Now using Mono Tools for Microsoft Visual Studio, you can quickly and easily port your .NET applications to Linux, UNIX and Mac OS X, from entirely within your Visual Studio integrated development environment. You can also use it to build .NET software appliances. Attend this session to learn how you, too, can use Mono Tools for Visual Studio to fulfill your cross-platform needs, build .NET software appliances, and run your .NET applications on Linux using SUSE Linux Enterprise Mono Extension.

TRANSCRIPT

How to Port Your .NET Applications to LinuxUsing Mono Tools for Visual Studio

Joseph HillProduct Manager, Mono [email protected]

What Is Mono?

© Novell, Inc. All rights reserved.3

SUSE® Linux Enterprise Mono ExtensionOverview

• A .NET application framework that allows you to run .NET-based applications on SUSE Linux Enterprise Server

• Advantages– Run .NET applications on Linux (including ASP.NET)

.

– Mainframe support for .NET applications– Performance and scalability advantages over Windows– Target Linux from Visual Studio

• Develop anywhere – Deploy anywhere– Includes a toolchain for Linux– Runtime is binary-compatible with .NET on Windows

© Novell, Inc. All rights reserved.4

Multi-Language, Multi-Platform

C#

JavaScript

Visual Basic

Java

IronPython

IronRuby

Boo

F#

© Novell, Inc. All rights reserved.5

Multi-Language, Multi-Platform

C#

JavaScript

Visual Basic

Java

IronPython

IronRuby

Boo

F#

© Novell, Inc. All rights reserved.6

Binary Compatible

DemoPublishing ASP.NET to Linux

© Novell, Inc. All rights reserved.8

• December 2009

– ASP.NET 3.5sp1

> ASP.NET AJAX, ASP.NET MVC

– ADO.NET 2.0+

> SQL Server, PostgreSQL, SQLite

> 3rd party providers for MySQL, Sybase, DB2, Oracle, etc

> LINQ to SQL

– Windows.Forms 3.5sp1

– C# 3.0

Mono 2.6

DemoTelerik Running on Mono

Helping You Get There

© Novell, Inc. All rights reserved.11

• Inspects CIL byte code

• Looks for uses, compares with implementation

– Missing methods– Unmanaged Calls– “Todo” methods (flagged

with an attribute)

w

• MoMA is the best place to start; full report of how easy your existing app will be to migrate

http://www.mono-project.com/Moma

Mono Migration Analyzer (MoMA)

© Novell, Inc. All rights reserved.12

MoMA integration

Run in Mono

Debug Mono applications running on Linux

Package for Linux

Build appliance

Mono Tools for Visual StudioFeatures

DemoDebugging on Linux

© Novell, Inc. All rights reserved.14

Package for SUSE®

© Novell, Inc. All rights reserved.15

Create Linux Appliance

© Novell, Inc. All rights reserved.16

Create Linux Appliance

Unpublished Work of Novell, Inc. All Rights Reserved.This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc. Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.

General DisclaimerThis document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. Novell, Inc. makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for Novell products remains at the sole discretion of Novell. Further, Novell, Inc. reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.