Even though the soon-to-come DasBlog 1.8 will include support for Custom Macros, you CAN get custom functionality now with this existing macro:
即使即将推出的DasBlog 1.8将包括对自定义宏的支持,您也可以使用此现有宏现在获得自定义功能:
<%newtelligence.aspnetcontrol("TechEdBloggersFeed.ascx")%>
<%newtelligence.aspnetcontrol(“ TechEdBloggersFeed.ascx”)%>
This will load the specified ASCX control into the page at this location. The code-behind can be in another (non-DasBlog) assembly.
这会将指定的ASCX控件加载到此位置的页面中。 后面的代码可以在另一个(非DasBlog)程序集中。
This won't give you access to the DasBlog DataService, that's what the new Custom Macro support does. Still, pretty slick, and a good reminder from Michael Earls.
这将使您无法访问DasBlog DataService,这就是新的“自定义宏”支持所做的。 仍然很滑,迈克尔·厄尔斯(Michael Earls)很好的提醒。
翻译自: https://www.hanselman.com/blog/adding-custom-usercontrols-to-dasblog