参考: https://autofaccn.readthedocs.io/zh/latest/integration/aspnetcore.html https://www.cnblogs.com/Andre/p/9604759.html 转载于:https://my.oschina.net/TOW/blog/2235937