Adding Aspire to an existing app
We all love green-field projects, but the reality is that most of the time we’re working with existing code. Aspire would not be very interesting if it only worked from scratch, but fortunately, you can add Aspire to existing applications.
We could add Aspire to our car application, but once again, Microsoft assists, providing a reasonably complex application for us to work with. To get started, clone their application by using the following command:
git clone https://github.com/MicrosoftDocs/mslearn-dotnet-cloudnative-devops.git eShopLite
This sample consists of three projects:
- Data Entities is a class library that defines the
Product
class Products
is a web API that returns a list of all the Products in the store’s catalogStore
is a Blazor web app that displays the products on a website
Note that we will not be focusing on Blazor. We will use it only as far as it is part of this example