Scaffolding Template on Asp.Net Core Razor Page

Scaffolding Template Intro We know that in Asp.Net MVC, if you use EF's DBC ontext, you can add controllers containing views through the right-click solution-add controllers-add controllers in vs, and then vs will automatically generate the corresponding CURD controllers and views according to the Model you choose. This is called ASP.NET Scaffo ...

Posted on Wed, 19 Dec 2018 22:33:05 -0800 by Liam-PHP

Cloud Server ECS Manages ECS Using OpenAPI: Elastic Release of ECS Instances Using OpenAPI

An example of ECS elastic release using OpenAPI An important feature of cloud server ECS is to create resources on demand. You can create customized resources flexibly on demand during peak business hours and release resources when completing business calculations. This article will provide a number of Tips to help you more easily release clo ...

Posted on Tue, 18 Dec 2018 22:27:04 -0800 by SeanStar

Dcloud develops app widgets that refer to third-party SDKs to eradicate illiteracy -- using third-party SDKs and packaging

After several previous articles, app is basically shaped. Running on the phone should be able to work properly. So how do you refer to a third-party sdk? Do you have a folder in hbuilder for jar packages? Obviously not. Dcloud has integrated part of SDK in this province, but most of them do not. Compared with apicloud, there are too few compo ...

Posted on Tue, 18 Dec 2018 18:33:04 -0800 by harvey

You Don't Know JS (C) -- Part I

type value Native Methods Mandatory Type Conversion grammar type 1. JavaScript has seven built-in types: null, undefined, boolean, number, string, object, and symbol, which can be viewed using the typeof operator. 2. Variables are typeless, but they hold typed values. Types define the behavioral characteristics of ...

Posted on Mon, 17 Dec 2018 03:57:05 -0800 by hawleyj

Using docker to build prometheus+grafana+consul monitoring environment under CentOS7

Steps: Install docker docker runs consul docker runs prometheus docker runs grafana Prerequisite: CentOS 7 Operating System The latest version of yum Step 1 Check the kernel version $uname -r, running docker requires the kernel version to be above 3.10. Install docker $ sudo yum install -y docker Check if the insta ...

Posted on Sun, 16 Dec 2018 20:06:04 -0800 by jcantrell

React Native combines Scrollable Tab, RefreshControl and FlatList to implement news categorization list

Just beginning to learn RN, familiar with the control and basic use. Knowledge points involved: 1. fetch network request, get splicing parameters, parse json. 2. Scrollable TabView and Scrollable TabBar Classified Layout. 3. FlatList data list. 4. Navigation routing carries parameter jump. 5. Drop-down refresh, combined with ...

Posted on Sun, 16 Dec 2018 18:33:04 -0800 by dmschenk

Spring MVC receives JSON data to Java objects and Java objects to JSON data

Today I started to write a project in the practical training course, using the SSM framework. Today, I have written the ajax data sending of login interface and login authentication code function, using bootstrap and Jquery.validator.js. When I write to Spring MVC using Ajax to send data in json format, I find that I always encounter 400 bad re ...

Posted on Sun, 16 Dec 2018 13:57:03 -0800 by prashant0812

JS Asynchronous Programming (2) - Promise, Generator, async/await

JS Asynchronous Programming (2) - Promise, Generator, async/await   In the last article, we talked about JS asynchronous programming, such as what is asynchronous, why to use asynchronous programming, and how to achieve asynchronous JS in browsers.Finally, we take along several JS asynchronous programming modes (callback, event and publish/su ...

Posted on Sun, 16 Dec 2018 13:33:03 -0800 by benson

A customized combobox with JQuery

It is required to implement a lightweight combobox that filters on the client side, supports a large amount of data (more than 1000 items), can quickly retrieve content, and supports basic operations such as data settings and activities. I've tried using Jquery UI before. Autocomplete However, when the amount of data is too large, the client's ...

Posted on Sun, 16 Dec 2018 07:18:04 -0800 by EvilWalrus

Enable ASP.NET Web API to support W3C CORS specification by extension

To support JSONP and W3C CORS specification by ASP.NET Web API is two ways to solve "cross-domain resource sharing". Support JSONP by extending ASP.NET Web API In the book, we realize the former, and in the book, we realize the former in the book of uuuuuuuuu W3C CORS Specification In this paper, we introduce the W3C CORS specificatio ...

Posted on Sun, 16 Dec 2018 03:51:04 -0800 by exeterdad