kevinhakanson.com

C# and .NET without Windows or Visual Studio

November 13, 2014 #csharp #dotnet #opensource

If you didn’t hear about the open sourcing of .NET announced at Microsoft’s Connect(); event, read Microsoft takes .NET open source and cross-platform, adds new development capabilities with Visual Studio 2015, .NET 2015 and Visual Studio Online or Announcing .NET 2015 - .NET as Open Source, .NET on Mac and Linux, and Visual Studio Community - Scott Hanselman.

To celebrate, I did this:

HelloMvc$ k kestrel

Started

But, what is that?  It is a ASP.NET MVC application running on my Mac using the aspnet/KestrelHttpServer web server.  Want to try it yourself?  Instructions for setup are at aspnet/Home · GitHub.

I also installed Sublime Text 3 and OmniSharp - Cross platform .NET development by OmniSharp. (also see Jonathan Channon Blog - Microsoft Endorsing C# as a First Class Citizen in Sublime Text)

Those are developer focused details, but what does this mean at an enterprise level? I’ve extracted some quotes from the Dr. Dobb’s article C# and .NET’s Sudden Ubiquity:

  • Of these platforms, Linux is clearly the most important…enterprises will be able to run the applications without having to add in the cost of Microsoft Server licenses.
  • The big winners of all this goodness are C# developers.
  • The big loser is certainly Java.
  • For years, C# has been an attractive language for developers, but blocked in wider adoption by its inability to run on more than Windows.

Not sure when it will happen at my company, but I see services written in C# and .NET running on Linux in our future.


Kevin Hakanson

Multi-Cloud Certified Architect | DevSecOps | AppSec | Web Platform | Speaker | Learner | Builder
Twitter | LinkedIn | GitHub | Stack Overflow | Credly

© 2024 Kevin Hakanson (built with Gatsby)