Category:.NET

  • . net core 3.0 background uses httpclient to request web pages and pictures. Use core 3.0 as a simple proxy server

    Time:2019-11-20

    Objective: use the latest version 3.0 of. Net core, with the help of httpclient and host domain name agent of this machine, to achieve network request forwarding and content acquisition, and finally display to the target client! Background: I am a novice in the field of core, and I don’t use core very much, so […]

  • C call the trio controller ActiveX tutorial

    Time:2019-11-20

    Recently, because the upper computer is used to interact with trio, in order to make the interactive programming convenient, the COM component of trio is used. Record it for your own use in the future, but also for your reference! Component download address (Baidu cloud disk): https://pan.baidu.com/s/15txpl-4mnxjrlwisamkuw  1. Decompress the file after downloading, and install […]

  • Detailed explanation of. Net core2.0 log component log4net and NLog simple performance test

    Time:2019-11-20

    Simple performance test of log4net and NLog in. Net core Compare the file write performance of log4net and NLog (. NETCORE environment). If there is any error in the code and configuration, please criticize and correct it. testing environment Development tool: Vsual studio 2017 15.3 Framework version:. Net core 2.0 Operating system: windows10 enterprise 1703 […]

  • C ා detailed explanation of CDATA node content instance reading XML

    Time:2019-11-20

    First, look at the instance code: I read the following XML yesterday. I haven’t read the similar format before. I read it in a rather stupid way and record it <?xml version=”1.0″?> <response> <srvver>1.0</srvver> <srvcode>000</srvcode> <payload> <param type=”XML” key=”data”> <![CDATA[ <Response> <Execution> < status code = “0” SQL Ou code = “0” description = “execution […]

  • C × server excel template file export

    Time:2019-11-19

    A-1:Excel template export It’s very simple. After uploading the excel template to the project, save its browsing URL (https://www.cnblogs.com/lxhbky/p/excelurl), and then: Window. Location. Href = “http: // localhost: 10086 / Yunxin / resources / busroute. Xlsx” // Excel browse path Or useAll right.

  • Default interface method of C × 8.0

    Time:2019-11-19

    Example Look at the example directly There is such an interface:    Then there are three implementation classes:    Then call in the main method:  Up to now, the program can be compiled and run successfully.    IPersonInterface modification  All of a sudden, I wanted to add a new feature to all humans, for example, […]

  • . net core 2.0 how to generate a complete instance of picture verification code

    Time:2019-11-19

    Preface Picture verification code is an indispensable function in our daily development. Recently, we have met this requirement in our work. So let’s share the implementation method to you. Let’s have a look at the detailed introduction. . net core 2.0 generate picture captcha Nuget package import: zkweb.system.drawing, as follows: The code example is as […]

  • Six simple methods to export excel from C

    Time:2019-11-19

    By Johnson ManoharTranslator: Tan Kailiang, editor: Huang HaoranProduct | CSDN (ID: csdnnews) Syncfusion excel (xlsio) library is a. Net excel library. It supports users to export data from various data sources (such as data table, array, object collection, database, CSV / TSV, and Microsoft grid control) to excel in a very simple way with C […]

  • C ා netframework ා web project ා Excel data import

    Time:2019-11-18

    [recommend reading my latest core article, which is the most comprehensive introduction:C ා NETCORE ා web project ා Excel data export】     Nuget package that needs to reference npoi: npoi-v2.4.1   B-1: Excel data import — C ා get data:   /// ///Excel help class /// ///Generic class ///Generic class集合 public class ExcelHelp where […]

  • How to avoid using two foreach loops in nesting

    Time:2019-11-18

    Question:You need to judge the selected content of the drop-down box column Item2 of datagridviewrow to see whether it matches the data column Item1 of a configuration table in the database.If two foreach loops are used for matching, the logic will be complex and it is easy to break only the inner loop and ignore […]

  • JWT + log4net configuration and use details

    Time:2019-11-18

    Advantages of log4net Log4net is the next excellent open source logging component of. Net. Log4net is very powerful for logging. It can divide logs into different levels, output them to different media in different formats. Log information can be generated and output during the program running without human intervention, so that developers can find bugs […]

  • C – WinForm custom controls – dashboard features

    Time:2019-11-18

    premise It’s been 7 or 8 years since I started, I always want to make a set of beautiful custom controls, so I have this series of articles. GitHub:https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net/winform/custom/control.git NuGet Install-Package HZH_Controls Catalog https://www.cnblogs.com/bfyx/p/11364884.html Use and effect Preparation Still use GDI + to draw. If you don’t understand, Baidu will do it […]