deletion of aspx file from the project

  • Thread starter rinkal brahmbhatt
  • Start date
R

rinkal brahmbhatt

what if i delete an aspx file from my project if i had compiled the
project once....will that project run without any error.....or will i
need the aspx file after compilation
 
L

Lau Lei Cheong

if no page will redirect the user to the ASPX page and your other files,
then there should be no problem.

if other files will call the static methods of the file, then delete the
aspx.cs file will result in error if you need to recompile it later...

Note that aspx file is the UI and aspx.cs is the codebehind for normal
VS.NET configuration, if both of them are placed in the same file, the
comments for aspx.cs also applys for the aspx file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top