zzyykk123456
zzyykk123456
啥时候打包发布新的?
Maybe ,I have the same problem.try this: var discoveryClient = new DiscoveryClient(Contants.Constants.Authority); //var disco = await DiscoveryClient.GetAsync(Contants.Constants.Authority); discoveryClient.Policy = new DiscoveryPolicy { RequireHttps = false }; var disco = await...
@ranouf Check the ConnectionStrings in appsetting.Development.json when your environment is development. 
@lucassklp the solution is here:   The response is 200 OK.  In your code ,the problem is "The signature is invalid"  So I think when it generates...
@lorenz31 I have tried like this and it does work. 
@lorenz31 Stock like this: { "stockId": "8fc759e0-0da1-478d-96b7-d939e4498d48", "stockName": "string", "sku": "8fc759e0-0da1-478d-96b7-d939e4498d48", "description": "string", "qty": 0, "dateAdded": "2017-09-19T02:37:28.937Z", "unitPrice": 0, "markupPrice": 0, "sellingPrice": 0, "userId": "8fc759e0-0da1-478d-96b7-d939e4498d48" }
@lorenz31 It works too.  
@lorenz31 With or without [FromBody] is ok.The postman setup is here.  
@lorenz31 Your StockId and SKU guid are invalid. You can get new guid in https://www.guidgenerator.com/online-guid-generator.aspx. Try it.
In windows 10,I edit the file setting.json in C:\Users\adminstrator\AppData\Roaming\Code\User,and it did work.The content from { "workbench.colorTheme": "Monokai Dimmed", "window.zoomLevel": 0, "window.menuBarVisibility": "default", "workbench.activityBar.visible": true, "workbench.sideBar.location": "left" } to { "workbench.colorTheme":...