Giter VIP home page Giter VIP logo

easyoc's Introduction

EasyOC 是一个基于OrchardCore 的SPA 开发框架

它在采用无入侵的方式基于Orchard Core CMS 增加了一系列模块用于提供 SPA服务 ,参考 ABP 的功能设计实现了一些用于 SPA 的特性和功能

EasyOC is a SPA development framework based on OrchardCore

It adds a series of modules based on Orchard Core CMS to provide SPA services in a non-invasive manner, and implements some features and functions specifically for SPA by referring to the functional design of ABP

前端项目:https://github.com/EasyOC/EasyOC.VbenAdmin

QQ群:51387245

Features

For SPA Service Application

  • GraphQL lucene queries can support Total and items
  • wrapper API returns the result, You can use the Restful API to query OrchardCore for notifications added using INotify
  • SwaggerUI
  • Dynamic Web API
  • Authorization Attribute
  • Users And Roles Api

For OrchardCore CMS

install

image

Generate ContentType form RDBMS

image

RDBMS

数据同步

image

注意!尽量不要一次更新太多数据,使Document表被长时间锁死,导致其他页面无法访问

Generate ContentMapping with RDBMS

image

可以在Management Studio 中选中某条数据,然后右键选择“连同标题一起复制” 使用 https://www.bejson.com/json/col2json/ 之类的工具将Excel 转换为json 复制结果到内容模板中

image

拦截所有工作流异常

虽然代码中不会拦截触发的节点,但尽量不要在异常处理工作流中再次引发异常,不然可能会造成死循环 如果要触发当前工作流,如果表达式成立,则将触发工作流,捕获全局异常,直接返回true

image

获取错误信息: input('ErrorInfo') 包含如下属性:

  • WorkflowId:工作流Id
  • WorkflowName:工作流名称
  • ExcutedActivityCount:已执行节点数量
  • ActivityDisplayName:节点名称
  • ActivityTypeName:节点类型名称
  • ActivityId:节点Id
  • ErrorMessage:异常信息概要
  • ExceptionDetails:异常详细信息
  • FaultMessage:包含工作流节点手动引发的错误信息

easyoc's People

Contributors

hyzx86 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.