You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-management-faq.yml
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,10 @@ sections:
127
127
128
128
How to configure this setting:
129
129
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
+
131
134
132
135
```csharp
133
136
private readonly int minThreads = 200;
@@ -140,7 +143,7 @@ sections:
140
143
ThreadPool.SetMinThreads(minThreads, minThreads);
141
144
}
142
145
```
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()`:
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/managed-redis/managed-redis-management-faq.yml
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,10 @@ sections:
96
96
97
97
How to configure this setting:
98
98
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
+
100
103
101
104
```csharp
102
105
private readonly int minThreads = 200;
@@ -109,7 +112,7 @@ sections:
109
112
ThreadPool.SetMinThreads(minThreads, minThreads);
110
113
}
111
114
```
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()`:
0 commit comments