profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/WeihanLi/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Weihan Li WeihanLi null Shanghai, China https://www.cnblogs.com/weihanli .NET Web Full Stack Engineer

dotnetcore/Natasha 786

基于 Roslyn 的 C# 动态程序集构建库,该库允许开发者在运行时使用 C# 代码构建域 / 程序集 / 类 / 结构体 / 枚举 / 接口 / 方法等,使得程序在运行的时候可以增加新的模块及功能。Natasha 集成了域管理/插件管理,可以实现域隔离,域卸载,热拔插等功能。 该库遵循完整的编译流程,提供完整的错误提示, 可自动添加引用,完善的数据结构构建模板让开发者只专注于程序集脚本的编写,兼容 stanadard2.0 / netcoreapp3.0+, 跨平台,统一、简便的链式 API。 且我们会尽快修复您的问题及回复您的 issue.

2881099/FreeRedis 459

🦄 FreeRedis is .NET40+ redis client. supports cluster, sentinel, master-slave, pub-sub, lua, pipeline, transaction, streams, client-side-caching, and pooling.

WeihanLi/DbTool 243

数据库工具,根据表结构文档生成创建表sql,根据数据库表信息导出Model和表结构文档,根据文档生成数据库表,根据已有Model文件生成创建数据库表sql

OpenReservation/ReservationServer 161

预约系统 ReservationSystem powered by asp.net core

WeihanLi/DesignPatterns 81

DesignPatterns samples by csharp on dotnetcore 《大话设计模式》 中设计模式总结/C#(.NETCore)代码

WeihanLi/AccessControlHelper 72

AccessControlHelper for asp.net mvc and asp.net core, strategy based authorization

night-moon-studio/NatashaPad 27

Another dotnet debug tool like LinqPad and dotnet fiddle, powered by Roslyn and Natasha

WeihanLi/AspNetCorePlayground 17

AspNetCorePlayground

WeihanLi/docker-env 10

some docker images build environment

WeihanLi/dotnet-httpie 8

Amazing HTTP CLI tool, dotnet tool likes HTTPie

startedspectreconsole/spectre.console

started time in 38 minutes

issue commentdotnet/sdk

Strange warning NU5132

Thanks for your answer @ryank425 , seemed the files are from Microsoft.Extensions.* package

WeihanLi

comment created time in a day

push eventWeihanLi/dotnet-httpie

weihanli

commit sha ebf36d49ac71d6874929254482f9420f34dd4bdb

Define application name as Constants

view details

push time in 2 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 17f940cb610d59ae43d044e87100471402f56590

Cleanup code

view details

push time in 2 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 160ef2e60da1af53c72c8246ad01b7b7e330ef9b

Update OutputFormatter Output port with host when is not default port

view details

push time in 3 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 8f0416ec2562e68ae783f9c590033c7156612582

Fix RequestDataMiddleware flags starts with -

view details

push time in 3 days

issue commentmsmvps/join-this-organization

join mvp

Try to access https://github.com/msmvps with the related GitHub account

JusterZhu

comment created time in 3 days

push eventWeihanLi/dotnet-httpie

Weihan Li

commit sha d0d2e244b4f4e95cfbe4c6b5e79cfaa5c8bd4a8c

update Dockerfile

view details

push time in 3 days

issue openeddotnet/sdk

Strange warning NU5132

When I build my project, I got NU5132 warnings, could not understand what the warning exactly means, could someone please help.

My project is here https://github.com/WeihanLi/dotnet-httpie

Thanks in advance.

created time in 3 days

issue commentdotnet/runtime

[API Proposal]: Add StringSplitOptions.RemoveDuplicates.

RemoveDuplicates = 4 is more reasonable for a flagged enum

AraHaan

comment created time in 3 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 061c9a07bf37d5f9a4e2985b39d76a8345996aee

Fix -h flag

view details

weihanli

commit sha 9a9c39b175197bc66087fe9062a9b6eba9151644

Add test projects

view details

push time in 3 days

