I’m creating a webhandler and want to include classes from another file. How do I do this?
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.
Move the code from the
.aspxfile to a.vbfile. If the.vbfile is not in the same project as the.ashxfile, then compile the file into an assembly and reference the assembly in the project where the.ashxexists. Then you can instantiate the classes in thevbfile in yourashx.