config.MapODataServiceRoute error

后端 未结 6 2480
滥情空心
滥情空心 2021-02-19 03:38

I am currently following this guide -> Link to asp.net website

As the guide says I added all the necessary packages via the nuget console and added the necessary usings

6条回答
  •  感动是毒
    2021-02-19 04:44

    If you have upgraded to Microsoft.AspNet.OData 7.0.0 then the namespace you are looking for is:

    using Microsoft.AspNet.OData.Extensions;
    

提交回复
热议问题