Codebehind file extension .aspx.cs VS .cs

Results 1 to 2 of 2

Thread: Codebehind file extension .aspx.cs VS .cs

  1. #1

    Default Codebehind file extension .aspx.cs VS .cs

    Noobie question for .net

    For a code behind file where the file is fileone.aspx

    Any difference if the codebehind file is named
    fileone.aspx.cs
    vs
    fileone.cs

    Both work for the first example I did.

    These are created manually in a text editor ( i don't wish to debate that right now, they just are for the purposes of the question)

    Thank you,

  2. #2

    Default

    Solved it in a way, Visual studio does not see '.aspx.cs' in the Solution explorer, so '.cs' is the answer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •