. NETCore ORM visit domestic daydream database

Preface Founded in 2000, Wuhan Dameng database Co., Ltd. is a basic software enterprise under China Electronic Information Industry Group (CEC). It specializes in the research and development, sales and service of database management system, and provides users with services such as big data platform architecture consultation, data technology pl ...

Posted by frontlines on Thu, 12 Dec 2019 23:14:09 -0800

WPF: WPF drawing curve

Sketch In the development of    WPF, it is often necessary to draw curves, histograms, etc. Although WPF has its own basic functions such as drawing graphics, a very basic principle of programming is to avoid repeated wheel building. The official WPF drawing curve open source library of Microsoft was found on GitHub: InteractiveDataD ...

Posted by andreasb on Mon, 09 Dec 2019 11:22:37 -0800

input(type='file ') upload multiple photos and display them to the background

The following content is the result of network excerpt and practice modification. If it is the same, please understand!!!!   1. First, the front-end page code: Where, < input type = "file" id = "file_input" name = "filepath" multiple = "multiple" / >, the multiple attribute needs to be set <styl ...

Posted by noise on Sun, 08 Dec 2019 21:25:56 -0800

C ා: decode the callback function DecCallbackFUN() using the Haikang SDK

Sketch    when using the Haikang camera to collect images, additional data such as icons and text need to be added to the images. You can choose to use the drawing callback function of Haikang SDK to overlay characters, images, etc. (please refer to the previous article); you can also use the decoding callback function of Haikang SDK ...

Posted by eekeek on Sat, 07 Dec 2019 22:00:06 -0800

[open source] fast build verification code

Instructions Support WebForm and Asp.Net Mvc to build verification code Project source code: MasterChief.DotNet.Infrastructure.VerifyCode Nuget: Install-Package MasterChief.DotNet.Infrastructure.VerifyCode Welcome Star, welcome PR; How to use To customize the verification code style, you only need to implement the ValidateCodeType abstrac ...

Posted by spooke2k on Sat, 30 Nov 2019 23:27:23 -0800

C ා asp.net MVC: remember account password with Cookie

MVC remembers account password Use cookie action Front end: 1 <div> 2 User name:<input type="text" id="UserName" value="@ViewBag.UserName"/> 3 </div> 4 <div> 5 &nbsp;&nbsp;&nbsp;Password:<input type="text" id="UserPwd" value="@ViewBag.UserPwd" style="ma ...

Posted by jdashca on Fri, 29 Nov 2019 06:19:41 -0800

Record Ocelot + SignalR multi server test

Preface There are two projects, one gateway and one SignalR Paste code 1,Gatway 1. Reference to Ocelot 2. Add a little code Startup.cs 3. Simple configuration of ocelot ocelot.json { "ReRoutes": [ { "DownstreamPathTemplate": "/{catchAll}", //Downstream path "DownstreamScheme": "ws", //https / / downstream protocol " ...

Posted by Draicone on Thu, 21 Nov 2019 06:43:25 -0800

EF operation and Linq writing record

Project summary: EF operation and Linq writing record 1. Introduction of EF After creating an MVC project, to reference the EF framework, follow these steps: 1), add project in Models 2) select Entity Data Model and fill in the name again 3) after selecting code first, select the connected database and tables, and then generate them. At th ...

Posted by Zyxist on Tue, 05 Nov 2019 10:35:31 -0800

POJ2411 Mondriaan's Dream

Yes, I plagiarized this question from LZL's blog. His question is really good and fragrant. Title Link: http://poj.org/problem?id=2411 Main idea: for a rectangle of n * m, how many ways are there to fill the rectangle with 1 * 2 small squares. (1<=n, m <= 11)  Train of thought: 1. With the experience of problem-solving, I can thi ...

Posted by kataras on Mon, 04 Nov 2019 10:10:22 -0800

FreeSql supports. NetFramework 4.0, ODBC access

It's nearly a year since FreeSql was released as an open source. At present, there are 64118 lines of code in the main warehouse. The commands counted by git command are as follows: find . "(" -name "*.cs" ")" -print | xargs wc -l Add in the code of several other expansion packages, there are about 70000 lines of source code. Warehouse address: ...

Posted by erika_web on Wed, 30 Oct 2019 19:35:57 -0700