Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/apim-rate-limiting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get apim-rate-limiting`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/presets/apim-rate-limiting/apim-rate-limiting.json"`
- Get the preset using Dev Proxy by running `devproxy config get apim-rate-limiting`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/config/apim-rate-limiting/apim-rate-limiting.json"`

## Features

Expand Down
6 changes: 3 additions & 3 deletions samples/demo-apicenter-minimalpermissions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Version|Date|Comments

- Create Azure API Center instance
- Get the API Center instance name, resource group name and subscription ID
- Get the preset using Dev Proxy by running `devproxy preset get demo-apicenter-minimalpermissions`
- Navigate to the Dev Proxy installation folder, and open the `presets/demo-apicenter-minimalpermissions` folder
- Get the preset using Dev Proxy by running `devproxy config get demo-apicenter-minimalpermissions`
- Navigate to the Dev Proxy installation folder, and open the `config/demo-apicenter-minimalpermissions` folder
- In the `devproxyrc.json` file, in the `apiCenterMinimalPermissionsPlugin` update the API Center information
- In API Center, create a new API and import the OpenAPI spec from the `api.northwind.com.json` file
- Start Dev Proxy by running `devproxy --config-file "~appFolder/presets/demo-apicenter-minimalpermissions/devproxyrc.json" --record`
- Start Dev Proxy by running `devproxy --config-file "~appFolder/config/demo-apicenter-minimalpermissions/devproxyrc.json" --record`
- In VSCode, open the `northwind.http` file and run the requests to the API
- In the terminal where Dev Proxy is running, press `s` to stop recording
- Dev Proxy will generate a report of the minimal permissions needed to call the API
Expand Down
6 changes: 3 additions & 3 deletions samples/demo-m365-randomerror-js/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get demo-m365-randomerror-js`
- Navigate to the Dev Proxy installation folder, and open the `presets/demo-m365-randomerror-js` folder
- Get the preset using Dev Proxy by running `devproxy config get demo-m365-randomerror-js`
- Navigate to the Dev Proxy installation folder, and open the `config/demo-m365-randomerror-js` folder
- Create a new Entra app registration (instructions below)
- Start the sample app by running `npx lite-server`
- Start Dev Proxy with the Microsoft 365 preset by running `devproxy -c "~appFolder/presets/m365.json"`
- Start Dev Proxy with the Microsoft 365 preset by running `devproxy -c "~appFolder/config/m365.json"`
- In a web browser, navigate to `http://localhost:3000` and interact with the sample app to see how it handles random errors

### <a id="appreg">Configure Azure AD App Registration</a>
Expand Down
4 changes: 2 additions & 2 deletions samples/demo-openapispec-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get demo-openapispec-js`
- Navigate to the Dev Proxy installation folder, and open the `presets/demo-openapispec-js` folder
- Get the preset using Dev Proxy by running `devproxy config get demo-openapispec-js`
- Navigate to the Dev Proxy installation folder, and open the `config/demo-openapispec-js` folder
- Start the sample app and Dev Proxy by running `npm start`
- After Dev Proxy starts, press `r` to start recording
- In a web browser, navigate to `http://localhost:3000` and interact with the sample app to generate some activity
Expand Down
4 changes: 2 additions & 2 deletions samples/demo-randomerror-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get demo-randomerror-js`
- Navigate to the Dev Proxy installation folder, and open the `presets/demo-randomerror-js` folder
- Get the preset using Dev Proxy by running `devproxy config get demo-randomerror-js`
- Navigate to the Dev Proxy installation folder, and open the `config/demo-randomerror-js` folder
- Start the sample app and Dev Proxy by running `npm start`
- In a web browser, navigate to `http://localhost:3000` and interact with the sample app to see how it handles random errors

