wxy

FluentValidation验证库使用方法

FluentValidation使用方法 安装包FluentValidation与FluentValidation.AspNetCore 新建GreetingCommand.cs文件 using FluentValidation; using MediatR; names

吴晓阳 吴晓阳 发布于 2025-04-13

MediatR的使用方法

MediatR的使用方法 定义 using MediatR; namespace WebApplication1 { public class GreetingCommand : IRequest<string> { public string Name { get

吴晓阳 吴晓阳 发布于 2025-04-13

让.net9.0生成的默认网站支持swagger

让.net9.0生成的默认网站支持swagger .net9.0生成的默认网站,默认不支持swagger 我们要安装Swashbuckle.AspNetCore.SwaggerUI app.UseSwaggerUI(options => { options.SwaggerEndpoint

吴晓阳 吴晓阳 发布于 2025-04-13

Dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager. louislam/dockge: A fancy, easy-to-use and reactive self-host

吴晓阳 吴晓阳 发布于 2025-04-11

.NET Aspire 文档

https://learn.microsoft.com/zh-cn/dotnet/aspire/

吴晓阳 吴晓阳 发布于 2025-03-24

vitepress加js脚本

vitepress加js脚本 在下面文件中写js脚本 js脚本 import DefaultTheme from 'vitepress/

吴晓阳 吴晓阳 发布于 2025-03-18

drone的docker:dind镜像,将用到的密码存drone

可以将用到的密码存储在Drone中,这样做能提高安全性,避免密码硬编码在配置文件里。以下是具体步骤: 1. 准备工作 要保证你&

吴晓阳 吴晓阳 发布于 2025-03-18

Admin.NET添加开放接口

using Admin.NET.Plugin.Wms.Option; namespace Admin.NET.Plugin.HrRcs; public class RemoteFilterHandler : DelegatingHandler, ITransient { // 这里支持

吴晓阳 吴晓阳 发布于 2025-03-17

osharp集成Yitter.IdGenerator并实现分布式ID

osharp集成Yitter.IdGenerator并实现分布式ID 前言 osharp是什么?请看https://github.com/dotnetcore/osharp 安装Yitter.IdGenerator nuge

吴晓阳 吴晓阳 发布于 2025-03-14

The configured user limit (128) on the number of inotify instances has been reached

错误信息 “The configured user limit (128) on the number of inotify instances has been reached” 表明系统已达到每个用户允许的 inotify 实例的最大数量。inotify 是 Linux 内核子系统,它能让应用程

吴晓阳 吴晓阳 发布于 2025-03-12