DotNet MVC Single Page Application Take Two!

Shortly after writing my last post I started thinking of better ways to create a DotNet MVC Single Page application. So here it is.

First I tried translating this to Dot Net Core but unfortunately it doesn’t have a method for Request.IsAjaxRequest() and I’m not ninja enough to write my own yet (although I did try) so this example remains in C# Dot Net MVC 4.5.2.

Continue reading

.Net Core Hello World Console App (in Ubuntu 16.04)

Because every new framework needs another “Hello World!”

I’ve been forcing myself to try and learn this new .Net Core and in the past I’ve wrote about writing C# code on Windows and running it in Linux using the Mono framework and recently I wrote about using .Net Core with Yeoman to start an MVC application.

This however is a much simpler example to start understanding the .Net Core framework.

Continue reading

How To: Compile C# App in Visual Studio for Linux

For those who don’t know C# is a Microsoft language and Visual Studio is a Microsoft IDE or Integrated Development Environment.

Due to Microsoft’s history of being a very proprietary closed-source company there’s a bit of a perception that you wouldn’t be able to compile Applications written in C# and run them in the Open Source world of Linux but I’m going to show you just how easy this has become with a very basic hello world example.

Continue reading