Ocelot.ConfigEditor
2.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Ocelot.ConfigEditor --version 2.0.0
NuGet\Install-Package Ocelot.ConfigEditor -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ocelot.ConfigEditor" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ocelot.ConfigEditor --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ocelot.ConfigEditor, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ocelot.ConfigEditor as a Cake Addin #addin nuget:?package=Ocelot.ConfigEditor&version=2.0.0 // Install Ocelot.ConfigEditor as a Cake Tool #tool nuget:?package=Ocelot.ConfigEditor&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Ocelot.ConfigEditor
A configuration editor for Ocelot (https://github.com/TomPallister/Ocelot)
Authorization
There are two ways to authorize access to the config editor. The authorization types are:
- Localhost (default)
- Authenticating against a third party identity service. Currently, AzureAD, Google, and Open Id Connect are configured.
Enable Azure AD Authentication
- Sign into Azure Portal
- Click Azure Active Directory
- Click App registrations (Preview)
- Click New registration
- Add Name and change Supported account types if required. Add Redirect URI
Enable Google Authentication
- Create a new project through Google APIs
- In the Library page page, find Google+ API
- Click create credentials
- Choose, Google+ API, Web server, and User data
- Click "What credentials do I need?"
- Create an OAuth 2.0 client ID
- Enter Authorized redirect URIs which is https://{url}:{port}/signin-google
- Click Create client ID and set up the OAuth 2.0 consent screen
- Click continue
- Click Download on Download credentials to download Client and Secret Id
Enable Open Id Connect Authentication
Configure with Azure Active Directory
- Set up a new Azure Active Directory (AAD) in your Azure Subscription
- Open the newly created AAD in Azure web portal
- Navigate to the Applications tab
- Add a new Application to the AAD. Set the "Sign-on URL" to sample application's URL
- Navigate to the Application, and click the Configure tab
- Find and save the "Client Id"
- Add a new key in the "Keys" section. Save value of the key, which is the "Client Secret"
- Click the "View Endpoints" on the drawer, a dialog will shows six endpoint URLs. Copy the "OAuth 2.0 Authorization Endpoint" to a text editor and remove the "/oauth2/authorize" from the string. The remaining part is the authority URL. It looks like https://login.microsoftonline.com/<guid>
Configure with Google Identity Platform
- Create a new project through Google APIs
- In the sidebar choose "Credentials"
- Navigate to "OAuth consent screen" tab, fill in the project name and save
- Navigate to "Credentials" tab. Click "Create credentials". Choose "OAuth client ID"
- Select "Web application" as the application type. Fill in the "Authorized redirect URIs" with https://{url}:{port}/signin-oidc
- Save the "Client ID" and "Client Secret" shown in the dialog
- The "Authority URL" for Google Authentication is https://accounts.google.com/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- BuildBundlerMinifier (>= 2.8.391)
- Microsoft.AspNetCore (>= 2.1.4)
- Microsoft.AspNetCore.Mvc (>= 2.1.3)
- Microsoft.AspNetCore.StaticFiles (>= 2.1.1)
- Microsoft.Extensions.Logging.Debug (>= 2.1.1)
- Microsoft.VisualStudio.Web.BrowserLink (>= 2.1.1)
- Ocelot (>= 12.0.1)
- System.IO.FileSystem (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.