Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Quick Introduction of .NET Core 2.0

<p>&nbsp;</p> <quillbot-extension-portal></quillbot-extension-portal>

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

    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

    • Best Practice Configuration and Tuning for Linux and Windows VMs

    • Red Hat UBI 8 builders have been promoted to the Paketo Buildpacks organization

    • Using eBPF in Red Hat products

    • How we made one data layer serve the UI, the mocks, and the E2E tests

    • Build trusted Python containers with Project Hummingbird and Calunga

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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