Asp.net post reading

Source: Internet
Author: User

ASP. NET 3 Post reading
Measure the test taker's knowledge about the differences between action (the processing of the current form after submission is usually performed by Asp.net) and methods (the form submission method). Among them, methods generally has two values: Get and post.

1. Read the Asp.net forms and controls, especially the difference between get and post. Functions may be implemented in many cases, but the implementation details are not secure and perfect.
User security is very important, functions are perfect, and interfaces are beautiful. Once information is insecure, the harm will be unimaginable. For example, if users who know a little about the database in get and post
You can enter Delete from users in the URL. Once the user table name is users
Serious consequences. When such an SQL statement is entered, it is called SQL injection.
2. Get is restricted by parameters, so it is not suitable to use get when there are many parameters.
3. for different obtaining methods, submit different forms. Request. querystring ["Control name"], suitable for get submission; request. Form ["Control name"], suitable for post submission.
Request ["Control name"] can be submitted in either of the following ways.



Asp.net 4th post reading

Understand the general process of creating a web and the role of folder nodes after the Web is created.
The focus is on describing the development environment of.
1. Quick locating of incomplete functions: Add a complete comment to an incomplete function // todo: You can easily locate the unfinished function through the view-task list menu,
Perform a quick query on the todo annotations, and then complete the query.
2. configure external tools: Add commonly used tools through the tools-External Tools menu, and then set them. Next time, use the added external tools under the tool menu.
3. code snippet management tool: for example, after you enter propfull and press "tab", the variable and its corresponding attributes will be automatically generated. Then modify the variable.
Enter try and press ENTER tab to automatically generate trycatch code segment information


Asp.net 5th post reading

Create a page in Asp.net in two ways.
1. single page mode.
A page created by Dreamweaver is a single page.
The single-page model is characterized by HTML Tag, control code, and C # code running on the server side, all included in An ASPX page. the disadvantage of the single-page model is that the page and code are mixed, which makes maintenance more troublesome.
2. Code Page separation Mode
The advantage of the code page separation mode is that the code of the page display part and the logic control part are separated to facilitate management and maintenance, which is also the development method recommended by Microsoft.

 



Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.