//注册ReZero.Api builder.Services.AddReZeroServices(api => { var apiObj = new SuperAPIOptions(); //Swagger地址 apiObj.UiOptions.DefaultIndexSource = "/Swagger"; apiObj.DatabaseOptions = new DatabaseOptions() { ConnectionConfig = new SuperAPIConnectionConfig() { ConnectionString = "datasource=xxx.db", DbType = DbType.Sqlite } }; //启用超级API api.EnableSuperApi(apiObj); });
URL上面加上 /ReZero就启动成功了
看左边菜单
2016 © donet5.comApache Licence 2.0