Summary:Background: The project is upgraded toAfter Net 8, use SystemData. SqlClient connects to SqlServer and prompts the following exception SystemInvalidOperationException:“Internal connection fatal error.” Start solving the problem: (1) Excluded the connection string toread the whole passage
Summary:The project is transitioning to vue3. In order to improve development efficiency and reduce repetitive code writing, the code is completed through the Code Snippets of the VSCode editor.To achieve the effect, enter the keyword Index and press Enter. A custom code segment will appear automatically.1. Open VSCode and click File="Preferences -" Configure User Code Fragment. 2. Create a new global code fragment file, enter the file name, and enter Enter. 3. Repairread the whole passage
Summary:1、 Advantages of building vite based on Vite (it can quickly build vue projects faster than webpack packaging) 1. Quick cold start 2. Timely hot update of modules 3. Real on-demand compilation example: vite3 building vue3 project npm init vite=>select framework, select category npm install installation dependency Note: the project after vite building, do notread the whole passage
Summary:1. Introduce router npm installvue-router@42. Create a folder router and an index.js file import {createRouter, createWebHashHistory} from "vue router" const router=createRouterread the whole passage
Summary:This article mainly introduces how to configure and use the JWT Role based authorization configuration Demo demo: 1. Token generation is authenticated and authorized through Token. You need to configure the permission items corresponding to Role in Claims.Assume that the user has two permissions: "RoleA" and "RoleB". In the process of generating the token, add these two permissions claimsAdd(new Clairead the whole passage
Summary:What is Hadoop?Distributed system infrastructure developed by the Apache Foundation Storage, analysis and calculation of massive data Hadoop architecture history: 1.0 HDFS and MapReduce 2.0 added YARN (task scheduling) on the basis of 1.0, freeing MapReduce 3.0 and 2.0 similar, focusing on optimizing Hadoop advantages: 1) high reliabilityread the whole passage
Summary:Recently, we need to build our own Nuget package management function in the platform to uniformly control Nuget packages, which is conducive to pulling down Nuget packages in the intranet environment and improving the speed of CICD.I checked some information, starting with the open-source project Baget.Baget source code address:https://github.com/loic-sharma/BaGet, can set up a private Nuget serverread the whole passage
Summary:Recently, I made a WeChat applet and wanted to publish it through Uniapp. I sorted out the problems encountered in the development process. 1. Page jump and parameter transfer are generally string types, and the type of bool transfer will also be treated as a string. For example, click page jump and parameter transfer, and the jump page receives the parameter isgas uni.reLaunch ({url: '/pages/cenread the whole passage
Summary:Shopify background introduces what is an e-commerce platform developed by Shopify programmers. Based on Ruby On Rails, it is the largest independent mall platform in foreign countries. There is no restriction on products, categories, and quantities. It only needs to improve and maintain each product and bring traffic to your website.Different from domestic Taobao and Jingdong e-commerce platforms: similar to Taobao and Jingdong platforms with large trafficread the whole passage
Summary:In the process of studying the core source code, it is found that many delegation concepts are used to encapsulate custom components, which makes the code more concise and efficient. The current usage scenarios of delegation are divided into two: 1) extending custom components (initialization of delegation) 2) avoiding circular call dependency between class libraries (delegation assignment) Preparation: What is delegation?It is a reference type used to pass a method as a parameter to other method delegates. Simple example: 1/read the whole passage