PdfSharp is a .NET cross-platform PDF processing framework that uses the MIT open-source license, allowing both personal and commercial use without restrictions on closed-source or open-source projects. PdfSharp is maintained by the community and does not have…

2023年7月20日 0条评论 68点热度 1人点赞 痴者工良 阅读全文

PdfSharp 是一个 .NET 跨平台的 PDF 处理框架,PdfSharp 使用的是 MIT 开源协议,无论是个人还是商业使用均可,且不限制闭源或开源。PdfSharp 由社区维护,无任何收费购买项目。 笔者看中它: 体积轻小, 操作简单, 跨平台,不会出现 System.Drawing 报错, 完全免费,MIT 开源协议 命名空间: using PdfSharp.Drawing; using PdfSharp.Fonts; using PdfSharp.Pdf; using PdfSharp.Snippet…

2023年7月20日 0条评论 3408点热度 1人点赞 痴者工良 阅读全文

Recently, I used a TinyMapper object mapping framework, and I like its simplicity. TinyMapper documentation link: http://tinymapper.net/ TinyMapper is extremely simple; it consists of just a static class: TinyMapper.Bind<Person, PersonDto>(); var…

2023年7月19日 0条评论 96点热度 2人点赞 痴者工良 阅读全文

最近使用了一个 TinyMapper 对象映射框架,喜欢它的简单。 TinyMapper 文档地址: http://tinymapper.net/ TinyMapper 极其简单,一个静态类即可: TinyMapper.Bind<Person, PersonDto>(); var person = new Person { Id = Guid.NewGuid(), FirstName = "John", LastName = "Doe" }; var personDto = TinyMapper.Map…

2023年7月19日 0条评论 1856点热度 2人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列: https://istio.whuanle.cn 7. Authentication 本章的内容主要是讲解服务间通讯的安全和集群外部访问内部服务的 jwt token 验证。 Istio 提供两种类型的认证,一种是服务间认证 Peer Authentication,一种是客户端请求认证 Request Authentication。 Peer Authentication Peer authentication 用于服务到服务的认证,在零信任网络中,Envoy 给服务之间的通讯加密…

2023年7月9日 0条评论 62点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 7,认证 本章的内容主要是讲解服务间通讯的安全和集群外部访问内部服务的 jwt token 验证。 Istio 提供两种类型的认证,一种是服务间认证 Peer Authentication,一种是客户端请求认证 Request Authentication。 Peer Authentication Peer authentication 用于服务到服务的认证,在零信任网络中,Envoy 给服务之间的通讯加密,只有服务双方才能看到请求内…

2023年7月9日 0条评论 1872点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn Observability Istio integrates link tracing applications such as Jaeger, Zipkin, and Skywalking, effectively capturing the structure of the service mesh, displaying the network topology, and analyzing the health of the …

2023年7月9日 0条评论 100点热度 1人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 可观测性 Istio 集成了 Jaeger、Zipkin 和 Skywalking 等链路追踪应用,能够有效地捕获服务网格的结构,展示网络拓扑结构,并分析网格的健康状况。 这一切都得益于 Envoy 代理的实现。由于所有进出流量都需要经过 Envoy 代理,Envoy 可以捕获这些流量记录,并将其推送到相应的链路追踪系统中。这样一来,可以链路追踪系统轻松地监控和分析服务网格内的流量情况。 另外 Istio 还支持 Prometheus…

2023年7月9日 0条评论 2446点热度 1人点赞 痴者工良 阅读全文

此教程已加入 Istio 系列:https://istio.whuanle.cn 5. Egress and Ingress Gateways Istio can manage ingress and egress traffic in a cluster. When clients access applications within the cluster, Istio can implement load balancing, circuit breaking, and other features for …

2023年7月9日 0条评论 88点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 5,出入口网关 Istio 可以管理集群的出入口流量,当客户端访问集群内的应用时, Istio 可以将经过 istio-ingressgateway 的流量实现负载均衡和熔断等一系列功能。 可是,如果集群内的一个应用要访问 google.com ,那么我们可以给内部所有请求了 google.com 的流量设置负载均衡吗?答案是可以,Istio 提供了 istio-egressgateway 实现这种功能。因为 Pod 中的容器要访问网…

