The use of sql transaction and its skill arrangement

The use of sql transaction and its skill arrangement Summary: In the actual project development, in order to ensure the consistency of data operation results and other requirements, transaction is an essential solution tool. According to the implementation principle of SQL server, in fact, every execution statement of SQL server is a transac ...

Posted by macleo on Wed, 23 Oct 2019 04:43:14 -0700

. Net TCP exploration - TCP server development (listening to multiple client requests at the same time)

Recently, I read the works written by the great God in the garden.( Interviewer, don't ask me three handshake and four wave again. )Can't help writing a program to test it. Many examples have been found on the Internet, most of which only implement TCP point-to-point communication, but in practical applications, a server port often listens to m ...

Posted by FeralReason on Fri, 18 Oct 2019 07:44:45 -0700

[learning notes] GitHub chapter of third party login

The first step is preparation. Get Client ID and Client Secret 1. Log in GitHub official website and click Setting, as shown below: 2. Continue, click Developer settings, as shown below: 3. Continue, click Oauth Apps, as shown below: 4. Continue, click new origin app, as shown below: 5. Continue. After filling in, click Register ap ...

Posted by Waseem Ullah Kh on Thu, 17 Oct 2019 07:35:37 -0700

Perfect implementation of saving and loading easyui datagrid custom adjustment column width location hiding property function

Requirements & Scenarios Example table query is the most used and basic function in business system, but it is also the most common adjustment. Different users have different requirements for data. So after the system is formally used, as a development, they would like to sit on the business side and adjust according to their requirements. ...

Posted by Paul1893 on Tue, 08 Oct 2019 19:26:34 -0700

asp.net Create Virtual Directory iis Create Virtual Directory

These days I received a small project of file management query system and trampled through the pit. In fact, the functions are very simple, roughly requiring customers to have many pdf documents, in order to facilitate management, all to develop a file management system equivalent to, I happen to have a ready-made file management system, can b ...

Posted by mrjameer on Tue, 08 Oct 2019 04:48:03 -0700

log4net Quick Start

Original address: https://www.cnblogs.com/lsgsanxiao/p/5845300.html Slight deletion 1. configuration files, you can create a log4net.config file separately, then specify the directory manually, or insert the following code under the app.config or web.config node of the project <?xml version="1.0" encoding="utf-8" ?> <configuratio ...

Posted by bznutz on Sun, 06 Oct 2019 20:08:13 -0700

On.NET HttpClient way to get small code (Er Weima)

With the hot application of small programs, there are many demands for small program development on the market. Recently, we analyzed the requirement of generating a small program code, which required that scan code jump to the specified page of the small program (with parameters). After looking at the official document of the small program and ...

Posted by Edgewalker81 on Sat, 05 Oct 2019 16:31:18 -0700

Anonymous Type of ASP.NET MVC Action Passing Value to View

In the process of using ASP.NET MVC, we must all have encountered a problem: how can our Action pass anonymous type values to the view, which can not be achieved without special processing. Next, let's look at an example: In our control: using System.Collections.Generic; using System.Web.Mvc; namespace TianYa.DotNetShare.MvcDemo.Contro ...

Posted by Elemen7s on Mon, 30 Sep 2019 14:44:23 -0700

Filters in ASP.NET MVC

Here, examples are given to illustrate the usage of various filters. If there are some mistakes, please ask God to point out and discuss them together. 1. ActionFilter method filter: The interface is called IActionFilter, which executes before/after the controller method call. In the new MVC program, add a class MyFilter1Attribute and inheri ...

Posted by rscott7706 on Mon, 30 Sep 2019 09:32:42 -0700

NET MVC5 Brief Introduction to Filter and AuthorizeAttribute Authentication

In webform, the process of validation is roughly as follows:     In AOP:     In Filter:     AuthorizeAttribute permission validation After login, you have the right to control. Some pages need user login to access. You need to add a validation to the visiting pages, and you can't use every action once. 1. Write a Custom Authori ...

Posted by matthewst on Mon, 23 Sep 2019 08:41:34 -0700