[.NET] Step by step build a simple MVC website - BooksStore

Step by step build a simple MVC website - BooksStore brief introduction The main functions and knowledge points are as follows: Classification, product browsing, shopping cart, settlement, CRUD management, paging and unit testing. [Remarks] The project is developed using VS2015 + C.   I. Creating Project Architecture 1. Create a new solu ...

Posted by n3ightjay on Sun, 14 Jul 2019 12:00:10 -0700

03-EF Core Notebook Query Data

EF Core uses Linq to query data. Basic Query Microsoft provides more than 100 examples to demonstrate queries at https://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b We can make a simple query through the following code: //Get all the data var blogs = context.Blogs.ToList(); //Getting a single entity var blog = context.Blogs.Single(b =&gt ...

Posted by countrygyrl on Sun, 14 Jul 2019 09:50:56 -0700

Java Basic Tutorial - Serialization

serialize Serialization: Serialize, which writes Java objects to IO streams (which can be stored in databases, files, etc.) Deserialize, which reads and restores Java objects from an IO stream. So to understand: serialization is to seal the object, and deserialization is to unblock. Objects contain not only characters, but more non-characters, ...

Posted by Justin98TransAm on Fri, 12 Jul 2019 16:38:04 -0700

Learn Linux Common bash Command in 10 Minutes

Catalog basic operation 1.1. File operation 1.2. Text operation 1.3. Directory operation 1.4. SSH, System Information-Network Operation Basic Shell Programming 2.1. variable 2.2. String substitution 2.3. function 2.4. condition 2.5. loop Skill debugging 1. Basic Operations a. export Display all environment variables. If you want to ...

Posted by FortMyersDrew on Fri, 12 Jul 2019 16:17:23 -0700

Java Basic Tutorial - List (List)

Overview of collections Collection in Java refers to a series of interfaces and classes for storing data, which can solve complex data storage problems. Guide: import java.util. *; The simplified set frame diagram is as follows: List. List ArrayList List is an interface: public interface List<E> extends Collection<E>{...} ArrayList ...

Posted by cdherold on Fri, 12 Jul 2019 13:37:24 -0700

Java Basic Tutorials - Date and Calendar classes

Both the Date and Calendar classes are classes about dates, both in the java.util package and require import when used. Date Objects of the java.util.Date class are used to represent time and date. The most frequently used object is to get the current date and time of the system, accurate to milliseconds. There are two Date classes in Java, an ...

Posted by stilgar on Fri, 12 Jul 2019 12:14:29 -0700

Three PHP Extension Installation Methods under CentOS

Under CentOS, PHP has many ways to install and expand, including package-managed yum installation, pecl installation, and source code compilation installation.Package-managed installation and uninstallation is particularly convenient, while source-code-compiled installation is convenient for parameter tuning.Generally build the management insta ...

Posted by Ionisis on Thu, 11 Jul 2019 17:04:13 -0700

Angular JS1.X Learning Notes 12-Ajax

Speaking of Ajax, you must be thinking about XMLHttpRequest, $. ajax(), cross-domain, asynchronous and so on. This article will discuss Ajax of Angular JS. A simple example    <!DOCTYPE html> <html lang="en" ng-app='myApp'> <head> <meta charset="UTF-8"> <title>ajax1</title> </head> <body n ...

Posted by cybtec on Thu, 11 Jul 2019 12:01:37 -0700

Decorator Pattern With Laravel Decorator Mode

Decorator Pattern s Decorator Model Outline: 1. A beginner's doubts 2. Characteristics of Decorator Model 3. Simple case Masters Decorator Mode 4. Application of Decorator Mode in Laravel Confusing: Before I started to study the source code of laravel, I knew little about Decorator Mode, but when I created a middleware, I still did ...

Posted by kratos-2012 on Thu, 11 Jul 2019 11:32:39 -0700

CentOS 7 YUM 10-minute Quick Installation LNMP Environment Detailed Tutorial

Source Code Compilation and Installation LNMP Although the environment is easy to customize, for small servers, the long compilation time makes it impossible to wait. It would be much better if the environmental installation could be completed in 10 minutes. So how to install it quickly in 10 minutes? LNMP Environment, the answer is to use ...

Posted by jcrensha627 on Wed, 10 Jul 2019 14:38:01 -0700