1 Star 0 Fork 3.8K

github-mysync/Admin.NET

forked from zuohuaijun/Admin.NET 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Program.cs 561 Bytes
一键复制 编辑 原始数据 按行查看 历史
zuohuaijun 提交于 2022-07-21 20:10 +08:00 . 优化升级
using Admin.NET.Application;
using Admin.NET.Web.Core;
var builder = WebApplication.CreateBuilder(args).Inject();
builder.Host.UseSerilogDefault().ConfigureAppConfiguration((hostingContext, config) =>
{
config.AddJsonFile("applicationsettings.json", optional: true, reloadOnChange: true);
});
// ע
builder.Services.AddWorkflow(options =>
{
options.UsePersistence(sp => sp.GetService<FurionPersistenceProvider>());
});
// JSONע
builder.Services.AddWorkflowDSL();
var app = builder.Build();
// ע
app.UseWorkflow();
app.Run();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/github-mysync/Admin.NET.git
git@gitee.com:github-mysync/Admin.NET.git
github-mysync
Admin.NET
Admin.NET
master

搜索帮助