AspNet Core Web Api控制台消息

问题描述

我有一个NetCore WebApi解决方案。几个月前它运行良好,但是现在从Visual Studio启动时,在控制台窗口中打开Chrome后,会出现类似这样的重复消息。要停止它们,我必须按ctrl-c

解决方案是最新的 非常感谢

<ng-container matColumnDef="parentName">
  <th mat-header-cell *matHeaderCellDef mat-sort-header> Industry </th>
  <td mat-cell *matCellDef="let client" class="industry-cell">{{ object[client._id] }}</td>
</ng-container>

解决方法

发现了问题。我对blazor进行了一些尝试,并将这一行添加到launsettings.json中

"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}"

将其删除后,应用程序将正常启动。