Code Monkey home page Code Monkey logo

gzy.quartz.mui's Introduction

GZY.Quartz.MUI

基于Quartz的轻量级,注入化的UI组件

Licence Build NuGet Support
.NetCore3.1&.Net5.0&.Net6.0

中文使用方法请参考: https://www.cnblogs.com/GuZhenYin/p/15411316.html 简易步骤: 本地文件存储版本:
1.注入QuartzUI
services.AddQuartzUI();
2.如需开启ClassJob则注入以下内容
services.AddQuartzClassJobs();

数据库版本 1.注入QuartzUI
var optionsBuilder = new DbContextOptionsBuilder();
optionsBuilder.UseMysql("server=xxxxxxx;database=xxx;User Id=xxxx;PWD=xxxx", b => b.MaxBatchSize(1));//创建数据库连接
services.AddQuartzUI(optionsBuilder.Options); //注入UI组件

2.在Startup的Configure方法中添加以下内容:
app.UseQuartz();

运行项目即可
image 运行效果如下: 653851-20211229145753683-274021795

有个比较重要的注意事项,一直忘记说了,这里也提一下

因为组件使用RCL的技术实现的,所以在开发环境需要手动添加一下静态资源包

.NET5.0的兄弟应该在Program类中添加如下代码:

webBuilder.UseStaticWebAssets();

如图: image

.NET6.0+的兄弟 应该添加如下代码: image

注:界面参考Quartz.NetUI

gzy.quartz.mui's People

Contributors

l2999019 avatar jiadm avatar shangsharon 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.