Beef Brisket News Announcement System Summary

Source: Internet
Author: User

when learning to beef brisket, also just finished personal refactoring, had almost the same face 1/3part of the feeling is very familiar, very handy, including database design andB,DThe writing of the layer code. It's a re-understanding.SQLHelperthe perfect evolution, the powerful storage process. Use the trigger to explore (The trigger is not visible after the build, but can be queried out, and later found in each table below), followed by the establishment of the site, in fact, and the three floor almost the same,Weblayer is equivalent to ourUIlayer, just before our controls are placed in the window. Now put it in a Web page and then referenceCSSstyle to controlHTMLcontrol properties in thea style design language that truly separates Web performance from content.

Then the design of the various web pages, learned how to make the master page, make a round corner box (here is the operation of the picture, the beginning of their own downloaded pictures, found that the size of the control. Later helpless to use someone else's), among the round corner of the box, I understand that the picture becomes smaller, each time you open the page loading speed faster.

This piece of learning feeling very excited, because know a lot of things, just you can not think of it can not achieve, then the integration of Web pages. Implement the interface with the code.

After learning the feeling in addition to the excitement and there is a feeling that there is a lot of things, can say, perfectly formed, and we use only the tip of the iceberg of knowledge, this is my collation of the study record:

First, technical knowledge points:

    1. Css+div : The basic concepts of box models, block-level inline elements, standard flows, and floats are exposed here;
  1. javascript : On the error page from Span lang= "en-US" >5 second inverted to 0 seconds and admin in the master page reference to js file;
  2. JQuery : Used when changing the category JS of the JQuery framework, and use Ajax asynchronously changes the database.
  3. Third-party controls: Freetextbox and Aspnetpager are used, where errors are sometimes prompted for creation. However, it is possible to perform a browse, just to add a DLL reference.
  4. . NET intercepts the specified length of Chinese characters beyond the section with "..." instead of the Cow teacher Code link
  5. . NET generates a verification code using a generic handler : I understand the function, which has a custom method;
  6. . NET to get the MD5 code of the string : This time because of the generated ciphertext behind a space. Troubled for a half day.
  7. IIS installation of 8.0 : Visit Xin Tong Blog
  8. centralize different extension files, aspx For normal Web pages, ASPX can handle incoming requests from outside. It can then process the request and generate an HTML return as the result. ascx: It is the user's own definition of the control, the greatest advantage is to extract the common features of multiple pages, and then reference it on the required page, improve the reusability of the code . ashx: General handler. Assume that the returned non-HTML content must be implemented with a generic handler.
  9. Start building the project when you set up the application sequence, quirks understand a lot of things oh.

    The ratio of Web applications to Web sites

  10. Site of the announcement, really long insight, the original brother Siang they let us test the software when the address is so come.

Second: the problems encountered

1. Error prompt:

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvdtaxmda5nzc3nw==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center "> Matching analysis: Incorrect file format

2. operator "= =" cannot be applied to operands of type "method group" and "string"

Analysis: Assuming that there are no parentheses behind ToString , we habitually enclose it in parentheses to make it a complete method. However, when the parentheses are present, because the eyes are faster to think, the parentheses are omitted directly, and the above error occurs when executed. A bad habit may reduce your productivity.

3 . To manage the form authentication service for a Web application, this class cannot be inherited. When the news web is added, it is copied directly from the news feed, prompting: This member has been defined multiple times .

Solution: Self-established is Web application, while the video is built in Web site, and finally know CodeFile and the codebehind difference, and also know the name of the space is not. The Aspx.designer.cs file is not available;

4. Win32Exception (0x80004005): Denied access.

Analysis: Generally, by editing the "Anonymous access and validation control" validation method in the Web site's folder security, change to. The ASPNET user will be able to solve the problem.

But I did not know how the problem was conquered.

5. namespaces cannot directly include members such as fields or methods ( when generating a random number of Authenticode )

Workaround: The generic handler extension is ashx, which is thought to be aspx

6. a login function: Call B Layer method is code does not run, debugging for a few days ah;

Resolution: Password use MD5 Add a space to the conversion

Three: something I don't know.

    1. ctrl+d+k The code itself is actively aligned
    1. if statement segment double-click tab Build the basic structure yourself
    1. // plus todo:
    2. multiple-use code copied to the toolbox as a control 。 Drag
    3. View-Insert code snippet (method and stare outside plus region
    1. Div cannot be folded up: ctrl+m+m
    1. not all of them. B layers are linked to the database: for example, the business logic class (specified username and password) that landed in the brisket

Although the beef brisket system is over. It does not mean that we have mastered this knowledge, and our BS study is just beginning. Beef Brisket In the form of a project to string up the contents of BS , I hope in the back of the study continue to deepen. Slowly precipitate it.

Beef Brisket News Announcement System Summary

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.