<?xml version="1.0" encoding="utf-16"?><rss version="2.0"><channel><title>HueiFeng</title><description>冯辉,HueiFeng,.NET,.NET Core,Docker,k8s</description><link>https://hueifeng.azurewebsites.net/</link><pubDate>Tue, 07 Apr 2026 19:26:54 GMT</pubDate><copyright>(c) {year} Moonglade</copyright><generator>Moonglade v11.2-preview</generator><item><title>在ASP.NET Core中使用ViewComponent</title><link>https://hueifeng.azurewebsites.net/post/2021/4/10/using-viewcomponents-in-asp-net-core</link><description>前言
在之前的开发过程中，我们对于应用或者说使用一些小的组件，通常使用分布页（partial view），再往前在Web Form中我们会进行应用WEB Control，好吧提及一个关键性代码TagPrefix：TagName，通过这种的标记我们便可以在我们web form中进行引入我们的组件，当然自从.NET MVC之后呢，就已经没有了WebControl，而对于.NET Core后，又多了一个特性ViewComponent。
对于ViewComponent看起来它类似于小的控制器，而对于我们小的组件或者小部分通用型功能，可通过ViewComponent进行实现，比如说留言栏、菜单等等。
ViewComponent是由两部分组成，一部分是类（通常该类集成与ViewComponent），而另外一部分是视图（Razor和普通的View一样），当然ViewComponent同样也支持POCO， …</description><author>695979933@qq.com</author><category>ASP.NET MVC</category><category>.NET</category><category>ASP.NET CORE MVC</category><category>.NET5</category><category>ASP.NET CORE</category><category>ASP.NET Core 5.0</category><guid isPermaLink="false">A4118DBF-0C7B-4658-9017-F8498E038D60</guid><pubDate>Sat, 10 Apr 2021 03:40:30 GMT</pubDate></item><item><title>Vs编译时RazorTagHelper - DOTNET_HOST_PATH is not set</title><link>https://hueifeng.azurewebsites.net/post/2020/11/17/vs-razortaghelper-dotnethostpath-is-not-set</link><description>今天听朋友说遇到一个问题，打开一个aspnetcore2.2的项目工程，发现挺有意思，缺少环境变量DOTNET_HOST_PATH
file
严重性	代码	说明	项目	文件	行	禁止显示状态
错误	MSB4018	“RazorTagHelper”任务意外失败。
System.InvalidOperationException: DOTNET_HOST_PATH is not set
   在 Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.get_DotNetPath()
   在 Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.GenerateFullPathToTool()
   在 Microsoft.Build.Utilities.ToolTask.ComputePathToTool() …</description><author>695979933@qq.com</author><category>ASP.NET CORE MVC</category><category>ASP.NET CORE</category><guid isPermaLink="false">82DC7BE7-292B-48F4-9192-82128D27D220</guid><pubDate>Tue, 17 Nov 2020 12:26:11 GMT</pubDate></item><item><title>【Azure DevOps系列】开始第一个Azure DevOps应用</title><link>https://hueifeng.azurewebsites.net/post/2020/8/25/start-the-first-azuredevops-application</link><description>前言
在上一章中对Azure DevOps做了一个简单介绍，本章我们将开始我们的Azure DevOps.
file
开启第一个DevOps应用
我们需要先从Azure DevOps这边进行注册相关账号。
注册账号打开Azure Pipelines,点击免费使用
azure pipelines
点击后进行注册或者登录Microsoft账号
创建项目
根据我们刚才创建的组织，然后访问组织页面进行创建项目
https://dev.azure.com/{yourorganization}
输入项目名称、输入项目描述以及选择项目可见程度即可
create project
创建完后我们会被重定向到如下页面
image
点击GitHub，点击后对Github仓库做一下授权即可，然后选择项目
进行选择一个默认模板配置，下面我选择ASP.NET Core
image
点击后能看到为我们默认创建的YAML文 …</description><author>695979933@qq.com</author><category>.NET</category><category>ASP.NET CORE MVC</category><category>DevOps</category><guid isPermaLink="false">359FF196-6014-4017-969C-3BD31D6D662C</guid><pubDate>Tue, 25 Aug 2020 09:34:59 GMT</pubDate></item><item><title>Using ABP vNext to Develop an Address Book Application in 5 Minutes</title><link>https://hueifeng.azurewebsites.net/post/2020/8/21/using-abp-vnext-to-develop-an-address-book-application-in-5-minutes</link><description>Using ABP vNext to Develop an Address Book Application in 5 Minutes
ABP vNext framework (hereinafter called "ABP") is an artwork-level application development framework designed by Volosoft. It is based on Domain-Driven-Design (DDD) and innovatively adopts modular development design. ABP is undoubtedly the most advanced and elegant existence in ASP.NET Core development frameworks.
I believe that …</description><author>695979933@qq.com</author><category>.NET</category><category>ASP.NET CORE MVC</category><category>ASP.NET Web APi</category><category>ASP.NET CORE</category><guid isPermaLink="false">1761F88A-0D2B-4EF9-A91E-50D20D681D22</guid><pubDate>Fri, 21 Aug 2020 00:49:10 GMT</pubDate></item></channel></rss>