2023年7月9日 0条评论 1736点热度 0人点赞 痴者工良 阅读全文

Istio Introduction (5): Access Control and Traffic Management VirtualService and DestinationRule Relationship Between VirtualService and Service Istio's VirtualService and Kubernetes' Service are both components of service governance, but they have different r…

2023年7月9日 0条评论 80点热度 0人点赞 痴者工良 阅读全文

Istio 入门(五):访问控制和流量管理 VirtualService 和 DestinationRule VirtualService 与 Service 的关系 Istio 的 VirtualService 和 Kubernetes 的 Service 都是服务治理的组件,但它们有不同的作用和关系。 下面是它们之间的关系和区别: 定义和作用 Kubernetes 的 Service 主要负责服务发现和负载均衡,它为一组运行相同应用的 Pod 提供一个统一的访问入口。 而 Istio 的 VirtualServ…

2023年7月9日 0条评论 1764点热度 0人点赞 痴者工良 阅读全文

Isito Introduction (Part 4): Observability 4. Traffic Management This section primarily demonstrates how to expose service access addresses using Istio Gateway and VirtualService, as well as the observability Kiali component implemented with Istio. Let's revis…

2023年7月9日 0条评论 78点热度 0人点赞 痴者工良 阅读全文

Isito 入门(四):可观测性 4, 流量管理 主要演示了使用 Istio Gateway、VirtualService 对外暴露服务的访问地址 ,以及基于 Istio 实现可观察性的 Kiali 组件。让我们回在上一章中部署的 bookinfo 示例已经学习了什么: 使用 Istio Gateway 创建 “站点”; 使用 Istio VistualService 暴露 Kubernetes Service,并指定暴露的路由后缀。 使用 Kiali 收集服务间的指标。 通过快速练习,我们学到了如何在 Istio…

2023年7月9日 0条评论 1918点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn Observability Istio integrates tracing applications such as Jaeger, Zipkin, and Skywalking, effectively capturing the structure of the service mesh, presenting the network topology, and analyzing the health of the mesh.…

2023年7月9日 1条评论 88点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 可观测性 Istio 集成了 Jaeger、Zipkin 和 Skywalking 等链路追踪应用,能够有效地捕获服务网格的结构,展示网络拓扑结构,并分析网格的健康状况。 这一切都得益于 Envoy 代理的实现。由于所有进出流量都需要经过 Envoy 代理,Envoy 可以捕获这些流量记录,并将其推送到相应的链路追踪系统中。这样一来,可以链路追踪系统轻松地监控和分析服务网格内的流量情况。 另外 Istio 还支持 Prometheus…

2023年7月9日 1条评论 2170点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 3, Quick Start In this chapter, we officially take the first step into learning Istio. Since the knowledge system of Istio is quite extensive, we will first quickly understand how to deploy a set of microservices using …

2023年7月9日 0条评论 110点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 3,快速入门 在本章中,我们正式迈入学习 Istio 的第一步。因为 Istio 的知识体系是较为庞大的,因此我们可以先通过本章的入门教程快速了解如何使用 Istio 部署一套微服务,以及 Istio 核心功能的使用方法,了解 Istio 可以为微服务解决什么问题。 在本章中,我们将会学习到如何部署一套微服务、如何使用 Istio 暴露服务到集群外,并且如何使用可观测性组件监测流量和系统指标。 在后面的章节中,笔者会针对每个 Isti…

2023年7月9日 0条评论 1842点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 2. Deploy Istio In this chapter, we will introduce how to deploy Istio in Kubernetes using Helm. The installation methods for Istio can be broadly classified into two categories: the first category is installation based…

2023年7月9日 0条评论 68点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 2,部署 Istio 在本章中,将会介绍如何在 Kubernetes 中使用 Helm 部署 Istio。 Istio 的安装方式主要有两类,第一类是基于 Kubernetes 原生集群或虚拟机的安装。另一种是基于 Azure、KubeSphere 等公私有云或 Kubernetes 管理平台上的安装。而在本章中介绍的是基于 Kubernetes 的 Helm 安装。 Istio 官网关于这两类部署方式还有很多小细节,读者可根据实际需…

2023年7月9日 0条评论 1702点热度 0人点赞 痴者工良 阅读全文
167891054