Category:.NET

  • Step by step Vue + element front end application development (32) — Mobile SMS dynamic code login processing

    Time:2021-9-18

    In some systems, sometimes users forget their password and can realize the system login function by sending dynamic verification code to their mobile phone. This essay introduces how to combine the processing of SMS sending and caching module of back-end ABP framework to realize SMS dynamic code login processing. The general login methods are divided […]

  • C # realize console flying chess games

    Time:2021-9-18

    This example shares the specific code of c# console flying chess game for your reference. The specific contents are as follows using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; Namespace flying chess games { class Program { /// <summary> ///Maps /// </summary> static int[] Maps = new int[100]; /// <summary> ///User […]

  • Detailed procedure for running zkeacms on CentOS

    Time:2021-9-18

    Zkeacms core is developed based on. Net core and can run across platforms on windows, Linux and MAC. Next, let’s see how to run zkeacms on CentOS. Installing the. Net core runtime Run the following command to install the. Net core runtime sudo yum install libunwind libicu curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=843420 sudo mkdir -p […]

  • Step by step Vue + element front end application development (33) — mail parameter configuration and template mail sending processing

    Time:2021-9-17

    In system processing, it is sometimes necessary to send e-mail to notify users, such as e-mail confirmation of new users, password retrieval, and routine subscription messages, notifications and other content processing, which can be processed by e-mail. This essay introduces how to realize the mail parameter configuration management of the system and send mail based […]

  • Thoughts on memory leakage in task. Run mentioned by the boss of fine code farmer

    Time:2021-9-17

    1: Background 1. Tell a story During this period of time, the project was delayed and the overtime was severe. The blog stopped a little, but it still had to continue the technical output! The garden has been very lively recently. The leader of exquisite yard farmer shared three articles: Why use task. Run carefully[https://www.cnblogs.com/willick/p/14078259.html] […]

  • Unity common audio operation class example code

    Time:2021-9-17

    The following is a code to introduce the common audio operation classes of unity. The specific codes are as follows: using UnityEngine; using System.Collections; public class AudioPlay : MonoBehaviour { public static AudioPlay Instance; public AudioClip[] FuChuAudio; public AudioSource FCAudio; // public AudioSource BabyAudio; // Use this for initialization void Awake() { Instance = this; […]

  • Amazing ASP.NET Core 2.0

    Time:2021-9-17

    preface The change and development speed of asp.net core is fast. When you find that you have not mastered asp.net core 1.0, 2.0 is about to be released. At present, 2.0 is in Preview 1, which means that the function has been basically determined. Students who have not studied asp.net core can start from 2.0 […]

  • Tail tooth coat

    Time:2021-9-16

    Five reading modes Five reading methods depend on  IConfiguration  and  IConfigurationRoot  object 1、 Primary writing //Case insensitive   string connectionString = _ configuration[“ConnectionString”]; 2、 Binding configuration model var config = new Config01(); _configuration.Bind(config); 3、 Partial binding //Websetting is a sub object of config. Var websetting = new websetting(); _configuration.GetSection(“WebSetting”).Bind(webSetting); 4、 Register services for configuration options […]

  • C # realize a simple flying chess game

    Time:2021-9-16

    This example shares the specific code of c# implementing a simple flying chess game for your reference. The specific contents are as follows The complete code is shown below: Namespace flying chess { class Program { public static int[] Maps = new int[100]; public static int[] PlayerPos = new int[2]; public static string[] PlayerName = […]

  • Asp.net core gracefully saves user secrets in the development environment

    Time:2021-9-16

    preface In the process of application development, sometimes it is necessary to save some confidential information in the code, such as encryption key, string, user name and password. The usual way is to save it to a configuration file. In the past, we will save it to web.config, but in asp.net core, this method may […]

  • C # 9.0 new features Series 5: record and with expressions

    Time:2021-9-15

    1Background and motivation The core idea of traditional object-oriented programming is that an object has a unique identity, which is expressed as an object reference and encapsulates the variable attribute state at any time. If you change the state of an attribute, the object is still the original object, that is, the object reference has […]

  • C # realize simple ordering system

    Time:2021-9-15

    This example shares the specific code of c# implementing a simple ordering system for your reference. The specific contents are as follows Analysis of simple ordering system 1. Design interface (tag the serial number (index), name and unit price (money) of dishes to obtain the data in this control), controls involved in the design interface […]