hi
i have a website that is wrote in asp.net with c#. every masterpages are published and i can't see their source code from codebehind, they don't have any .cs files.
how can i return source codes?
i'm supporting this website and the programmer is aboard and not accessible,
is there any way?
thanks.
Return codebehind for published aspx pages
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jaish MathewsRank #225 · 11K reputationPosted Apr 30, 2012, 1:45 AM EDT
Default publishing won't take .CS files. The corresponding dlls would be published along wiht content files including .aspx. But if you need .CS after publish, need to select some optional check box which will dump all files which is not recommanding. Becasue production environment should not keep such files. Ask the developer to share the development version to you so that you can see the code. Alternatively use any rreflection tools to fetch the code from assembly like .NET reflector.