Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 3.92 KB

File metadata and controls

68 lines (41 loc) · 3.92 KB

Setting up your environment

This workshop is designed to help you modernize .NET applications.

Everything from modernizing code from .NET Framework to a modern .NET, getting all that code ready for the cloud with microservices and .NET Aspire, and even adding in a sprinkling of AI.

But before we get to all that we need to install some tools.

.NET Upgrade Tool

📝 Tooling and frameworks

For the rest of this workshop you're going to need some tooling and frameworks that you may or may not already have.

The workshop is broken up into 2 parts:

  • Part 1: Modernizing .NET Framework code into modern .NET
  • Part 2: Preparing for the cloud

We'll provide starter solutions for each part - so if you want to jump right into Part 2 on preparing for the cloud, you can skip installing all the stuff needed for Part 1.

Requirements all-up

  • .NET 9 SDK : The latest version of the .NET SDK that you'll need for development.
  • Visual Studio with the web workload installed.

Requirements for part 1 - modernizing code

Requirements part 2 - modernizing for the cloud

📚 Installing the upgrade assistants

Let's walk through installing the upgrade assistants. The instructions are the same for whether you want to install the .NET Upgrade Assistant or the GitHub Copilot app modernization - you only have to change what you search for.

  1. Open Visual Studio

  2. Go to the menu bar and select Extensions > Manage Extensions.

  3. Select the Browse tab and search for .NET Upgrade Assistant or GitHub Copilot App Modernization

  4. Click the Install button to install the extension.

    Visual Studio Installation

  5. Close Visual Studio to install the extension

    • Once the extension finishes downloading, close Visual Studio to automatically start the installation.
  6. A window will appear prompting to install the the extension, click Install.

    Modify Installation

Validation

  1. Open Visual Studio and check if the extension is enabled by going to Extensions > Manage Extensions > Installed and you should see the extension's name.
  2. Or right-click on any .NET or .NET Framework project in Solution Explorer and check for an Upgrade menu item.

← Back to the overall workshop | Next: Upgrade .NET applications →