1 Reply Latest reply on Jul 15, 2016 8:14 AM by rickjwagner

    Clearing the dust | .NET on RHEL

    tboston

      Hi there,

       

      I have answered this on a post here but wanted to make it a seperate discussion for better handling.

       

      to be honest. It is kind of hard to get all the .NET pieces together since there are Instructions on Github and there we have Instructions on Redhat.

       

      As for the Github instructions. Most of the examples will work but the instructions are already outdated (e.g. version changes from RC to stable, deprecated options).

      Next, when we're using Visual Studio Code you'll, like me, end up with a .Net Debugger error at some point because we don't have the right version of the debugger installed (?).

      That leads us to the Redhat-Instructions where it says that we have to add a new repository and later install 'rh-dotnetcore10' which actually gives me a subscription error later on.

      Also, there are Instructions at Microsoft.

       

      Would anyone please shed some light on this topic?

       

      Cheers,

      Andreas

        • 1. Re: Clearing the dust | .NET on RHEL
          rickjwagner

          Hi Andreas,

          Welcome to .NET on Linux!  As you have noted, things are moving pretty quickly in this space.  But I think we can get a stable environment without too much trouble. 
          Version alignment is critical.  We'll want to make sure we have the same version of .NET, the examples, etc. in place.  So I'd recommend working with Red Hat's .NET Core 1.0.

          The Red Hat installation instructions (same link you provided) should work.  (If they don't, start a discussion on just that problem.  I'm sure it will get ironed out.)
          Once Red Hat's version of .NET Core is up and running (it's easy to validate with 'dotnet new, dotnet restore, dotnet run') you can progress to some of the ASP.NET examples on GitHub-- but be sure to use the tag for 1.0, otherwise that alignment problem will arise!
          I don't have much experience with Visual Studio and .NET Core 1.0 (I like to use VSCode), but I imagine Version alignment will help there, too.  If Visual Studio gives problems, feel free to discuss that here, too.  (Or even open a ticket if you are a Red Hat subscriber or Microsoft subscriber.)

          These are early days for .NET on Linux, but things will pick up steam quickly.  Did you notice the cartoon on DZone just today [1]?
          Enjoy!

          Rick

          [1] Dotnet on Linux [comic] - DZone Java