The original Published time: 2009-08-26--from my Baidu article [imported by moving tools]The general direction of consideration1) Design the data access layer according to the way the data is used2) cache data to avoid unnecessary operations3)
Usually use inject more, today contact to Castle Windsor. This article is to experience the application process in ASP.Visual Studio 2012 creates an ASP. NET MVC 4 Web site.Install Castle Windsor through NuGet.Create a folder called IOC under the
Why we need documentationGood documentation makes it easier to develop and communicate back and forth.Advantages of Swagger UI documentationCan be tested on-line for convenient front-end commissioningUse steps
New WEBAPI Project
Nuget
Recently our team has been working on. NET core transformation, Web development toward the technology architecture of the front-end separation, we mainly use the ASP. Webapi to develop, start every debugging and communication with front-end people
void no return value
Ihttpactionresult
Httpresponsemessage
Custom Types
I don't want to repeat these return types here,You can refer to the blog http://blog.csdn.net/leonken88/article/details/53063693and the Great God's
New ProjectOpen VS2017 to create a new ASP. NET Core Application project, named Miniwebapi. When you are sure, select the Web API template and set authentication to no authentication.650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/4438
Recently busy refactoring project architecture design, no time to blog, and no time to reply to email and blog comments, forget you forgive me:Today to announce the structure of the design, the same no time to write the relevant introduction also
Parry Source:http://www.cnblogs.com/parry/ This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link,
Detailed description of the configuration of Spring Hibernate connecting to the oracle database, hibernateoracle
Detailed description of Spring Hibernate connection to oracle Database Configuration
The configuration of the jdbc. properties file is
JSP Spring prevents repeated login by users.
Implementation of JSP Spring to prevent repeated login by users
Spring security prevents repeated User Logon
How does spring security prevent repeated login attempts? If the user account has been
Spring BeanUtils component used in JSP development, springbeanutils
Use of Spring BeanUtils components in JSP development
Javabean used for demonstration
import java.util.Date;public class People { private String name; private int age; private
Jsp + Servlet to implement the shopping cart function, servlet shopping cart
This article provides examples of how to use Servlet to implement the shopping cart function for your reference. The details are as follows:
(1) Use servlet to implement a
SpringMVC is a simple example of uploading files. springmvc uploads files.
Simple Example of uploading files using SpringMVC
When springMVC is used for system implementation, springMVC's default parser does not include parsing for file upload, which
Tomcat configures https and access http to automatically jump to https, tomcathttps
Tomcat configures https and access http to automatically jump to https
1. Configure Tomcat, open $ CATALINA_HOME/conf/server. xml, and modify it as follows:
Modify
SpringMVC custom attribute editor details and examples
SpringMVC custom attribute editor details and examples
There are two main methods to customize spring MVC Attribute Editor. One is to use the @ InitBinder label to register an Attribute Editor
Jspstruts filters xss attacks.
How to filter xss attacks using JSP Struts
This solution uses the struts2 Interceptor to filter and transcode the submitted parameters.
Configure struts. xml
... n actions are omitted here
Java code
Detailed description of hibernate mapping configuration, hibernatemapping
Detailed description of hibernate mapping Configuration
Each hibernate will only introduce one file at startup, that is, hibernate. cfg. xml.
Mapping needs to be introduced in
In JSP development, you can log on to a single browser using the Logon account in the spring mvc project. springmvc
In JSP development, you can log on to a single browser using the Logon account in the spring mvc project.
In many web products, you
Use JSP session objects to maintain the logon status.
Http itself is a stateless protocol, that is, there is no connection between multiple requests continuously sent by the client, and the next request does not care about the status of the last
Spring Security for JSP development, springsecurity
Spring Security for JSP development
Preface:
Spring Security is a Security framework that provides descriptive Security access control solutions for Spring-based enterprise application systems. It
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.