From 63663159709e6b8f16ae2cdb4e7105a3d744e35b Mon Sep 17 00:00:00 2001 From: Adam Simon Date: Wed, 21 Aug 2024 09:56:48 +0200 Subject: [PATCH] Minor corrections --- README.md | 4 ++-- samples/ASP.NETCore/README.md | 6 +++--- samples/BlazorWasm/README.md | 2 +- samples/ConsoleApp/README.md | 2 +- src/ConfigCatClient/ConfigCatClient.cs | 2 +- src/ConfigCatClient/ConfigService/FetchErrorException.cs | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 75ccc819..8fa5f9d2 100644 --- a/README.md +++ b/README.md @@ -90,8 +90,8 @@ var isMyAwesomeFeatureEnabled = await client.GetValueAsync( ## Sample/Demo apps * [Sample Console App](https://github.com/configcat/.net-sdk/tree/master/samples/ConsoleApp) - * [Sample Multi Page Web App](https://github.com/configcat/.net-sdk/tree/master/samples/ASP.NETCore) - * [Sample Single Page Web App](https://github.com/configcat/.net-sdk/tree/master/samples/BlazorWasm) + * [Sample Multi-page Web App](https://github.com/configcat/.net-sdk/tree/master/samples/ASP.NETCore) + * [Sample Single-page Web App](https://github.com/configcat/.net-sdk/tree/master/samples/BlazorWasm) * [Sample Mobile/Windows Store App](https://github.com/configcat/.net-sdk/tree/master/samples/MAUI) ## Polling Modes diff --git a/samples/ASP.NETCore/README.md b/samples/ASP.NETCore/README.md index 04d1ef04..c8723403 100644 --- a/samples/ASP.NETCore/README.md +++ b/samples/ASP.NETCore/README.md @@ -1,8 +1,8 @@ -# Sample .NET Core WebApp app +# Sample ASP.NET Core MVC app -This is a simple .NET Core web application to demonstrate how to use the ConfigCat SDK. +This is a simple [ASP.NET Core MVC](https://learn.microsoft.com/en-us/aspnet/core/mvc) web application to demonstrate how to use the ConfigCat SDK. -1. Install the [.NET SDK](https://dotnet.microsoft.com/download) +1. Install [.NET](https://dotnet.microsoft.com/download) 2. Change dir to `/WebApplication` ```bash cd WebApplication diff --git a/samples/BlazorWasm/README.md b/samples/BlazorWasm/README.md index a48ef710..a5e60481 100644 --- a/samples/BlazorWasm/README.md +++ b/samples/BlazorWasm/README.md @@ -2,7 +2,7 @@ This is a simple [ASP.NET Core Blazor WebAssembly](https://learn.microsoft.com/en-us/aspnet/core/blazor) application to demonstrate how to use the ConfigCat SDK. -1. Install the [.NET SDK](https://dotnet.microsoft.com/download) +1. Install [.NET](https://dotnet.microsoft.com/download) 2. Run app ```bash dotnet run -- urls=http://localhost:5000 diff --git a/samples/ConsoleApp/README.md b/samples/ConsoleApp/README.md index 01d462cc..3d3c8a06 100644 --- a/samples/ConsoleApp/README.md +++ b/samples/ConsoleApp/README.md @@ -2,7 +2,7 @@ This is a simple .NET Console application to demonstrate how to use the ConfigCat SDK. -1. Install the [.NET SDK](https://dotnet.microsoft.com/download) +1. Install [.NET](https://dotnet.microsoft.com/download) 2. Run sample app: ```bash diff --git a/src/ConfigCatClient/ConfigCatClient.cs b/src/ConfigCatClient/ConfigCatClient.cs index 6360565c..ae6a8524 100644 --- a/src/ConfigCatClient/ConfigCatClient.cs +++ b/src/ConfigCatClient/ConfigCatClient.cs @@ -28,7 +28,7 @@ public sealed class ConfigCatClient : IConfigCatClient /// Returns an object that can be used to configure the SDK to work on platforms that are not fully standards compliant. /// /// - /// Configuration is only possible before the first instance is created. + /// Configuration is only possible before the first instance of is created. /// public #else diff --git a/src/ConfigCatClient/ConfigService/FetchErrorException.cs b/src/ConfigCatClient/ConfigService/FetchErrorException.cs index fe9d0612..d0a3c03e 100644 --- a/src/ConfigCatClient/ConfigService/FetchErrorException.cs +++ b/src/ConfigCatClient/ConfigService/FetchErrorException.cs @@ -9,13 +9,13 @@ namespace ConfigCat.Client; public abstract class FetchErrorException : Exception { /// - /// Creates an instance of the struct which indicates that the operation timed out. + /// Creates an instance of the class which indicates that the operation timed out. /// public static FetchErrorException Timeout(TimeSpan timeout, Exception? innerException = null) => new Timeout_($"Request timed out. Timeout value: {timeout}", timeout, innerException); /// - /// Creates an instance of the struct which indicates that the operation failed due to a network or protocol error. + /// Creates an instance of the class which indicates that the operation failed due to a network or protocol error. /// public static FetchErrorException Failure(WebExceptionStatus? status, Exception? innerException = null) => new Failure_("Request failed due to a network or protocol error.", status, innerException);