Expand Down
4 changes: 2 additions & 2 deletions samples/learn-copilot-me-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get learn-copilot-me-plugin`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/presets/learn-copilot-me-plugin/products-api-config.json"`
- Get the preset using Dev Proxy by running `devproxy config get learn-copilot-me-plugin`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/config/learn-copilot-me-plugin/products-api-config.json"`
- Follow along with the [Connect Copilot for Microsoft 365 to your external data in real-time with message extension plugins built with .NET and Visual Studio](https://learn.microsoft.com/training/modules/copilot-message-extension-plugins/) learn module

## Features
Expand Down
4 changes: 2 additions & 2 deletions samples/learn-msgraph-toolkit-intro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get learn-msgraph-toolkit-intro`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/presets/learn-msgraph-toolkit-intro/devproxyrc.json"`
- Get the preset using Dev Proxy by running `devproxy config get learn-msgraph-toolkit-intro`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/config/learn-msgraph-toolkit-intro/devproxyrc.json"`
- Follow along with the [Get started with Microsoft Graph Toolkit](https://learn.microsoft.com/training/modules/msgraph-toolkit-intro/) learn module

## Help
Expand Down
4 changes: 2 additions & 2 deletions samples/northwinddb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get northwinddb`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/presets/northwinddb/northwind.json"`
- Get the preset using Dev Proxy by running `devproxy config get northwinddb`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/config/northwinddb/northwind.json"`

## Features

Expand Down
4 changes: 2 additions & 2 deletions samples/paypal-random-errors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset, by running `devproxy preset get paypal-random-errors`
- Start Dev Proxy with the preset, by running `devproxy --config-file "~appFolder/presets/paypal-random-errors/devproxyrc.json"`
- Get the preset, by running `devproxy config get paypal-random-errors`
- Start Dev Proxy with the preset, by running `devproxy --config-file "~appFolder/config/paypal-random-errors/devproxyrc.json"`

## Features

Expand Down
4 changes: 2 additions & 2 deletions samples/sharepoint-api-minimal-permissions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Version|Date|Comments

## Minimal path to awesome

- Get the preset using Dev Proxy by running `devproxy preset get sharepoint-api-minimal-permissions`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/presets/sharepoint-api-minimal-permissions/devproxyrc.json" --env tenant=your-tenant-name`. `your-tenant-name` is the name of your Microsoft 365 tenant without `.onmicrosoft.com`, for example `contoso`.
- Get the preset using Dev Proxy by running `devproxy config get sharepoint-api-minimal-permissions`
- Start Dev Proxy with the config file, by running `devproxy --config-file "~appFolder/config/sharepoint-api-minimal-permissions/devproxyrc.json" --env tenant=your-tenant-name`. `your-tenant-name` is the name of your Microsoft 365 tenant without `.onmicrosoft.com`, for example `contoso`.
- Call SharePoint APIs.
- Stop recording, by pressing `s` in the Dev Proxy session.
- Check out the output in the console and the generated reports for the minimal permissions required by the SharePoint APIs you called.
Expand Down
4 changes: 2 additions & 2 deletions samples/simulate-azure-openai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Version|Date|Comments

## Minimal path to awesome

- Download the preset using Dev Proxy by running: `devproxy preset get simulate-azure-openai`
- Download the preset using Dev Proxy by running: `devproxy config get simulate-azure-openai`
- Start Ollama with the llama3.2 model: `ollama run llama3.2`
- Start Dev Proxy specifying the path to the config file: `devproxy --config-file "~appFolder/presets/simulate-azure-openai/simulate-azure-openai.json"`
- Start Dev Proxy specifying the path to the config file: `devproxy --config-file "~appFolder/config/simulate-azure-openai/simulate-azure-openai.json"`
- Use your app

## Features
Expand Down
4 changes: 2 additions & 2 deletions samples/simulate-openai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Version|Date|Comments

## Minimal path to awesome

- Download the preset using Dev Proxy by running: `devproxy preset get simulate-openai`
- Download the preset using Dev Proxy by running: `devproxy config get simulate-openai`
- Start Ollama with the llama3.2 model: `ollama run llama3.2`
- Start Dev Proxy specifying the path to the config file: `devproxy --config-file "~appFolder/presets/simulate-openai/simulate-openai.json"`
- Start Dev Proxy specifying the path to the config file: `devproxy --config-file "~appFolder/config/simulate-openai/simulate-openai.json"`
- Use your app

## Features
Expand Down