General handlers in C #, ASP. ashx File Renaming issues

Source: Internet
Author: User

Here's a brief look at. NET, the problem of renaming generic handler files Xxx.ashx

The cause of the incident, I in the Aaa.ashx file renamed to Bbb.ashx, the page is written in the Ajax call Bbb.ashx, the call is not, look for a bit, in the Bbb.ashx file directory has 2 files: bbb.ashx, Bbb.ashx.cs

Open the Bbb.ashx and find

<%@ WebHandler language= "C #" codebehind= "Bbb.ashx.cs" class= "Pengyuanpdaweb.handle. AAA"%>

The red part of the code above is still the original name: AAA, change it to a new name: BBB, save, request again.

This article is from "It technology industry and Life" blog, please be sure to keep this source http://msuccessful.blog.51cto.com/10175231/1669624

General handlers in C #, ASP. ashx File Renaming issues

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.