(1. College of Fundamental and Information Engineering, Y A U, Kunming 650201, China;2. College of Water Resources Hydraulic Power and Architectural, Y A U, Kunming 650201, China;3. College of Management and Economics, Kunming University of Science and Technology, Kunming 650093, China)
Reusable code in ASP.NET is used for constructing dynamic web pages. This paper introduces reusable code in ASP.NET. It expounds four kinds of methods of reusable codes, including their definitions, how to create them and how to quote them in web form respectively. Then this article makes a comparison between them from different angles. Finally it illustrates how to build an ASP.NET application using reusable codes. By co-operation with four kinds of reusable codes, the application is made of modules and has less complexity, high quality and easy maintenance.