摘要:
使用NuGet安装Nancy和直接引用源码项目存在一些差异,如序列化,授权验证问题。如果引用源码的话,自定义JsonSerializer,如下:注意,需要使用NuGet安装Newtonsoft.Json public class CustomJsonNetSerializer : JsonSeria... 阅读全文
posted @ 2016-01-02 21:39
Mr.LUCKY
阅读(499)
评论(0)
推荐(0)
摘要:
1、新建UserDatabase类,实现IUserMapper接口 using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using S... 阅读全文
posted @ 2016-01-02 21:12
Mr.LUCKY
阅读(448)
评论(0)
推荐(0)

浙公网安备 33010602011771号