startedjsuarezruiz/maui-linux

started time in 5 days

push eventWeihanLi/SamplesInPractice

weihanli

commit sha 564e38b1df3bb570bfd767cd135239f8cdf3a681

Update net6sample/LinqSample

view details

push time in 5 days

startedWeihanLi/dotnet-httpie

started time in 6 days

push eventWeihanLi/dotnet-httpie

Weihan Li

commit sha 5d64e71fe2ca036bc3242c15fc84572e71292971

Update readme

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

Weihan Li

commit sha f89de38b2bb6fb2a777956d477173b62126ff80f

Add README docker section

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

Weihan Li

commit sha 114516067af0625219eef7c517da3f2001c82139

Update Dockfile Update ARG usage

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 71b8d261b5ca6812af1225e955df5c7a69328e23

Update Readme

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 7c3cb9031f1854b0da97947ac80f8c7f2d3c60d1

Add Dockerfile

view details

weihanli

commit sha 7fd45339b45974e7db7218dcc3a89bc315f8a82d

Add ReleaseNotes.md

view details

weihanli

commit sha 1babececf590105d53c0c0d682f4e26f8f4664e2

Update Readme

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 16c6982609b93fe4383f0a1ed82a62afcc6411e0

Clean Context

view details

weihanli

commit sha bb2cd81d4c5a3b84d4e8f5592f96cdd21b7b5e1a

Add dockerfile

view details

push time in 6 days

issue commentdotnet/runtime

The version in HttpRequestMessage had no validate

Got it, great thanks @MihaZupan

WeihanLi

comment created time in 6 days

issue commentdotnet/runtime

The version in HttpRequestMessage had no validate

The request message version is the same as the request message version in the response message, while the HTTP version in the response message is 1.1, and it seemed it would not throw an exception even when I set the DefaultVersionPolicy = HttpVersionPolicy.RequestVersionExact for httpClient

image

When I set DefaultVersionPolicy = HttpVersionPolicy.RequestVersionExact for the request message, I would get an exception

image

Thanks for your quick answer @MihaZupan @Kahbazi

WeihanLi

comment created time in 6 days

push eventWeihanLi/WeihanLi.Common

Weihan Li

commit sha 2f25821641910e7f9535ae1b468773ba38601262

Add Append[Line]If with text factory

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 0c655bb35bf135d3b00c1faa834d89ad4e040648

Use args instead of GetCommandLineArgs

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 000992b9a145b8d10a813349a5491c10fccf1712

Clean code

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 0b4dbaf511366cf93be6a5480d3d2795f824354a

Update Readme

view details

push time in 6 days

issue openeddotnet/runtime

The version in HttpRequestMessage had no validate

When I try to specify the HTTP version for the HTTP request, I found that there's no validation on the version, you can set whatever version you want, the request message ToString() would output the version directly

For example:

var request = new HttpRequestMessage(HttpMethod.Get, "https://google.com")
{
    Version = new Version(4, 0)
};
Console.WriteLine(request.ToString());

output:

Method: GET, RequestUri: 'https://google.com/', Version: 4.0, Content: <null>, Headers:
{
}

while the HTTP version used is HTTP/1.1, not the 4.0 image

Maybe the request version would be misleading if the HTTP version in HttpRequestMessage is not the same with the actual HTTP version

created time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 90a9349ec3ef7e191ced9791235ae7824cc8dff9

Update package info

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha 12b0a9a74aad287bc95f5d1770f247ef6e734131

More features Implement RequestDataMiddleware and HttpSSLMiddleware Fix bug with RequestMapper

view details

push time in 6 days

push eventWeihanLi/dotnet-httpie

weihanli

commit sha cde5ebaa420e1a210685593289365cdfa2a5f317

Update OutputFormatter

view details

weihanli

commit sha 7e046778b8191c36fb53c50d527523ebc62e3f56

Remove unnecessary dependency

view details

weihanli

commit sha e07797530aef0532995f9b3c21b25e2fcb2a3828

fix cake publish

view details

push time in 7 days