Low-code rapid development platform JNPF rapid development platform update introduction

Daoyi Cloud is a leading cloud computing company in the industry. It is committed to helping governments and enterprises to continuously improve management and operation levels in the intelligent age, continue digital innovation, and make work more efficient. Daoyi Cloud is a leader in China's new generation of collaborative cloud products, a strategic investment company of Tencent, and a core partner of Tencent's ecosystem.

Daoyi Cloud CRM is a customer relationship management platform interoperable with WeChat, designed to help you market, contact, sell and analyze customers. You can view and maintain customer information anytime and anywhere through WeChat, and discuss business opportunities with customers and update and share them in a timely manner. Subversive CRM, better help you control business opportunities.

private BenchmarkEventListener _listener;

public void Setup() => _listener = new BenchmarkEventListener();
public void Cleanup() => _listener.Dispose();

public void Log()
    BenchmarkEventSource.Log.MultipleArgs("hello", 6, 0);

private sealed class BenchmarkEventListener : EventListener
    protected override void OnEventSourceCreated(EventSource eventSource)
        if (eventSource is BenchmarkEventSource)
            EnableEvents(eventSource, EventLevel.LogAlways);

    protected override void OnEventWritten(EventWrittenEventArgs eventData) { }

private sealed class BenchmarkEventSource : EventSource
    public static readonly BenchmarkEventSource Log = new BenchmarkEventSource();

    public void NoArgs() => WriteEvent(1);

    public void MultipleArgs(string arg1, int arg2, int arg3) => WriteEvent(2, arg1, arg2, arg3);


JNPF implements interface-based process modeling, making process modeling simple and operable. Users can quickly realize process modeling by dragging, pulling, clicking, and dragging. the

Complete the basic information setting

Create a workflow design according to the needs of the enterprise. The workflow design is based on items, and configures custom forms or system forms according to different types. After creation, enter the basic information of the process form in turn.

Visual form drag and drop

Customize the form Drag or click the control from the control area on the left to design the form according to your own business process. The form field page of the system form will be generated according to the fields of the user in the code generation front end.

Process approval design

Provides multi-form process design including approval nodes, conditional branches, diversion/merge, timers, etc. Users can add relevant nodes according to their needs, and perform custom operations on the right side of the page.

using System;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Net.Http;

using var listener = new HttpConsoleListener();
using var hc = new HttpClient();
await hc.GetStringAsync("https://dotnet.microsoft.com/");

sealed class HttpConsoleListener : EventListener
    protected override void OnEventSourceCreated(EventSource eventSource)
        if (eventSource.Name == "System.Net.Http")
            EnableEvents(eventSource, EventLevel.LogAlways);

    protected override void OnEventWritten(EventWrittenEventArgs eventData)
        string? payload =
            eventData.Payload is null ? null :
            eventData.PayloadNames != null ? string.Join(", ", eventData.PayloadNames.Zip(eventData.Payload, (n, v) => $"{n}={v}")) :
            string.Join(", ", eventData.Payload);
        Console.WriteLine($"[{eventData.TimeStamp:o}] {eventData.EventName}: {payload}");

using System.Text.Json;

namespace SerializeToFile
    public class WeatherForecast
        public DateTimeOffset Date { get; set; }
        public int TemperatureCelsius { get; set; }
        public string? Summary { get; set; }

    public class Program
        public static void Main()
            var weatherForecast = new WeatherForecast
                Date = DateTime.Parse("2019-08-01"),
                TemperatureCelsius = 25,
                Summary = "Hot"

            string fileName = "WeatherForecast.json"; 
            string jsonString = JsonSerializer.Serialize(weatherForecast);
            File.WriteAllText(fileName, jsonString);

// output:

Tags: Java .NET programming language Low-Code

Posted by sportryd on Sun, 05 Feb 2023 02:57:50 +1030