Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Quick Introduction of .NET Core 2.0

 

August 22, 2017
Don Schenck
Related topics:
.NET
Related products:
Developer Tools

Share:

    If you've been in IT for more than just a few years, you've probably heard the phrase "Wait until the third release" before jumping into a new technology or product. Well, .NET Core had version 1.0 and version 1.1. So here it is, the third release: Introducing .NET Core 2.0. And believe me, now is the time to jump on this bandwagon.

    You Get An API, Everyone Gets An API

    What's the big deal about .NET Core 2.0? Well for starters, about how nearly 20,000 more APIs, an increase from about 13,000 to 32,000. Those 32,000 represent a 70 percent coverage of the APIs used by projects in NuGet.org. What does this mean for you? It means there is a much better chance that your existing .NET Framework class libraries will work with .NET Core 2.0.

    Want to find out? Microsoft has an easy-to-use tool, APIPort, that you can use to check your existing code. To give you an example of this, I selected a rather large library to check using APIPort: the Rackspace .NET SDK for OpenStack. The result? It scored a 100 percent compatible rating.

    That is one of the things .NET Core 2.0 brings to the table.

    I Got A Need For Speed

    Want performance? .NET Core 2.0 is the fastest .NET ever. You can view some test results here, here, and here. Suffice it to say, when it comes to performance improvements, business is booming.

    Standards and .NET Everywhere

    .NET Core 2.0 supports .NET Standard 2.0. .NET Standard is not an API; rather, it's a specification. Much like HTML5 is a specification, and browsers are written to support it, likewise .NET Standard is specification. .NET Core 2.0 is compatible with .NET Standard.

    What does that mean? How about this: By writing your libraries to the .NET Standard 2.0 specification, they can run anywhere: .NET Core, MONO, .NET Framework. Yes, truly portable code across all devices and operating systems supported by the .NET family.

    There are some changes that you'll notice immediately as well.

    Save Some Keystrokes

    The first time you run dotnet new, you'll notice that dotnet restore is run automatically. Starting with .NET Core 2.0, dotnet restore is an implicit command. That is, it will run when necessary, automagically. It can be disabled by using the --disable-restore flag.

    Visual Basic and Microservices?

    Visual Basic is now supported. Given that a large number of enterprises have a significant investment in VB code, this is a huge win for .NET Core 2.0. Whether you are a fan of VB or not, say it with me: "Microservices written in Visual Basic". Yes, it's coming.

    Less Code Means More

    Your "project" files are now much smaller and easier to understand, especially for ASP.NET MVC applications. For example, to reference all the necessary bits for an MVC application requires only one additional line your project file (Hint: Fire up .NET Core 2.0, type dotnet new mvc, and look at the *.csproj file).

    Get It Today

    This is just a quick peek into all the goodness that is .NET Core 2.0. Now is the time to get it installed on your Red Hat Enterprise Linux (RHEL) machine and start coding. After all, this is the third release (1.0, 1.1, 2.0), and third time's a charm.

    What? You don't have a RHEL virtual machine running on your Windows PC or Mac? Jump over to the Red Hat Developers Site and grab a zero-cost copy of the Red Hat Enterprise Linux pronto. You'll be coding .NET on RHEL in minutes.

    You have RHEL but don't have .NET Core 2.0 installed? You will find the installation instructions here.

    Last updated: February 6, 2024

    Recent Posts

    • Splitting OpenShift machine config pool without node reboots

    • Node.js 20+ memory management in containers

    • Integrate incident detection with OpenShift Lightspeed via MCP

    • One model is not enough, too many models is hard: Technical deep dive

    • What's new in Ansible Automation Platform 2.6

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue