Understanding ASP.NET Core - Filters

Note: This article is part of the understanding ASP.NET Core series. Please check the top blog or Click here to view the full-text catalog Filter overview If you came all the way from ASP.NET, you must be no stranger to Filter. Of course, the ASP.NET Core still inherits the Filter mechanism. The filter runs in the filter pipeline. This is an o ...

Posted by dmcentire on Tue, 30 Nov 2021 03:24:44 +0100

Understanding ASP.NET Core - file server

Note: This article is part of the understanding ASP.NET Core series. Please check the top blog or Click here to view the full-text catalog Provide static files Static files are stored in the Web Root directory (Web Root) by default, and the path is the wwwroot folder under the project root directory (Content Root), that is, {Content Root}/wwwr ...

Posted by pojr on Tue, 02 Nov 2021 01:43:36 +0100

Web page loading process + performance optimization + security

1, Web page loading process 1. Form of loading resources htm code. Media files, such as pictures, videos, etc. Javascript CSS. 2. Process of loading resources DNS resolution: convert domain name to IP address.The browser sends an http request to the server according to the IP address.The server processes the http request and ret ...

Posted by jolly on Fri, 22 Oct 2021 12:43:31 +0200

Asp.Net Core security - client IP whitelist restrictions

catalogue preface middleware Action filter summary preface This article shows how to set up two ways of IP whitelist verification in ASP.NET Core applications. You can use the following 2 methods: Middleware for checking the remote IP address of each request. MVC action filter that checks the remote IP address of a request for a s ...

Posted by LAEinc. Creations on Sat, 09 Oct 2021 04:02:51 +0200

Docker compose one click deployment of distributed configuration center Apollo

brief introduction When talking about distributed, we must think of distributed configuration center, distributed log, distributed link tracking, etc In distributed deployment, businesses often have many configurations. For example, applications need to read some configuration information during startup and operation. Configuration basically ...

Posted by michibk on Thu, 23 Sep 2021 07:34:26 +0200

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