摘要:
项目中,需要实现字体相关操作,收集了一些相关参数,可以引用的。 using System.Collections.Generic; using System.Drawing; using System.Drawing.Text; using System.Linq; using System.Net 阅读全文
摘要:
服务端出现异常时,返回给客户端status仍然是ok的。因此在前端的catch或是error是得到不到服务端的throw异常信息的。 所以,你在服务端中,把异常时,也得作为成功执行返回给客户端。 你可以写一个类别: using System; using System.Collections.Gen 阅读全文
摘要:
今天去访问写好的API时,显示一个异常:Multiple action were found that match the request in Web Api。 打开原始API接口文件查看: 再去查看API配置文件: 默认API路由,只是简单设为api/{controller},现同Insus.N 阅读全文