Hand in hand to teach you to write a visual code generator based on sqlsugar 4 (generate entity, take SqlServer as an example, the source code is attached at the end of the article)

In the development process, it is inevitable to create entity classes. Tables with fewer fields can be written manually. However, if more fields are created manually, it is a waste of time. If a table has more than 100 fields, handwriting is not realistic. At this time, we will use some tools, such as dynamic soft code generator, code generator ...

Posted by bubbadawg on Mon, 22 Jun 2020 21:42:08 -0700

ASP.NETCore Output Folder Content as Compressed Package File Method

This article mainly tells you a way to save memory, output the contents of the entire folder as a compressed package, but in fact there is not so much memory to apply for, nor need to upgrade to create a compressed package file.The idea is to read the files one by one and output them in a compressed package format The method on each request ...

Posted by dearmoawiz on Mon, 15 Jun 2020 18:14:04 -0700

C × / vb.net add SVG picture to PDF, convert to PDF

The following content describes how to add SVG pictures to PDF documents and how to convert SVG pictures into PDF documents in C ා program. 1, Environmental preparation Download the PDF class library tool, fire.pdf for. Net hotfix 6.5.6 and above (pay attention to the version information when downloading). After downloading, extract the file, ...

Posted by heerajee on Thu, 14 May 2020 07:32:56 -0700

Statistics of ASP.NET simple hot words

1, Function introduction The user enters a character in the search box to associate hot words that begin with that character in a week.   2, Functional design: 1. Hot words list Insert a piece of data each time you search   CREATE TABLE [dbo].[SearchDetails]( [Id] [uniqueidentifier] NOT NULL,--ID [KeyWords] [nvarchar](255) NOT NULL,--S ...

Posted by maheshbaba on Sat, 09 May 2020 07:10:29 -0700

Web Api service registration and discovery based on Zookeeper

Installation and differences Please refer to my last article for Zookeeper installation http://www.cnblogs.com/woxpp/p/7700368.html   Service provision and consumption based on Nginx    Service registration and discovery based on zookeeper    The load balance of zk can be adjusted. Nginx is only able to adjust the weight, and other things t ...

Posted by Tarsonis21 on Sun, 03 May 2020 18:18:58 -0700

. NET using DAO.NET entity class model to operate database

1, New project Open vs2017 and create a new project named orm1       2, New database Open SqlServer database, create new database orm1, and create new table student.   3, New ADO.NET entity data model     Click new connection here to create a new database connection. In fact, the server name input. Represents the local server, and the defa ...

Posted by blmg911 on Thu, 30 Apr 2020 09:35:34 -0700

Application of MQTT Communication Protocol in Unity II-Implementation of Unity3D C#

The previous article explained the implementation of MQTT protocol in JS by interacting with Unity3D, which is rather rough because it is not particularly proficient with JS.In this article, Unity3D is introduced to implement MQTT protocol communication, and the process is explained in detail.MQTT is an open source communication method of IBM ...

Posted by CSB on Thu, 09 Apr 2020 15:26:03 -0700

Asp.net containerization

Note: This article is only used to discuss asp.net containerization. It is not recommended to use it in production environment (docker image is too large!!!)     Install docker Prepare a windwindows server 2016, and execute the following fame and fortune in PowerShell Install-Module DockerProvider -Force Install-Package Docker -ProviderName D ...

Posted by LDM2009 on Fri, 03 Apr 2020 20:50:30 -0700

Multithreaded Travel

In the last article, we already know what multithreading is, so what can it really do?In particular, here is a declaration that a former delegate who did not see the previous blog can go to the previous post to view, because multi-threaded to often use Entrust. Source code 1. Asynchronous and synchronous *1. Synchronization (the understanding o ...

Posted by 3_Olives on Sat, 28 Mar 2020 16:58:07 -0700

[UWP] Copy the animation of CSS Failure Art

1. Preface What is Failure Art?The LOGO of the jitter we are familiar with is just one form of failure art.It has a magical feeling, looks like it flickers, vibrates and is eye-catching.Fault Art It simulates the sensation that a faulty picture signal causes an imaging error.This failure is due to the inability of the cyan and red color block ...

Posted by Osiris Beato on Fri, 27 Mar 2020 23:24:06 -0700