Update instructions_to_run_generated_code.md

This commit is contained in:
Ashita Prasad
2025-01-18 23:41:19 +05:30
committed by GitHub
parent 26a80e5d80
commit 37b6c02e9b

View File

@ -45,7 +45,6 @@ TODO
Here are the detailed instructions for running the generated API Dash code in C# (using `HttpClient`) for macOS, Windows, and Linux: Here are the detailed instructions for running the generated API Dash code in C# (using `HttpClient`) for macOS, Windows, and Linux:
### 1. Setting Up the C# Development Environment ### 1. Setting Up the C# Development Environment
#### macOS and Windows: #### macOS and Windows:
1. **Install .NET SDK:** 1. **Install .NET SDK:**
@ -57,7 +56,6 @@ Here are the detailed instructions for running the generated API Dash code in C#
dotnet --version dotnet --version
``` ```
#### Linux: #### Linux:
1. **Install .NET SDK:** 1. **Install .NET SDK:**
- Run the following commands based on your distribution: - Run the following commands based on your distribution:
@ -76,7 +74,7 @@ Here are the detailed instructions for running the generated API Dash code in C#
dotnet --version dotnet --version
``` ```
### 2. Preparing HttpClient ### 2. Preparing a Project
#### In Visual Studio: #### In Visual Studio:
1. **Create a New Project:** 1. **Create a New Project:**
@ -105,9 +103,6 @@ Once you have .NET(C#) and `HttpClient` installed, follow these steps to execute
2. **Copy the generated code** 📋 from API Dash. 2. **Copy the generated code** 📋 from API Dash.
3. **Paste the code** into your project. ex) prgoram.cs 3. **Paste the code** into your project. ex) prgoram.cs
### 4. Running the Project
#### In Visual Studio: #### In Visual Studio:
1. Click the **Start Debugging (F5)** button from the top menu to run the project. 1. Click the **Start Debugging (F5)** button from the top menu to run the project.
2. The output window will display the API response. 2. The output window will display the API response.
@ -118,10 +113,6 @@ Once you have .NET(C#) and `HttpClient` installed, follow these steps to execute
dotnet run dotnet run
``` ```
## C# (RestSharp) ## C# (RestSharp)
TODO TODO