C# Cross-Platform Tricks: Run ASP.NET Applications On Linux
3.6 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
227 students enrolled
Wishlisted Wishlist

Please confirm that you want to add C# Cross-Platform Tricks: Run ASP.NET Applications On Linux to your Wishlist.

Add to Wishlist

C# Cross-Platform Tricks: Run ASP.NET Applications On Linux

This course will teach you how to get your ASP.NET web applications up and running on a Linux system
3.6 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
227 students enrolled
Created by Mark Farragher
Last updated 4/2017
English
Current price: $10 Original price: $90 Discount: 89% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 4.5 hours on-demand video
  • 2 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Learn how to run ASP.NET applications on Linux
  • Become familiar with popular Linux distributions
  • Which parts of the .NET Framework are implemented in Mono?
  • Build a Linux virtual machine from scratch.
  • The pros and cons of the Mono Framework.
  • Run cross-platform code on Windows and Linux.
  • Migrate ASP.NET applications from Windows to Linux
  • Handy tips for writing cross-platform C# code
  • ... and much more!
View Curriculum
Requirements
  • You need a Windows, Mac or Linux laptop with Microsoft Visual Studio, Xamarin Studio or Monodevelop
  • You should be a beginner, intermediate, or advanced C# developer
  • That's it!
Description

BEST COURSE CHOICE for beginners and intermediate C# developers who want to take their skills to the next level and learn how to run ASP.NET applications on Linux.

In this course I will teach you how to build a Linux virtual machine from scratch, install the Mono Framework, set up a nice integrated development environment, and install and run a couple of ready-made ASP.NET applications.

By the end of the course you will be fluent in running ASP.NET applications on Linux. You will be aware of the scope and power of the Mono Framework, and you will know how to write cross-platform code that runs on Windows and Linux.

Why should you take this course?

You should take this course if you are a beginner or intermediate C# developer and want to learn how to run your code on Linux. This might seem daunting, but all of my lectures are very easy to follow and I explain everything clearly. You'll have no trouble following along.

Or maybe you're working in a startup and need to host your C# apps in the cloud? With the cross-platform tricks in this course you can host your code on a cheap Linux provider.

30 day money-back guarantee

This course comes with an unconditional, Udemy backed, 30-day money-back guarantee. If you are dissatisfied with the course for any reason, simply request a refund and get your full purchase amount back, no questions asked.

Act now

This course today contains over 4 hours of video content. Enroll now to benefit from the current price and get free lifelong access to all future materials.

Who is the target audience?
  • Beginner, intermediate, and advanced C# programmers who want to learn how to run ASP.NET applications on Linux.
  • Developers who are working on a cross-platform application that needs to run on both Windows and Linux.
  • Professionals in a startup needing to host C# code on cheap Linux cloud providers
Students Who Viewed This Course Also Viewed
Curriculum For This Course
34 Lectures
04:20:55
+
Introduction
3 Lectures 15:58
In this lecture I explain how this course is organised and I describe each of the upcoming sections in detail. I'll also tell a bit more about myself, my career, and my motivation to become an online trainer.
Preview 07:36

In this lecture we're going to take a closer look at cross-platform .NET.
Preview 07:00

Background Info - About Me
01:22
+
Installing The Mono Framework On Linux
9 Lectures 01:28:37

Welcome to the Installing The Mono Framework section. I will give a quick introduction on how the section is organized before we get started.

Section Introduction
01:30

A Linux distribution is a combination of a package manager, a software collection, and a graphical desktop environment. There are many Linux distributions out there and picking the right one can be a difficult task.

In this lecture I will show you the most popular Linux distributions, and I will select the most appropriate one to use for the remainder of this course.

A Choice Of Linux Distributions
13:05

A virtual machine is a software application that simulates a hardware environment. You can install a complete operating systems into a virtual machine, and this allows you to run one operating system on top of another.

In this lecture I will show you the most popular virtual machine applications for Windows, OS/X and Linux, and I will select the most appropriate one to use for the remainder of this course.

A Choice Of Virtual Machines
07:54

In this lecture I will create a new Virtualbox virtual machine, and configure it for the upcoming Linux installation in the next lecture. I'll show you how you can configure the virtual machine for optimal performance.

Preview 15:08

I will perform a complete installation of the Ubuntu Server Linux distribution into the virtual machine that I set up in the previous lecture.

Installing Ubuntu Server
16:51

After completing the Ubuntu Server installation from the previous lecture, I am left with a very basic command line interface. This might surprise you, because I announced earlier that Ubuntu has a graphical user interface.

In this lecture I will explain the Linux architecture to you, and tell you exactly why the Linux installation did not produce a graphical desktop environment.

The Linux Architecture
11:36

In this lecture I will guide you through a complete installation of the Mono Framework.

Installing The Mono Framework
09:18

We finally have a complete installation of Ubuntu Linux and the Mono Framework, so now it's time to test if the installation has completed successfully.

I will write, build and run a very simple Hello World application, to test if the C# compiler and the Mono Runtime Environment is working correctly.

Compiling And Running A Simple Application
10:28

Congratulations on finishing this section. This is a recap of what we have learned.

Section Recap
02:47

Installing The Mono Framework On Linux
7 questions
+
Mono On Linux vs .NET On Windows
6 Lectures 45:08

Welcome to the Mono On Linux vs .NET On Windows section. I will give a quick introduction on how the section is organized before we get started.

Section Introduction
01:22

