Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用 TableController 和 AzureMobileApps 发布新实体时出现错误 500
我在 AzureMobileApps 上使用 TableController 时遇到问题 我使用脚手架在 Visual Studio 中创建了一个新的 Azure Mobile App TableController 在帖子中 我修改了生成
Azure
aspnetwebapi2
azuremobileservices
Asp.net Identity,生成 WebApi 令牌 OAuthGrantResourceOwnerCredentialsContext - 无法使用 Unity 访问 UserManager
我正在尝试设置一个项目结构 以便拥有 WebApi WebUI 和域层 我已将所有 Asp Net Identity 对象移至 Domain 层 并在此处设置了 ApplicationContext 继承自 IdentityContext
Web API 2.0 使用 pascalcase 模型接收驼峰式命名的 JSON 数据
我正在尝试对我的 Web API 进行 PUT 调用 我在 WebApiConfig cs 中设置了以下内容 以处理以驼峰形式将数据发送回我的 Web 项目 config Formatters JsonFormatter Serialize
javascript
c
json
AJAX
aspnetwebapi2
Microsoft Graph API 调用无限期挂起
我正在尝试使用 Microsoft Graph 查询 Azure Active Directory 用户信息 我可以很好地进行身份验证 但是当我尝试查询用户信息时client Users我的应用程序无限期挂起 没有超时 没有错误 只是挂起
c
aspnetwebapi2
microsoftgraphapi
Fluent Validation 将 CustomAsync 更改为 MustAsync
有人可以帮我解决这个问题吗 我正在努力改变CustomAsync 到 MustAsync 但我无法让事情发挥作用 下面是我的自定义方法 RuleFor o gt o MustAsync o gt return CheckIdNumberAl
c
aspnetwebapi2
FluentValidation
使用 Azure 应用服务轻松身份验证 + Azure AD B2C 是否可以保护单个 Web API 并让多个本机应用程序使用它?
我们有一个 Web API 旨在为多个业务合作伙伴提供服务 每个业务合作伙伴都将定制我们的本机应用程序客户端的白标版本 我们还有一个 Web API 为不同的应用程序提供通用功能 我们希望使用 AD B2C 作为身份和身份验证系统 但无法了
Azure
aspnetwebapi2
azurewebappservice
azureadb2c
Web API 2 和 ASP Identity - 处理锁定的用户
我刚刚将我的 Web 应用程序 ASP NET MVC 迁移到 ASP Identity 经过相当多的工作后 除了 Web 应用程序提供的 API 之外 一切都工作正常 这是一个 WEB API 2 它使用不记名令牌机制来验证用户身份 身份
aspnetidentity
aspnetwebapi2
将所有 Web API 请求路由到一种控制器方法
是否可以自定义 ASP NET Web API 路由机制 将所有对 API 的请求路由到一个控制器方法 如果请求到达 www mysite com api products or www mysite com api otherResour
aspnet
aspnetwebapi2
aspnetwebapirouting
使用 CQRS 处理中介管道中的错误/异常?
我正在努力追随这个帖子 https lostechies com jimmybogard 2014 09 09 tackling cross cutting concerns with a mediator pipeline 由 Jimmy
c
aspnetwebapi2
Autofac
CQRS
mediatr
将 ninject 与 Ninject.Web.Api 用于 Web Api 2 一起使用在 ASP.NET MVC 5 中不起作用
我正在开发一个 Asp NET MVC 项目 我的项目也有 web api 我正在使用 ASP NET MVC5 和 Web Api 2 以及 Visual Studio 3 我正在使用 ninject 进行依赖项注入 我知道 ninjec
ASPNETMVC
aspnetwebapi2
ninject
ninjectwebmvc
ninjectweb
Web API 和 OData - 传递多个参数
是否可以让 OData 执行以下操作 我希望能够通过传递可能不是主键的参数来查询 REST 调用 我可以调用 REST 方法吗 比如 gt GetReports 22 2014 or Reports 22 2014 HttpGet ODat
c
ODATA
aspnetwebapi2
有没有办法让 Swashbuckle 将 OData 参数添加到 Web API 2 IQueryable
端点?
我有一个支持 OData 查询的 ASP Net Web API 2 端点 是这样的 HttpGet Route public IQueryable
aspnet
aspnetwebapi2
ODATA
swashbuckle
使用 OWIN Identity 注册来自多个 API 客户端的 Web API 2 外部登录
我想要以下架构 我为本示例编写了产品名称 在一台服务器上运行的 Web API 2 应用程序 http api prettypictures com http api prettypictures com 在另一台服务器上运行的 MVC 5
ASPNETMVC
oauth20
aspnetidentity
owin
aspnetwebapi2
如何将整数列表发送到 Web api 2 get 请求?
我正在尝试完成此任务 其中我需要将 id 整数 列表发送到 web api 2 get 请求 所以我找到了一些样本here https damienbod com 2014 08 22 web api 2 exploring paramet
c
aspnetwebapi2
getrequest
将 ASP.NET Identity 实施到现有数据库中
我有一个现有的项目和 SQL 数据库 其中包含一个用户表 我们称之为 MyOldUsersTable 和带有 PK FK 关系的附加表 地址 电话 职位等 注意 该数据库不使用成员身份或身份 它是从另一个项目中提取的数据库 MyOldUse
c
EntityFramework
aspnetwebapi2
aspnetidentity
ASP.NET Web Api 2 中的异常处理
Problem 我需要处理 Web api 2 异常并返回一个具有正确状态代码的丰富对象 401 表示未经授权 404 表示 ContentNotFound 等 以及一些额外信息作为内容 此外 我需要内容看起来像序列化的Exception对
c
aspnet
Exception
aspnetwebapi
aspnetwebapi2
AllowAnonymous 与 OverrideAuthorizeAttribute
AllowAnonymous 和 OverrideAuthorizeAttribute 的使用有什么区别 是一样的吗 http www asp net web api overview security authentication and
c
Authorization
aspnetwebapi2
允许 .NET WebApi 忽略 DOCTYPE 声明
我正在尝试通过 WebApi 方法将 XML 反序列化为对象 我有以下课程 XmlRoot IsNullable false public class MyObject XmlElement Name public string Name
c
xml
aspnetwebapi
xmlserialization
aspnetwebapi2
发生错误。", ExceptionMessage: "提供的 'HttpContent' 实例无效
尝试将文件添加到 http 休息调用时出现此错误 responseJson 消息 发生错误 ExceptionMessage 提供了无效的 HttpContent 实例 它确实 正在使用 多部分 参数名称 内容 异常类型 System Ar
c
NET
ReactJS
aspnetwebapi
aspnetwebapi2
如何在 Web Api 中将对象作为参数传递
我想在我的 web api GET 和 POST 方法中将对象作为参数传递 我的代码是 HttpGet Route mytest list model public IHttpActionResult GetAllTypes TestMod
ASPNETMVC
aspnetwebapi
aspnetwebapi2
1
2
3
4
5
6
...11
»