Category:.NET

  • 1. File sharing service – NFS

    Time:2022-1-19

    1. NFS service foundation 1.1 working principle of NFS NFS: network file system is a kernel based file system By using NFS, applications can access files on remote systems as if they were local files, which is based on remote procedure call (RPC) RPC adopts C / S mode. The client application calls the local […]

  • New features of efcore 5 savechangeinterceptor

    Time:2022-1-19

    New features of efcore 5SaveChangesInterceptor Intro Before EF core 5 was officially released, an article on savechangeevents was published. You can move to it if you need to see itNew feature of effecore saveChanges events, interceptor support is added in later versions to facilitate implementationSaveChangesThe reuse of events is mainly introduced todaySaveChangesInterceptorTo implement log audit […]

  • C# webapi call

    Time:2022-1-19

    //Httpclient calls help class public static class HttpRequestHelper { #Region get call /// ///Asynchronous request using get method /// ///Target link ///Returned string private async static Task GetResponseAsync(string url, Dictionary header = null, Dictionary parame = null) { try { HttpClient client = new HttpClient(new HttpClientHandler() { UseCookies = false }); StringBuilder builder = new […]

  • C# more efficient WMI access through wbemtest and WMI code cretor

    Time:2022-1-19

    catalogue Step 1: Step 2: Step 3: Step 1: Find the WMI information you need on the official website (or communicate with the hardware developer about the interface and Parameter definitions you need. If you are negotiating the WMI interface with the hardware developer, see Step 2 directly); For example, I need to get display […]

  • Visual studio 2017 official offline installation tutorial

    Time:2022-1-19

    Offline installation and introduction of visual studio 2017 RTM official edition. First, go to the official website to download:https://www.visualstudio.com/zh-hans/downloads/ Introduction to vs 2017 official edition:https://www.visualstudio.com/zh-hans/vs/whatsnew/ Vs 2017 offline mode is offline only Net core part: Visual Studio Professional 2017: vs_professional.exe–layoutD:\vs2017offline–addMicrosoft.VisualStudio.Workload.NetCoreTools–langzh-CN Visual Studio Community 2017: vs_community.exe –layoutD:\vs2017offline–addMicrosoft.VisualStudio.Workload.NetCoreTools–langzh-CN Visual Studio Enterprise 2017: vs_enterprise.exe –layoutD:\vs2017offline–addMicrosoft.VisualStudio.Workload.NetCoreTools–langzh-CN After offline according […]

  • 2021-04-27 R’s lookup package

    Time:2022-1-19

    The little friends who use Excel spreadsheet software know that lookup is an easy-to-use lookup function in Excel. Now with the R version of the package, you can use it directly! Home page:https://kwstat.github.io/lookup characteristic There are many useful functions in R, such asmerge()(https://rdrr.io/r/base/merge.html)The function is great for data frame merging. However, it often returns more […]

  • Springboot integrates timed tasks and thread pools

    Time:2022-1-18

    There is a need to “remind regularly at [11:15, 14:15, 16:15, 18:00] on every working day”, which has two difficulties: The daily time is fixed and is not a cycle. It can only be configured to be executed at a fixed time point On weekdays, Saturdays and days need to be excluded, holidays need to […]

  • Mybatis plus cannot output through logback spring

    Time:2022-1-18

    Mybatis plus can print on the console, but cannot output through logback Problem descriptionThrough the official website configuration, mybatis plus is introduced into the spring boot project, but the log can only be output in the console, but not in the log file of logback //Specific reference website // https://mp.baomidou.com/guide/faq.html#%E5%90%AF%E5%8A%A8-mybatis-%E6%9C%AC%E8%BA%AB%E7%9A%84-log-%E6%97%A5%E5%BF%97 mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl Solving […]

  • C # 8.0 and Net core 3.0 advanced programming sharing note 1: getting started with c#8.0 and net core 3.0

    Time:2022-1-18

    In the process of learning c# related knowledge, we use Visual Studio code to get started with the whole c#. 1、 Installing the visual studio core environment adopt https://code.visualstudio.com/Download Download and install visual studio code. The place where I rent a house is equipped with a telecommunications network. It is found that GitHub cannot be […]

  • Differences and usage examples of hashtable and dictionary in C #

    Time:2022-1-18

    preface Yes Net framework, hashtable is system The collections namespace provides a container for processing and representing key value pairs similar to keyValue. The key can usually be used for quick search, and the key is case sensitive; Value is used to store the value corresponding to the key. The key value pairs in hashtable […]

  • What are the new features of visual studio 2017 official release for Mac

    Time:2022-1-18

    The long-awaited official version of visual studio 2017, a software development tool launched by Microsoft, will be launched soon. What are the release time of the official version of visual studio 2017 and the new features of the Mac version? Let’s witness the 20th anniversary of visual studio. Visual studio 2017 release date Now, Microsoft […]

  • Analysis of AQS source code

    Time:2022-1-18

    AQS basic structure private transient volatile Node head; // Head node private transient volatile Node tail; // The tail node, each new node, is inserted into the end, which forms a linked list //Indicates the status of the current lock. 0 indicates that it is not occupied. A value greater than 0 indicates that a […]