我创建了一个标签助手,并想在我的Blazor示例项目中使用它。然而,当我想要使用标签帮助器时,编译器会抱怨:
CS0103 The name 'StartTagHelperWritingScope' does not exist in the current context FirstBlazorApp。
要让标签助手在Blazor中工作,还需要什么?
我正在尝试使用Ant Design Blazor中的带有操作的卡片来显示一条消息;然而,由于某种原因,我得到了一个错误消息,上面写着"Keyword this is not available in the current context“。 这是由于以下RenderFragment造成的: private RenderFragment actionEdit =@<Template><Button Type="primary" Icon="edit" OnClick="ShowMessage" /></Te
我有一个早就应该升级的WinForms应用程序的UI,我打算让它成为Blazor应用程序。遗留应用程序配置是使用WinForm的PropertGrid完成的。是否有等效的Blazor组件或最佳实践来将设置类转换为Blazor窗体?
例如:
class MySettings{
public string Name {get;set;}
public int Age {get;set;}
public string Address {get;set;}
// 1000 other settings of int, string, enums etc
}
有没有一种方法可以将MySetting