473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Code Behind

Hello All

I am new to ASP and my employer outsourced some web app work before I
began working here. It was written in ASP(C#). In the pages it says
the codeBehind=page.aspx.cs. I can't find this file on the server
anywhere. The reason I am looking is that we want to change some
things and add some new things. Right now I am simply trying to get
a handle on how the app flows(which webform triggers which page,
etc.). I'm assuming this is in the .cs file since there is nothing
in the .aspx file. Can someone please tell me where to find this
code???

Thanks

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 18 '05 #1
5 1251
ew******@aislp-dot-com.no-spam.invalid (lewindha) wrote in news:416d4261_4
@Usenet.com:
I am new to ASP and my employer outsourced some web app work before I
began working here. It was written in ASP(C#). In the pages it says
the codeBehind=page.aspx.cs. I can't find this file on the server
anywhere. The reason I am looking is that we want to change some
things and add some new things. Right now I am simply trying to get
a handle on how the app flows(which webform triggers which page,
etc.). I'm assuming this is in the .cs file since there is nothing
in the .aspx file. Can someone please tell me where to find this
code???


Unfortunately the code is probably NOT on your server... When you compile
ASP.NET code, the VB files get compiled into the DLL located in the BIN
directory.

To retreive your code, you'll need to call the outsourcing company or
decompile the DLL.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #2
If you don't have the CodeBehind files, you will have to ask the people to
whom the job was outsourced. The CodeBehind files are compiled into a DLL.
If they didn't give you the source code, you will have to ask them for it.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"lewindha" <ew******@aislp-dot-com.no-spam.invalid> wrote in message
news:41********@Usenet.com...
Hello All

I am new to ASP and my employer outsourced some web app work before I
began working here. It was written in ASP(C#). In the pages it says
the codeBehind=page.aspx.cs. I can't find this file on the server
anywhere. The reason I am looking is that we want to change some
things and add some new things. Right now I am simply trying to get
a handle on how the app flows(which webform triggers which page,
etc.). I'm assuming this is in the .cs file since there is nothing
in the .aspx file. Can someone please tell me where to find this
code???

Thanks

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*

Nov 18 '05 #3

I guess you are looking at a .aspx file on the server in
which case the .cs file has been compiled and will be in
the form of a dll (You will find them when you look in
the bin folder in the same directory)

you can decompile the dlls using reflector if you need
the code

-----Original Message-----
Hello All

I am new to ASP and my employer outsourced some web app work before Ibegan working here. It was written in ASP(C#). In the pages it saysthe codeBehind=page.aspx.cs. I can't find this file on the serveranywhere. The reason I am looking is that we want to change somethings and add some new things. Right now I am simply trying to geta handle on how the app flows(which webform triggers which page,etc.). I'm assuming this is in the .cs file since there is nothingin the .aspx file. Can someone please tell me where to find thiscode???

Thanks

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
.

Nov 18 '05 #4
Bad News:

Your Code Behnid tag implies the source should be in the same folder as the
..aspx

Be aware that you do not need the source to run the application as it will
be compiled into a .dll in the application's /bin folder. All you need is
this .dll and the .aspx pages.

Looks like the "outsource guy" may have been trying to make himself
indispensable:)

Not sure on the legalities, but your company should always ensure that any
code written specifically for them becomes their property so that situations
like this don't arise. As it is, if it wasn't written down that the source
was to become your property he may be entitled to bill you for its handover(?)

Meanwhile you are left with an unmaintainable application to which you
cannot make any changes - you can't recompile what you haven't got...

al*****@yahoo.com

"lewindha" wrote:
Hello All

I am new to ASP and my employer outsourced some web app work before I
began working here. It was written in ASP(C#). In the pages it says
the codeBehind=page.aspx.cs. I can't find this file on the server
anywhere. The reason I am looking is that we want to change some
things and add some new things. Right now I am simply trying to get
a handle on how the app flows(which webform triggers which page,
etc.). I'm assuming this is in the .cs file since there is nothing
in the .aspx file. Can someone please tell me where to find this
code???

Thanks

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*

Nov 18 '05 #5
You mean written in ASP.NET, eh?? I'd look in your bin directory for
the compiled code as a .dll

On 13 Oct 2004 09:57:37 -0500, ew******@aislp-dot-com.no-spam.invalid
(lewindha) wrote:
Hello All

I am new to ASP and my employer outsourced some web app work before I
began working here. It was written in ASP(C#). In the pages it says
the codeBehind=page.aspx.cs. I can't find this file on the server
anywhere. The reason I am looking is that we want to change some
things and add some new things. Right now I am simply trying to get
a handle on how the app flows(which webform triggers which page,
etc.). I'm assuming this is in the .cs file since there is nothing
in the .aspx file. Can someone please tell me where to find this
code???

Thanks

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*


Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richard Dixson | last post by:
I created a new C# web application. Basically all I am trying to do is create a table that consists of a few rows with two columns in each. And then to set those columns to text values from my...
171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
6
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp;...
17
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
1
by: Me | last post by:
Hi, I inherited a web application that has several very similar forms for gathering user data. User's must choose the form that best fits their needs and fill it out. Each form has about 15...
7
by: Alan Silver | last post by:
Hello, I am just looking at VWD and seeing what needs doing to take an existing site I've written by hand and importing it into VWD. I've already discovered that I need to rename my code-behind...
7
by: Alan Silver | last post by:
Hello, I have installed the 2.0 framework, and am looking at converting some of my 1.1 pages to use partial classes. I don't (yet) have VS2005, so I'm doing this by hand, but am having problems....
2
by: walter | last post by:
Hi, when I add a new page in my asp.net 2 project and put some controls there, everything works fine until I move the code behind into App_Code folder.--When I compile , it tells me that control...
2
by: rn5a | last post by:
Assume that a user control (MyUC.ascx) encapsulates 2 TextBoxes with the IDs 'txt1' & 'txt2' respectively. To use this user control in an ASPX page, the following Register directive will be...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.