The application completed without reading the entire request body, .net core 2.1.1

后端 未结 10 1391
-上瘾入骨i
-上瘾入骨i 2020-12-14 07:21

I have created a user register controller to register users with repository design pattern. My controller looks like this.

[Route(\"api/[controller]\")]
             


        
10条回答
  •  感动是毒
    2020-12-14 07:40

    There can be multiple reasons out of which one can be : – Caching in Visual Studio --

    1.Close all the instances of visual studios, run Developer command prompt with Admin rights.
    2.git clean -xfd [Your Repository to remove all dependencies and existing soln file]
    3.take the latest build and run . [Make Endpoint AllowAnonymous]
    

提交回复
热议问题