2023年11月15日

ASP.Net MVC使用特性路由

摘要: ASP.NET MVC中使用特性路由需要在默认路由前调用routes.MapMvcAttributeRoutes(); 需要注意Action上使用特性路由时需要注意不能以/开头 不能写成/Controller/Action 如果使用了routes.MapMvcAttributeRoutes();出现 阅读全文

posted @ 2023-11-15 17:49 HI~HELLO~ 阅读(37) 评论(0) 推荐(0)

2022年10月8日

DotnetCore3.1出现Method ‘Create‘ in type ... does not have an implementation

摘要: 错误提示如下: 出现这个问题的原因是安装的Microsoft.EntityFrameworkCore.Design包版本是5.0.17,而它所依赖的其他包版本是3.1.25,解决方案就是将Microsoft.EntityFrameworkCore.Design版本降到3.1.25即可。 PS:解决方 阅读全文

posted @ 2022-10-08 16:54 HI~HELLO~ 阅读(125) 评论(0) 推荐(0)

导航