最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ASP.NET Core 8.0 Zero-Downtime Deployment and DLL Lock Issue - Stack Overflow

programmeradmin2浏览0评论

I have a question: I am developing with ASP.NET Core 8.0 and have encountered some issues.

  1. In a deployed environment, files like (ProjectName).dll are locked, preventing overwriting. I am curious about how others handle deployment in such cases. My goal is zero-downtime deployment.

  2. When the DLL is replaced, the site experiences a long period of slow responses. How can I mitigate this issue?

I have tried modifying the web.config and the project .csproj file.

I have a question: I am developing with ASP.NET Core 8.0 and have encountered some issues.

  1. In a deployed environment, files like (ProjectName).dll are locked, preventing overwriting. I am curious about how others handle deployment in such cases. My goal is zero-downtime deployment.

  2. When the DLL is replaced, the site experiences a long period of slow responses. How can I mitigate this issue?

I have tried modifying the web.config and the project .csproj file.

Share Improve this question edited Feb 17 at 4:43 marc_s 755k184 gold badges1.4k silver badges1.5k bronze badges asked Feb 17 at 4:37 신성길신성길 11 bronze badge New contributor 신성길 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
Add a comment  | 

1 Answer 1

Reset to default 0

Usually we will use Network Load Balancing in IIS. And we can access the application via the load balancer url.

Sicne your goal is zero-downtime deployment, we should have 2 node server at least. We can update it one by one.

Related links:

1. HTTP Load Balancing using Application Request Routing

2. Configuring Step 5: Configure Application Deployment

发布评论

评论列表(0)

  1. 暂无评论