Blazor assembly 独立部署

发布时间 2023-04-05 10:18:44作者: topguntopgun

一、新建Blazor assembly 客户端程序

   assembly 部署分为独立部署和托管部署方式   

 

 

 

二、发布

  发布以后生成web.config和wwwroot

   

 

 

 三、安装重写模块

  下载地址,安装后重启网址

    https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads

 

四、打开网址

 

 

五、遇到的错误

     500.19错误,

  HTTP 错误 500.19 - Internal Server Error

  无法访问请求的页面,因为该页的相关配置数据无效。

       原因:没有下载配置模块