Skip to content

Commit f576570

Browse files
committed
Updated phrasing
1 parent aa2f168 commit f576570

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

articles/azure-cache-for-redis/cache-management-faq.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ sections:
127127

128128
How to configure this setting:
129129

130-
* We recommend changing this setting programmatically by using the [ThreadPool.SetMinThreads (...)](/dotnet/api/system.threading.threadpool.setminthreads#System_Threading_ThreadPool_SetMinThreads_System_Int32_System_Int32_) method in `global.asax.cs`. For example:
130+
* We recommend changing this setting programmatically by using the [ThreadPool.SetMinThreads (...)](/dotnet/api/system.threading.threadpool.setminthreads#System_Threading_ThreadPool_SetMinThreads_System_Int32_System_Int32_) method.
131+
132+
For example, in NET Framework, you set it in `Global.asax.cs` in the `Application_Start` method:
133+
131134

132135
```csharp
133136
private readonly int minThreads = 200;
@@ -140,7 +143,7 @@ sections:
140143
ThreadPool.SetMinThreads(minThreads, minThreads);
141144
}
142145
```
143-
If you ae using dotnet Core, you would set it in `Program.cs`, just before the call to WebApplication.CreateBuilder():
146+
If you ae using .NET Core, you would set it in `Program.cs`, just before the call to `WebApplication.CreateBuilder()`:
144147

145148
```csharp
146149
private readonly int minThreads = 200

articles/azure-cache-for-redis/managed-redis/managed-redis-management-faq.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ sections:
9696

9797
How to configure this setting:
9898

99-
* We recommend changing this setting programmatically by using the [ThreadPool.SetMinThreads (...)](/dotnet/api/system.threading.threadpool.setminthreads#System_Threading_ThreadPool_SetMinThreads_System_Int32_System_Int32_) method in `global.asax.cs`. For example:
99+
* We recommend changing this setting programmatically by using the [ThreadPool.SetMinThreads (...)](/dotnet/api/system.threading.threadpool.setminthreads#System_Threading_ThreadPool_SetMinThreads_System_Int32_System_Int32_) method in .NET Framework and .NET Core applications.
100+
101+
For example, in NET Framework, you set it in `Global.asax.cs` in the `Application_Start` method:
102+
100103

101104
```csharp
102105
private readonly int minThreads = 200;
@@ -109,7 +112,7 @@ sections:
109112
ThreadPool.SetMinThreads(minThreads, minThreads);
110113
}
111114
```
112-
If you ae using dotnet Core, you would set it in `Program.cs`, just before the call to WebApplication.CreateBuilder():
115+
If you ae using .NET Core, you would set it in `Program.cs`, just before the call to `WebApplication.CreateBuilder()`:
113116

114117
```csharp
115118
private readonly int minThreads = 200

0 commit comments

Comments
 (0)