unable to find .aspx.cs files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohitscripts
    New Member
    • Apr 2007
    • 16

    unable to find .aspx.cs files

    I was given a project(web application), which needed to be modified a little and to be maintained.
    But in the source code (that they had given me), there are only .aspx files and some .dll files(in bin). I could not find any .aspx.cs files.
    I thought they missed to gimme those files and asked them the ftp details to download the files. But i could find no .aspx.cs files there too.
    And the website is working fine. how could this be possible?
    Now anyone please tell me if there is a way to see the coding part, so that i could modify it.
    And if possible, please tell me what the previous coders might had done to hide the .aspx.cs files(still making the application to work)
    Any help or suggestions will be highly appreciated.

    thanks and regards
    rohit
  • mzmishra
    Recognized Expert Contributor
    • Aug 2007
    • 390

    #2
    If you are downloading it for the server where your application is hosted,then u will get only the aspx files and dlls,because we do not copy .cs file to the server.

    Comment

    • rohitscripts
      New Member
      • Apr 2007
      • 16

      #3
      Originally posted by mzmishra
      If you are downloading it for the server where your application is hosted,then u will get only the aspx files and dlls,because we do not copy .cs file to the server.
      thank u for your reply
      but...with out .aspx.cs files(with all the event handler coding), howz the website working.
      will these .aspx.cs files be converted to dlls.
      (if so, please tell me how to do that for my application.)
      and is there any way to see and modify the coding part.
      anticipating reply from u
      thankls and regards

      Comment

      • mzmishra
        Recognized Expert Contributor
        • Aug 2007
        • 390

        #4
        Originally posted by rohitscripts
        thank u for your reply
        but...with out .aspx.cs files(with all the event handler coding), howz the website working.
        will these .aspx.cs files be converted to dlls.
        (if so, please tell me how to do that for my application.)
        and is there any way to see and modify the coding part.
        anticipating reply from u
        thankls and regards
        yes you are correct .when you create a project and build it in visualstudio,it creates the dlls for you ,which u need to copy to the server.
        for the .cs files,I think you have to contact to the developer.

        Comment

        • mzmishra
          Recognized Expert Contributor
          • Aug 2007
          • 390

          #5
          one more thing did u try to see code behind files in visual studio by right clicking and selecting the view code option?

          Comment

          • rohitscripts
            New Member
            • Apr 2007
            • 16

            #6
            Originally posted by mzmishra
            one more thing did u try to see code behind files in visual studio by right clicking and selecting the view code option?
            hello
            yes i tried that too...but no use.By the way, i'm using vwd 2005..and when i compile my webapplication. ..no dlls are being created.
            I tried using ildasm to view the code in the dlls...but no use.
            so...is rebuilding the complete website the only option left out???

            regards
            rohit

            Comment

            • Plater
              Recognized Expert Expert
              • Apr 2007
              • 7872

              #7
              They are giving you the pre-compiled or "published" version of the website and not the actual project.
              There's really nothing you feasable you can do with it without the project files

              Comment

              • rangarao123
                New Member
                • Nov 2014
                • 2

                #8
                Hi Rohit,

                We are also facing the same issue with one of our projects. So can you help us in resolving the issue that we got struck with.

                Scenario: I was given a project(web application), which needed to be customized.
                But in this scenario also in the source code (that they had given me), there are only .aspx files and some .dll files(in bin). I could not find any .aspx.cs files.
                I also thought that they missed out to provide those files and asked them the ftp details to download the files. But i could find no .aspx.cs files there too.
                And the website is not working fine. how could this be possible?

                So please help us in resolving the issue.

                Thanks in advance.

                Comment

                • Frinavale
                  Recognized Expert Expert
                  • Oct 2006
                  • 9749

                  #9
                  It really sounds like whom ever gave you the files you currently have gave you the PUBLISHED version of the website: not the actual project.

                  Please go back to the person and ask for the project files.

                  -Frinny

                  Comment

                  • rangarao123
                    New Member
                    • Nov 2014
                    • 2

                    #10
                    Thanks for your response Frinny!!!

                    Comment

                    • Frinavale
                      Recognized Expert Expert
                      • Oct 2006
                      • 9749

                      #11
                      I'm glad we were able to help you rangarao123.

                      Comment

                      Working...