有人可以帮我转换这个ASP .Net核心示例(在我的Web Api中使用从Auth0使用管理API),它将RestSharp合并为一个使用HttpClient的示例? var client = new RestClient("https://YOUR_AUTH0_DOMAIN/oauth/token");
var request = new RestRequest(Method.POST);
我的.Net Core Web API调用不会将值返回给浏览器,而是挂起浏览器。 我有这些模型: public class Status
{
public long StatusId { get; set; }
public long UserId { get; set; }
public string Body { get; set; }
pub
我是Asp.Net Core中的新成员,我使用它创建了应用程序。我在我的项目中使用通用存储库。但我有一个错误: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContext' while attempting to activate 'ECommerce.Repository.ProductRepositor