diff --git a/samples/apim-rate-limiting/README.md b/samples/apim-rate-limiting/README.md index 510a056..ed844b6 100644 --- a/samples/apim-rate-limiting/README.md +++ b/samples/apim-rate-limiting/README.md @@ -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 diff --git a/samples/demo-apicenter-minimalpermissions/README.md b/samples/demo-apicenter-minimalpermissions/README.md index edb8244..737ad5c 100644 --- a/samples/demo-apicenter-minimalpermissions/README.md +++ b/samples/demo-apicenter-minimalpermissions/README.md @@ -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 diff --git a/samples/demo-m365-randomerror-js/readme.md b/samples/demo-m365-randomerror-js/readme.md index f499405..cf99338 100644 --- a/samples/demo-m365-randomerror-js/readme.md +++ b/samples/demo-m365-randomerror-js/readme.md @@ -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 ### Configure Azure AD App Registration diff --git a/samples/demo-openapispec-js/README.md b/samples/demo-openapispec-js/README.md index ac60a7b..e29ff12 100644 --- a/samples/demo-openapispec-js/README.md +++ b/samples/demo-openapispec-js/README.md @@ -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 diff --git a/samples/demo-randomerror-js/README.md b/samples/demo-randomerror-js/README.md index dd84340..a1a0a8f 100644 --- a/samples/demo-randomerror-js/README.md +++ b/samples/demo-randomerror-js/README.md @@ -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 diff --git a/samples/learn-copilot-me-plugin/README.md b/samples/learn-copilot-me-plugin/README.md index d3569bc..ffa87c5 100644 --- a/samples/learn-copilot-me-plugin/README.md +++ b/samples/learn-copilot-me-plugin/README.md @@ -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 diff --git a/samples/learn-msgraph-toolkit-intro/README.md b/samples/learn-msgraph-toolkit-intro/README.md index a212fee..04e1bf6 100644 --- a/samples/learn-msgraph-toolkit-intro/README.md +++ b/samples/learn-msgraph-toolkit-intro/README.md @@ -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 diff --git a/samples/northwinddb/README.md b/samples/northwinddb/README.md index 46cc548..e7be012 100644 --- a/samples/northwinddb/README.md +++ b/samples/northwinddb/README.md @@ -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 diff --git a/samples/paypal-random-errors/README.md b/samples/paypal-random-errors/README.md index 2cdec21..f338814 100644 --- a/samples/paypal-random-errors/README.md +++ b/samples/paypal-random-errors/README.md @@ -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 diff --git a/samples/sharepoint-api-minimal-permissions/README.md b/samples/sharepoint-api-minimal-permissions/README.md index 05e23f3..ded1705 100644 --- a/samples/sharepoint-api-minimal-permissions/README.md +++ b/samples/sharepoint-api-minimal-permissions/README.md @@ -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. diff --git a/samples/simulate-azure-openai/README.md b/samples/simulate-azure-openai/README.md index 7b6b48b..dad74c3 100644 --- a/samples/simulate-azure-openai/README.md +++ b/samples/simulate-azure-openai/README.md @@ -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 diff --git a/samples/simulate-openai/README.md b/samples/simulate-openai/README.md index bf4e046..bf4650c 100644 --- a/samples/simulate-openai/README.md +++ b/samples/simulate-openai/README.md @@ -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