asp.net core hands-on item (09) - exception handling

This article explains the technical essentials related to asp.net core exception handling. Configuring the asp.net core development environment Asp.net core divides the development environment for Web applications into Development, Staging, and Production. These different environments mean self-describing and are no longer explained. In a dev ...

Added by internet-solution on Sat, 25 Sep 2021 20:08:38 +0300

SMVC1: introduction, case and principle of spring MVC

1. Introduction 1.1 MVC MVC: model (dao, service), view (jsp) and controller (servlet). MVC is not a design pattern, but an architecture pattern. Of course, in the early web development, Model1 is used. In Model1, it is mainly divided into two layers: view layer and model layer. 1.2 SpringMVC Definition: Spring MVC is a lightweight Web fram ...

Added by peri on Fri, 24 Sep 2021 12:31:55 +0300

Execution process, Controller, RestFul style, data processing and jump of Spring MVC

Spring MVC-1 summary Spring MVC is a part of the Spring Framework. It is a lightweight web framework based on java to implement mvv. View official documents: https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc Why should we learn spring MVC? Features of Spring MVC: Lightweight, easy to learnFunny, request resp ...

Added by spheonix on Wed, 22 Sep 2021 19:22:59 +0300

Spring MVC restful style to realize addition, deletion, modification and query

Restful style: A software architecture style, design style, not a standard, only provides a set of design principles and constraints. It is mainly used for client and server interaction software. The software designed based on this style can be more concise, more hierarchical, and easier to implement caching and other mechanisms. URL definiti ...

Added by cyrixware on Tue, 21 Sep 2021 23:05:31 +0300

Using ASP.NET MVC framework to build login site summary

After a few days of simple learning of ASP.NET MVC framework and building a simple login site, I have a more overall understanding of Microsoft's MVC framework, including its structure on VS, the relationship between MVC layers, etc. Here I make a simple personal learning record and summarize the small project of building a login site. In my o ...

Added by richie19rich77 on Mon, 20 Sep 2021 08:35:37 +0300

mybatis study notes

MyBatis Chapter I framework overview 1. Three tier architecture Basic concepts of MVC In web development, mvc architecture pattern is used. Model: data, View: View, Controller: Controller Controller: receives the request, calls the service object, and displays the processing result of the request. Currently, the servlet is used as th ...

Added by adrian28uk on Thu, 16 Sep 2021 01:03:55 +0300

springboot uses filters and interceptors to design login-state interfaces

Scenario: You need to write a login-enabled interface to inject the token-to-object request into the Controller's method, similar to @RequestBody, where token is inside the header where the request exists. Design idea: use a filter to get the token inside the request, get the token into a user object, then save the object into the attribute s ...

Added by gwh on Sun, 12 Sep 2021 20:07:15 +0300

Custom MVC framework

1, Mind map   2, Custom MVC 1. What is MVC?           MVC: ① Model layer is used to encapsulate; ② view layer is used to display   ③ Control layer                       Used to accept browser requests for processing 2. Deficiency of previous Codes: & ...

Added by insanityonline on Sat, 04 Sep 2021 05:15:54 +0300

Handwritten spring Chapter 2 - writing extensible containers using design patterns

preface Based on the previous chapter Handwritten spring Chapter 1 - Basic container construction , we have made a simple spring container to complete bean injection, but we still have many deficiencies in function and architecture design. requirement analysis In terms of framework design, we believe that the architecture must ensure th ...

Added by TEENFRONT on Fri, 03 Sep 2021 07:34:44 +0300

Comprehensive analysis of advanced core knowledge in Java, nginx architecture diagram

<servlet-name>springmvc</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet </servlet-class> <!-- If not set init-param Label, you must/WEB-INF/Create under xxx-servlet.xml File, where xxx yes servlet-name The name of the configuration in. --> <init-param> <param-name>co ...

Added by mistercoffee on Thu, 02 Sep 2021 23:37:18 +0300