On the first line of your aspx page within the <
%@
Page
/
>
tag
you’ll probably see an attribute like : inherits="yourPageClass, App_Web_kh7-x3ka"
.
Delete the “App_Web_XXXX
” part and add the CodeFile attribute pointing to your code behind file:
CodeFile
="
yourPageFile.aspx.cs
"