PaaS平台,协助企业快速搭建个性化业务应用。用户不需要代码开发就可以搭建出用户体验上佳的销售、运营、人事、采购等核心业务应用,打通企业内部数据,也可以通过API和Webhook和其他系统对接。平台内的自动化工作流还可以实现审批、填写等控制流程和业务自动化,假设用户企业使用钉钉或企业微信,也可以将平台内搭建的应用直接对接到工作台上。
using System.Text.Json;
namespace SerializeBasic
{
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 jsonString = JsonSerializer.Serialize(weatherForecast);
Console.WriteLine(jsonString);
}
}
}
// output:
//{"Date":"2019-08-01T00:00:00-07:00","TemperatureCelsius":25,"Summary":"Hot"}
除了搭建企业应用以外,我们把运营了8年的动态、任务、日程、文件四个规范应用功能集成在了协作套件下,满足企业日常的分享沟通、任务协作、日程布置、文件管理的需求。
public Task WriteAllTextAsync() => File.WriteAllTextAsync(s_path, s_contents);
复制代码
using System.Text.Json;
namespace SerializeToFileAsync
{
public class WeatherForecast
{
public DateTimeOffset Date { get; set; }
public int TemperatureCelsius { get; set; }
public string? Summary { get; set; }
}
public class Program
{
public static async Task Main()
{
var weatherForecast = new WeatherForecast
{
Date = DateTime.Parse("2019-08-01"),
TemperatureCelsius = 25,
Summary = "Hot"
};
string fileName = "WeatherForecast.json";
using FileStream createStream = File.Create(fileName);
await JsonSerializer.SerializeAsync(createStream, weatherForecast);
await createStream.DisposeAsync();
Console.WriteLine(File.ReadAllText(fileName));
}
}
}
// output:
//{"Date":"2019-08-01T00:00:00-07:00","TemperatureCelsius":25,"Summary":"Hot"}
private byte[] _toCompress;
private MemoryStream _destination = new MemoryStream();