Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 3.04 KB

README.md

File metadata and controls

65 lines (54 loc) · 3.04 KB

Welcome to Yarp Sample Solution

Architectural Diagram

image

Prerequisites

 

1. Clone the repo at YarpSampleSolution. or use the following git command

 git clone https://github.com/ozairashfaqueSSW/YarpSampleSolution.git

2. Node.js (https://nodejs.org)

RECOMMENDED VERSION: 20.10.0 - While previous versions may not work  

2. Node Package Manager (NPM)

RECOMMENDED VERSION: 10 ^ - The recommended version of NPM is 10 and above. This comes bundled with the previous Node.js installation.

  • Ensure you are running the recommended version of NPM by opening a console and entering:

    npm -v

  • If do not have a version of NPM 10 or above, you can install the latest version by opening a console and running the command:

    npm install -g npm@latest  

3. Angular CLI (https://cli.angular.io/)

  • The Angular CLI is a command line tool used to help build and run the Angular Front End application.
  • You can check if Angular CLI is already installed by running the command

    npm -v

  • If Angular CLI isn't currently installed, you can run the following command to install the latest version of Angular CLI that works with Node.js (the last Node.js version tested is v20.10.0):

    npm install -g @angular/cli@latest  

4. Required SDK's

Please ensure all of the below SDK's are installed. To check what SDK's are currently installed you can run dotnet --list-sdks. Example:

   C:\>dotnet --list-sdks

   3.1.101 [C:\Program Files\dotnet\sdk]
   8.0.100 [C:\Program Files\dotnet\sdk]

.NET Core 3.1 SDK

.NET 8.0 SDK

The F5 Experience:

Angular Serve:

  1. Open the directory AngularUI in terminal or command prompt.
  2. Execute npm run serve or ng serve image
  3. Ignore the above address.

.Net:

  1. Open the solution properties
  2. Check the "Multiple startup projects" option
  3. Set WebApp.Legacy (.NET core 3.1), WebApp (.NET 8), and Yarp.Gateway (.NET 8) Action option to Start. image