Summary: Microsoft Research Institute recently opened a new C # project, Garnet, which implements the Redis protocol and can basically be seen as a substitute for Redis. Document address: https://microsoft.github.io/garnet/ A simple look shows that it is actually released as a nuget package. Through it, we can directly and quickly implement our own Redis server. read the whole passage
posted @ 2024-03-24 23:15 Tianfang Reading (201) Comments (0) Recommended (0) edit
Summary: Recently, a timeout exception of stackexchange.redis occurred in the project. I found several online articles about the exception analysis under the appendix: stackexchange.redis threw a timeout exception. Are you encountering a network or CPU bottleneck| StackExchange.Redis-docs handles dotnet co read the whole passage
posted @ 2023-11-26 15:39 Tianfang Reading (159) Comments (0) Recommended (0) edit
Summary: Untitled winform window: window shadow: https://stackoverflow.com/questions/37368452/how-to-fully-hide-the-top-bar-in-windows-form-using-c-sharp Drag: https://developer.ali read the whole passage
posted @ 2023-10-29 21:49 Tianfang Reading (16) Comments (0) Recommended (0) edit
Summary: Some outdated articles are deleted, such as those with partial duplication of technical knowledge such as wcf. Some articles can replace some code classes with more detailed articles later. The level was limited at that time and the situation has changed, but it is not good now. Some articles recorded as knowledge points can now be replaced by ai engines such as chatgpt, and the knowledge points are updated, more comprehensive and stronger. Most of the reprinted articles: reprints are basically visible only to themselves, not read the whole passage
posted @ 2023-10-29 21:49 Tianfang Reading (10) Comments (0) Recommended (0) edit
Summary: I introduced the airspace issue of WPF using WebView2 in the previous article. More than half a year after that article, there is a third party solution under that issue that is easy to use. Let me introduce it here. Introducing Microsoft Web.WebView2 component and CrissCross WPF.WebView2 component<It read the whole passage
posted @ 2023-09-16 17:31 Tianfang Reading (217) Comments (0) Recommended (0) edit
Summary: One of the functions WebView2 has always lacked is extension support. Today, I saw on its github that it has already supported extended apis: although the experimental extensions APIs are only a preview function at present, there is a high probability of official inclusion. Try them when you have time. read the whole passage
posted @ 2023-08-12 16:51 Tianfang Reading (226) Comments (0) Recommended (0) edit
Summary: As mentioned in the previous article Playwright Simple Trial, Playwright. net API does not support directly calling the DevProtocol API. Today, I tried it and found that it already supports it. Let's see if we can implement the commonly used function of obtaining resource trees and resources (usually pictures). I used puppet to implement this function in the previous article, so I changed it by reference read the whole passage
posted @ 2023-03-17 23:46 Tianfang Reading (84) Comments (0) Recommended (0) edit
Summary: When we use virtual machines, we sometimes encounter the problem of insufficient space. Although it is convenient to expand the virtual machine, it cannot be used directly after the expansion. It still needs to be adjusted in the system. In Windows, tools such as diskgenius can be used to quickly complete this step. Although there is a similar tool gparted in Linux, we often use the server version without a gui, and the corresponding commands are troublesome read the whole passage
posted @ 2023-02-06 20:00 Tianfang Reading (1253) Comments (0) Recommended (0) edit
Summary: Before the article on How to use the quic protocol was introduced in the "Quic communication in. net". In. net 7, the Quic related API has been officially available, but it is still in preview status. The basic example is as follows: server code: using system; using System.Net; using System.Net.Quic; usi read the whole passage
posted @ 2023-02-04 14:13 Tianfang Reading (198) Comments (0) Recommended (0) edit
Summary: The WebView2 for wpf control is very easy to use. However, because it is embedded into the WPF program in the way of HwndHost, like the traditional way of using HwndHost to embed WinForm components, it has a long-standing space issue in WPF. To put it simply, this is a phenomenon: components passing through HwndHost must be z- read the whole passage
posted @ 2022-12-30 00:16 Tianfang Reading (546) Comments (1) Recommended (1) edit