问题描述
VisualStudio2019下一个2.2另一个3.0页面修改如下,但是3.0刷新没有任何变化,难道VS以后不能做前端开发了?
<div class="text-center">
<h1 class="display-4">Welcome111111</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
相关代码
// 请把代码文本粘贴到下方(请勿用图片代替代码)
<div class="text-center">
<h1 class="display-4">Welcome111111</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
我认为调试也就是debug下应该刷新3.0下也支持及时显示效果,然而并没有。
这几天突然看到文档,解决了这个问题
官方文档
添加那个razor中间件 修改后即可实现自动编译。