The Mono Framework is on par with .NET version 4.5, and provides 99% compatibility with the Microsoft Framework. So what's in the missing 1%?

In this lecture I will show you which modules, subsystems and libraries in Microsoft .NET are completely missing or only partially implemented in the Mono Framework.

The Limitations Of The Mono Framework
09:18

A big difference between the Windows and Linux filesystems is that Linux uses a forward slash as a folder separator, while Windows uses the backslash character.

In this lecture I will show you the consequences this has for your code, and how you can write cross-platform code that will work perfectly on both Windows and Linux.

Preview 11:52

Another big difference between the Windows and Linux filesystems is that the Linux filesystem is case sensitive, while the Windows filesystem is case insensitive.

In this lecture I will show you the consequences this has for your code, and how you can write cross-platform code that will work perfectly on both Windows and Linux.

The Linux Filesystem Is Case Sensitive
07:15

The directory structure of Linux is totally different from Windows. There is no Windows, System32 or Program Files folder. So how do you access special folders?

I'll show you how you can avoid hardcoding absolute folders and write truly cross-platform code by dynamically generating special folder paths in your code.

You Cannot Use Absolute Paths
12:12

Congratulations on finishing this section. This is a recap of what we have learned.

Section Recap
03:09

Mono On Linux vs .NET On Windows
4 questions
+
Installing MonoDevelop On Linux
7 Lectures 52:57

Welcome to the Installing MonoDevelop On Linux section. I will give a quick introduction on how the section is organized before we get started.

Section Introduction
01:42

In this lecture I am going to install the graphical Unity desktop.

Installing The Ubuntu Desktop
10:08

In this lecture I am going to install the Virtualbox extensions. These are special Ubuntu kernel modules that boost graphics performance and improve the interoperability between Ubuntu and my OS/X host.

Installing The Virtualbox Extensions
06:58

The Unity desktop is very user friendly, but it can be a bit confusing if you have never seen it before. In this lecture I'll give you a quick walkthrough of the desktop and demonstrate some of the standard Linux applications.

A Walkthrough Of The Ubuntu Desktop
13:01

To really get productive on Linux you're going to need a professional integrated development environment on par with Visual Studio. MonoDevelop is not Visual Studio, but it comes pretty close. It offers intellisense, code completion, smart refactoring, integrated debugging, and supports C#, VB.NET and F# out of the box.

In this lecture I will perform a complete installation of MonoDevelop.

Installing MonoDevelop
06:07

To verify the MonoDevelop installation in the previous lecture I will revisit the Hello World application. I will write the application again, but this time I'll do everything from inside MonoDevelop.

Preview 12:59

Congratulations on finishing this section. This is a recap of what we have learned.

Section Recap
02:02

Installing MonoDevelop On Linux
5 questions
+
Running ASP.NET Applications On Linux
7 Lectures 54:50
Welcome to the Running ASP.NET Applications On Linux section. I will give a quick introduction on how the section is organized before we get started.
Section Intro
00:51

When I installed the Mono Framework I used a package called 'mono-complete', but strangely enough this did not include the Mono webserver. So in this lecture I will manually install the XSP4 webserver so that I can finally start running ASP.NET applications on Linux.

Installing The XSP4 Webserver
06:06

The first application I am going to install and run on Linux is the REST File Service example from the ServiceStack website. This application implements a simple REST interface for viewing and editing files and folders on a server.

I will show you exactly what's required to get this application running on Linux.

A REST File Service On Linux
11:31

The Razor Rockstars demo is a very popular ServiceStack example that uses a combination of Razor MVC viewpages and static Markdown files to implement a catalog of rockstar profiles.

I will show you how to get this project running on Linux.

Preview 08:55

My third ASP.NET application is an email contact manager that uses a SQLLite database to maintain a list of email addresses and keep track of emails sent to these addresses. The application can send emails directly or defer delivery to an asynchronous RabbitMQ server.

I will show you what you need to do to get this application running on Linux.

An Email Contact Manager On Linux
09:31

Northwind is a famous Microsoft Access database that contains the company data of a fictional organisation. In this lecture I am going to use a SQLLite copy of the Northwind data, and I'll show you an ASP.NET application that can view, filter, and sort this data in interesting ways.

I will show you exactly what you need to do to get this application running on Linux.

The Northwind Database Viewer On Linux
15:11

Congratulations on finishing this section. This is a recap of what we have learned.

Section Recap
02:45

Running ASP.NET Applications On Linux
5 questions
+
Final Words
2 Lectures 03:49

In this lecture I would like to thank you for finishing the course and offer some final words.

Course Recap
01:57

Check out my promotional discounts and freebies here. 

Bonus Lecture
01:52
About the Instructor
Mark Farragher
4.4 Average rating
1,106 Reviews
6,639 Students
11 Courses
Microsoft Certified Trainer - 1000+ reviews, 4.4 rating

My IT career spans 2 decades and I've worn many different hats over the years. I am a serial entrepreneur and have launched two startups in The Netherlands. 

I started using C# and the .NET framework 15 years ago. Today I live in Barcelona and spend my time creating online courses to share my knowledge of professional C# programming with a wide audience.

I have active MCSA and MCSD certifications plus legacy MCAD and MCT certifications. You can verify my credentials on my LinkedIn profile. 

Feel free to check out my course ratings before enrolling. As of today I have 10 published courses, 900+ reviews, and a recent average course rating of 4.5.