c# - Publish Web Site + reverse engineer and get back .aspx? -
actually 2 links talks .net reflector. problem when choose publish website option website in visual studio, , in next window comes up, uncheck 3 options are
allow precompiled site updatable --> not checked
use fixed naming , singe page assemblies -->not checked.
enable strong naming on pre-compiled assemblies --> not checked.
in location files placed , can see .aspx file has content marker file generated precompilation tool, , should not deleted!.
now in current scenario can facing, person has published website , using publish web site option , deleted existing dotnet code. if reverse engineer using .net reflector, .aspx.cs files, cannot .aspx files.. .aspx file contents represented class inherits page class of dotnet. below sample snippet reflector
public class homepage : page, irequiressessionstate { // fields protected htmlform form1; protected literal invalidportalheader; protected literal invalidportaltext; protected table table1; .................. this.
if code generated in format, have add new controls webpage in format. there way can .aspx file (not .aspx.cs file), can add new controls label, textbox @ design time using visual studio.
is there idea .aspx file original code?
Comments
Post a Comment