Giter Club home page Giter Club logo

quartzui.extension.aspnetcore's Introduction

QuartzUI.Extension.AspNetCore

Lightweight, injectable UI components based on Quartz.

快速使用

1. 安装

dotnet add package QuartzUI.Extension.AspNetCore

2. 注册

2.1 基于文件的持久化存储(默认方式)

  • 1.注入QuartzUI:
services.AddQuartzUI();  
  • 2.开启 ClassJob 支持(可选)
 services.AddQuartzClassJobs();  
  • 3.使用QuartzUI
app.UseQuartz();  
  • 4.配置管理员口令
{
  "QuartzUI": {
    "Debug": true,
    "Token": "task123456",
    "SuperToken": "super123456"
  }
}

2.2 基于数据库的持久化存储

  • 1.注入QuartzUI:
services.AddQuartzUI(optionsBuilder =>
{
     // 创建 MySQL 数据库连接
     optionsBuilder.UseMySql(Configuration.GetConnectionString("MySql"), b => b.MaxBatchSize(1));
});
  • 2.开启 ClassJob 支持(可选)
 services.AddQuartzClassJobs();  
  • 3.使用QuartzUI
app.UseQuartz(); 
  • 4.配置管理员口令
{
  "QuartzUI": {
    "Debug": true,
    "Token": "task123456",
    "SuperToken": "super123456"
  }
}

3.案例

QuartzUIDemo

quartzui.extension.aspnetcore's People

Contributors

l2999019 avatar zhujinrun avatar shangsharon avatar

Stargazers

Flying firebird avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.