ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using iWare.Wms.Application;
using iWare.Wms.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();
 
//                            _ooOoo_
//                           o8888888o
//                           88" . "88
//                           (| -_- |)
//                           O\  =  /O
//                        ____/`---'\____
//                      .'  \\|     |//  `.
//                     /  \\|||  :  |||//  \
//                    /  _||||| -:- |||||-  \
//                   |   |  \\\  -  /// |   |
//                   | \_|   ''\---/''  |   |
//                   \  .-\__   `-`  ___/-. /
//                   ___`. .' /--.--\  `. . __
//                ."" '< `.___\_<|>_/___.'    >'"".
//               | | : `- \`.;`\ _ /`;.`/ - ` : | |
//               \ \ `-.   \_ __\ /__ _/   .-` /  /
//         ======`-.____`-.___\_____/___.-`____.-'======
//                            `=---='
//         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//                    ·ð׿±£ÓÓ       ÓÀÎÞBUG