zoukankan      html  css  js  c++  java
  • ServiceStack6000次限制破解

    下载路径
    https://github.com/ServiceStack/ServiceStack.Text
    找到LicenseUtils类:

    修改 ServiceStack.text源代码6000限制
    方法:直接修改 LicenseUtils里面的ApprovedUsage,直接return
    代码如下
    public static void ApprovedUsage(LicenseFeature licenseFeature, LicenseFeature requestedFeature,
    int allowedUsage, int actualUsage, string message)
    {
    return;//新增return
    var hasFeature = (requestedFeature & licenseFeature) == requestedFeature;
    if (hasFeature)
    return;

    if (actualUsage > allowedUsage)
    throw new LicenseException(message.Fmt(allowedUsage)).Trace();
    }

    编译生成ServiceStack.Text.dll,替换项目中的  ServiceStack.Text.dll

    ServiceStack.Redis:需破解6000次,不支持集群
    StackExchange.Redis:收费,有性能问题没有解决
    CSRedis: 免费但停止更新了维护了

    云生态,云平台:
    CI/CD:持续集成,持续部署
    DevOps:开发运维一体化
    Microservices:微服务
    Containers:容器
    .net6风口

  • 相关阅读:
    FreeNAS的安装使用记录
    slackware中配置命令行下的分辨率
    创建类的理由
    软件开发人员的入门级书单
    Pow(x, n)
    Group Anagrams
    Rotate Image
    Permutations
    Multiply Strings
    Combination Sum II
  • 原文地址:https://www.cnblogs.com/csj007523/p/14459014.html
Copyright © 2011-2022 走看看