Angular.js $resource with ASP.Net webapi?

后端 未结 2 537
时光取名叫无心
时光取名叫无心 2021-01-25 00:34

I have a simple ASP.Net WebAPI service that assigns a static variable on POST/PUT and returns the value on GET:

private static State Repo = null;

public State G         


        
2条回答
  •  日久生厌
    2021-01-25 00:59

    On Web.config, comment the line at

    
      
    

    If you are using CORS config by web.config file.

提交回复
热议问题