更新时间:2021-07-03 23:29:07
我在使用WebApi但未使用MVC的项目中遇到类似的问题,后来使用以下方法添加MVC:
I had a similar Problem with a Project using WebApi but not MVC and used the following Approach to add MVC later on:
启动项目后,它导致我收到以下错误消息:
Once I started the project, it resulted in me getting the following error message:
视图必须派生自WebViewPage或WebViewPage< TModel>