Is there any way to provide a replacement class from a dll the bin folder? I want to replace the codebehind of a page written by a third party with my own implementation and don’t have access to the source.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have (at least) 2 possibilities:
1: Change .aspx file and change the Inherits attribute of the ‘<%@ Page’ tag.
2: Use assembly redirection described here: http://msdn.microsoft.com/en-us/library/7wd6ex19(VS.71).aspx