ProductCatalogAuthentification 1.0.2

dotnet add package ProductCatalogAuthentification --version 1.0.2
                    
NuGet\Install-Package ProductCatalogAuthentification -Version 1.0.2
                    
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="ProductCatalogAuthentification" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ProductCatalogAuthentification" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="ProductCatalogAuthentification" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ProductCatalogAuthentification --version 1.0.2
                    
#r "nuget: ProductCatalogAuthentification, 1.0.2"
                    
#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.
#:package ProductCatalogAuthentification@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ProductCatalogAuthentification&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=ProductCatalogAuthentification&version=1.0.2
                    
Install as a Cake Tool

Product Catalog Authentication Integration Guide

Overview

This guide provides step-by-step instructions for integrating ProductCatalogAuthentication into your host project. It includes configuration details and service installation steps.


1. Configure Authentication in appsettings.json

In your host project, add authentication credentials for the Catalog API inside appsettings.json:

{
  "ProductCatalog": {
    "Authentication": {
      "Username": "UserNameExample", change with actual user from ProductCatalog user from setting
      "Password": "PasswordExample" // change with actual passowrd from ProductCatalog password from setting
    },
    "BaseUrl": "https://producttCatalogExample" // change with product catalog base api
  }
}

Configuration Details:

  • Username & Password: Replace with actual credentials required to authenticate with the Catalog API.
  • BaseUrl: Ensure this points to the correct API endpoint.

2. Install Product Catalog Authentication in Your Project

To integrate ProductCatalogAuthentication, add the following line in the Startup.cs file of your host project:

services.InstallProductCatalogAutentification(Configuration);

Installation Steps:

  1. Open the Startup.cs file of your project.
  2. Locate the ConfigureServices method.
  3. Add services.InstallProductCatalogAutentification(Configuration); inside the method.
  4. Ensure that your project correctly references ProductCatalogAutentification.

3. Additional Notes

  • Ensure that the BaseUrl in appsettings.json is accessible and correct.
  • Double-check authentication credentials before deploying to production.
  • If any issues arise, verify that InstallProductCatalogAutentification is correctly registered in your dependency injection container.
  • Restart your application after making changes to ensure proper configuration loading.

4. Troubleshooting

Common Issues & Fixes

Issue Possible Cause Solution
Authentication fails Incorrect username or password Verify credentials in appsettings.json
API connection issues Wrong BaseUrl Ensure BaseUrl points to the correct API endpoint
Service not recognized Missing package reference Ensure ProductCatalogAutentification is installed and properly referenced

If you need further assistance, refer to the official documentation or contact support.


License

This package is distributed under the MIT License.

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 188 2/7/2025
1.0.1 166 2/5/2025