Using Ninject dependency injection in WebApi

Ninject dependency injection was used in MVC before, and recently in WebApi. It was found that interface injection was used in the previous MVC mode, which has always been a Null error. Some resources were queried on the Internet, and they will be used later. It is mainly divided into the following steps: Install Ninject.MVC on nuget. I instal ...

Posted by sfmnetsys on Tue, 07 Apr 2020 19:17:54 +0200

Experience summary of developing H5 page control by wechat based on Jquery WeUI

When wechat develops H5 pages, it often develops the interface effect based on WeUI or JQuery WeUI. Because I like to use JQuery on the Web interface of Asp.net, I prefer to use JQuery Weii, this essay combines the official case and the experience summary of the actual development process of the project, analyzes and summarizes the interface co ...

Posted by oc1000 on Tue, 24 Mar 2020 07:42:47 +0100

. Net image thumbnail upload general method

In daily development, we often encounter the demand of uploading pictures. Especially in the development of mall system, if the high-definition original picture is used for the display of commodity list pictures, because the high-definition original picture is relatively large, the loading time of the original picture will be greatly increased, ...

Posted by sinter4911 on Tue, 21 Jan 2020 17:40:01 +0100

Flip animation using the Composition API

1. Operation results stay Use GetAlphaMask and ContainerVisual to make Long Shadow In this article, I introduced a tomato clock with long shadows. This tomato clock uses a flip picture when switching states. As shown above, it also uses a spring animation. You can see that it bounces a little after flipping.I intended to write this animation ...

Posted by rinteractive on Fri, 03 Jan 2020 10:37:43 +0100

Create and publish a tomato clock from scratch

1. Make your own tomato clock On a PC I've been using "Little Tomato" as my tomato clock software, and I turn it on and maximize it on my secondary monitor so that not only does it do its part, but I can also tell my colleague that I'm working hard.But I always wanted to write a tomato clock software by myself. It was so itchy that I ...

Posted by neogemima on Sat, 21 Dec 2019 20:06:22 +0100

ASP.Net MVC OA project notes

1.1.1 Abstract Factory encapsulates the creation of data operation class instance, and then DBSession calls abstract factory to modify DBSession CZBK.ItcastOA.DALFactory data session layer calls data layer can not be directly new, you need to encapsulate decoupling   1.2.1 CZBK.ItcastOA.DALFactory add abstract factory class AbstractFactory 1.2 ...

Posted by Marchingknight11 on Mon, 16 Dec 2019 15:54:32 +0100

Two ways to transfer values from MVC drop-down box

http://www.cnsendblog.com/index.php/?p=137GPS platform, website construction, software development, system operation and maintenance, find Senda network technology!http://cnsendnet.taobao.com In the past, when WebForm was used, the drop-down box only needed to bind the code directly in the background. Now let's take a look at the DropDownList ...

Posted by kulikedat on Sun, 08 Dec 2019 20:53:15 +0100

Replace Word text with document, picture and table

When editing a document, you can quickly change some characters or paragraphs that need to be modified by finding and replacing them. In this article, you will learn how to replace a specified text string in a document with a Word document, picture, or table. The key points of the example are as follows: Replace text in Word with a document R ...

Posted by Chris-the dude on Fri, 06 Dec 2019 10:48:54 +0100

Redis cache in AOP mode using AspectCore

This time, the goal is to implement caching by labeling Attribute s, streamline code, and reduce code intrusion into business code. Cached content is the summary content of Service queries, without other high-level functions, to improve the response speed of multiple queries in a short time, and to properly reduce the pressure on the database. ...

Posted by esukf on Thu, 14 Nov 2019 06:40:27 +0100

Enable cross domain request (CORS) in ASP.NET Core

This article describes how to enable CORS in ASP.NET Core applications. Browser security prevents web pages from sending requests to other domains rather than serving them. This restriction is known as the same origin policy. The same source policy prevents malicious sites from reading sensitive data from another site. Sometimes, you may want ...

Posted by jmgrhm on Sun, 03 Nov 2019 18:48:21 +0100