The aspx.designer.cs/vb file is a IDE-generated file that brings about
code separation in Web application projects. You will not see this
file in Website projects. It is not a page so you do not need to
upload it to the server. In any case, Web application projects have a
very different deployment model from Website projects. The former
compile to an assembly, on the other hand, each page/class in the
latter compiles to an assembly.

Lastly, you do not need to (should not) make changes to the designer
file because those changes will be overwritten whenever you make
certain types of changes to the .aspx design.

Hope that addresses your queries.

On Feb 9, 4:21 am, OccasionalFlyer <[email protected]> wrote:
> What is the function of an .aspx.designer.cs file? It has little
> uncommented--out code.  I don't see this type of page on a web site
> I'm struggling to maintain but didn't create.  So I don't know what to
> do with these.  I started a new project in VIsual Web Developer 2008
> Express Edition and I didn't expect this extra file and the book I'm
> reading on ASP.NET 3.5 does not mention it either.
>
>    It appears to me from dragging a simple Label web control on to the
> page that if I add a web control on to a blank web page, even if the
> control is "static" in content, I have to update not only the .aspx
> page but the aspx.cs page as well.  Is that correct?  This is based on
> experimenting but also what I've read implies the same.  Thanks.
>
> Ken

Reply via email to