上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: public void ConfigureServices(IServiceCollection services) { services.AddControllersWithViews() .Services .AddHealthChecks(Configuration); } public vo 阅读全文
posted @ 2022-08-15 10:25 元点 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 源码 阅读全文
posted @ 2022-08-13 15:16 元点 阅读(72) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using Microsoft.AspNetCore.Http;using Microsoft.AspNetCor 阅读全文
posted @ 2022-08-12 14:45 元点 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 注意:嵌套类型字段必须是创建索引的时候映射才有效 一,创建索引testindex 二,新增数据 三,排序查询 阅读全文
posted @ 2022-08-12 11:35 元点 阅读(98) 评论(0) 推荐(0) 编辑
摘要: private Expression<T> Compose<T>(Expression<T> first, Expression<T> second, Func<Expression, Expression, Expression> merge) { // build parameter map ( 阅读全文
posted @ 2022-08-03 14:27 元点 阅读(71) 评论(0) 推荐(1) 编辑
摘要: bundleskuindex/_search 查询文档中字段lastModified值范围在2022-06-01和2022-06-05之间{ "query":{ "range":{ "lastModified":{ "gte" : "2022-06-01", "lt" : "2022-06-05" 阅读全文
posted @ 2022-06-07 09:56 元点 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 1,执行sql语句,如下,执行时间17秒左右 SELECT Id,rn,created FROM ( SELECT a.[Id] AS [Id] , row_number() OVER ( Order by a.Created desc) AS [rn], a.created FROM dbo.Li 阅读全文
posted @ 2022-06-06 15:34 元点 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 1,检查以下服务是否启动 2,检查防火墙 3,检查端口 阅读全文
posted @ 2022-05-16 10:48 元点 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 1,新建.net core3.1 webapi 2,引用:MediatR(10.0.1),MediatR.Extensions.Microsoft.DependencyInjection(10.0.1) 3,修改startup public void ConfigureServices(IServi 阅读全文
posted @ 2022-04-26 16:58 元点 阅读(148) 评论(0) 推荐(0) 编辑
摘要: .net framework 4.7.2 1,引用 Autofac 6.3.0 Autofac.WebApi2 6.1.0 2,Global.asax using Autofac;using Autofac.Integration.WebApi;using System.Linq;using Sys 阅读全文
posted @ 2022-04-23 16:39 元点 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页