diff --git a/NewLife.IoT/Clients/IServiceHandler.cs b/NewLife.IoT/Clients/IServiceHandler.cs
index df0295f..a502089 100644
--- a/NewLife.IoT/Clients/IServiceHandler.cs
+++ b/NewLife.IoT/Clients/IServiceHandler.cs
@@ -96,7 +96,7 @@ public static async Task<ServiceReplyModel> ExecuteService(this IServiceHandler
         var rs = new ServiceReplyModel { Id = model.Id, Status = ServiceStatus.已完成 };
         try
         {
-            var result = await OnService(client, model);
+            var result = await OnService(client, model).ConfigureAwait(false);
             if (result is ServiceReplyModel reply)
             {
                 reply.Id = model.Id;
@@ -140,8 +140,8 @@ public static async Task<ServiceReplyModel> ExecuteService(this IServiceHandler
         if (d is Func<String?, String?> func) return func(model.InputData);
         if (d is Func<ServiceModel, ServiceReplyModel> func2) return func2(model);
 
-        if (d is Func<String?, Task<String?>> func3) return await func3(model.InputData);
-        if (d is Func<ServiceModel, Task<ServiceReplyModel>> func4) return await func4(model);
+        if (d is Func<String?, Task<String?>> func3) return await func3(model.InputData).ConfigureAwait(false);
+        if (d is Func<ServiceModel, Task<ServiceReplyModel>> func4) return await func4(model).ConfigureAwait(false);
 
         return null;
     }
diff --git a/NewLife.IoT/NewLife.IoT.csproj b/NewLife.IoT/NewLife.IoT.csproj
index 336bfda..b6a0475 100644
--- a/NewLife.IoT/NewLife.IoT.csproj
+++ b/NewLife.IoT/NewLife.IoT.csproj
@@ -18,6 +18,8 @@
     <LangVersion>latest</LangVersion>
     <SignAssembly>True</SignAssembly>
     <AssemblyOriginatorKeyFile>..\Doc\newlife.snk</AssemblyOriginatorKeyFile>
+    <AnalysisLevel>latest</AnalysisLevel>
+    <WarningsAsErrors>CA2007</WarningsAsErrors>
   </PropertyGroup>
 
   <PropertyGroup>
@@ -50,7 +52,7 @@
     </PackageReference>
   </ItemGroup>
   <ItemGroup Condition="'$(TargetFramework)'!='net40'">
-    <PackageReference Include="NewLife.Core" Version="11.0.2024.1115" />
+    <PackageReference Include="NewLife.Core" Version="11.0.2024.1201" />
   </ItemGroup>
   <ItemGroup Condition="'$(TargetFramework)'=='net40'">
     <PackageReference Include="NewLife.Core" Version="10.10.2024.801-net40" />