473,396 Members | 1,900 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 for ASP.NET 1.0 App

I am learning ASP.NET 2.0 while working to modify an ASP.NET 1.0
application. Here is the first line of one of the files (default.aspx):

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="vwma._default"%>

All I have are the files on the server. There is no file named
default.aspx.vb nor is there a file named vwma._default. Where is the code
for this page?

I have read that all the VB code can be compiled into a DLL, but which DLL
is this?

Thanks!
Tony
Jun 23 '06 #1
3 985
Tony
From my limited knowledge it looks like the code behind files are missing from your project. Are you sure you have the master copy?

Regards

Jared
Anthony Bollinger wrote:
I am learning ASP.NET 2.0 while working to modify an ASP.NET 1.0
application. Here is the first line of one of the files (default.aspx):

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="vwma._default"%>

All I have are the files on the server. There is no file named
default.aspx.vb nor is there a file named vwma._default. Where is the code
for this page?

I have read that all the VB code can be compiled into a DLL, but which DLL
is this?

Thanks!
Tony


Jun 23 '06 #2
"Anthony Bollinger" <to*******@NEVERsendto.org> wrote in message
news:O7**************@TK2MSFTNGP03.phx.gbl...
I am learning ASP.NET 2.0 while working to modify an ASP.NET 1.0
application. Here is the first line of one of the files (default.aspx):

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="default.aspx.vb" Inherits="vwma._default"%>

All I have are the files on the server.
Ah - then you have a bit of a problem...
There is no file named default.aspx.vb
But there was once - that's where all the VB.NET code for the page in
question was stored.
nor is there a file named vwma._default. Where is the code for this page?
vwma_default is the name of a class, not necessarily the name of a class
file, though the two are often the same...
I have read that all the VB code can be compiled into a DLL, but which DLL
is this?


Almost certainly the same name as the web project, which will almost
certainly be found in the \bin folder.

Basically, you have three choices here:

1) Find (one way or another) the original source files for the web app.
Where's the original developer? Was it developed under some sort of version
management system e.g. Visual SourceSafe? Backup tapes? Etc.

2) Find a utility that will decompile the DLL file(s) into their original
source code. However, this is not guaranteed to solve all your problems, nor
will it necessarily extract all the compiled code into neatly arranged and
separated VB modules.
http://www.google.com/search?sourcei...T%22+decompile

3) Assuming the existing site is actually deployed and running somewhere,
reverse-engineer it i.e. use it as a prototype and rewrite it in ASP.NET 2.

You have my sympathies - most developers (especially contractors) who've
been around for a while have encountered something similar to this at least
once. About 5 years ago, just as the early pre-release of .NET was filtering
through, I had to reverse-engineer a middle-tier component written in CORBA,
in between an ASP front-end and SQL Server 6.5 back-end. No source code, no
documentation, no nothing! Easiest way turned out to be to examine SQL
Server trace logs ... :-)
Jun 23 '06 #3
Thanks for the replies. Based on your comments and as I suspected I have no
source code. I will see what the DLL will do for me. I've done this before
on other platforms . . . rewrite from scratch a system you don't know. 8^P

Thanks,
Tony
Jun 23 '06 #4

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

Similar topics

51
by: Mudge | last post by:
Please, someone, tell me why OO in PHP is better than procedural.
9
by: bigoxygen | last post by:
Hi. I'm using a 3 tier FrontController Design for my web application right now. The problem is that I'm finding to have to duplicate a lot of code for similar functions; for example, listing...
4
by: jason | last post by:
Hello. Newbie on SQL and suffering through this. I have two tables created as such: drop table table1; go drop table table2; go
16
by: Dario de Judicibus | last post by:
I'm getting crazy. Look at this code: #include <string.h> #include <stdio.h> #include <iostream.h> using namespace std ; char ini_code = {0xFF, 0xFE} ; char line_sep = {0x20, 0x28} ;
109
by: Andrew Thompson | last post by:
It seems most people get there JS off web sites, which is entirely logical. But it is also a great pity since most of that code is of such poor quality. I was looking through the JS FAQ for any...
5
by: ED | last post by:
I currently have vba code that ranks employees based on their average job time ordered by their region, zone, and job code. I currently have vba code that will cycle through a query and ranks each...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Guys, Today we are going to look at Code Access Security. Code access security is a feature of .NET that manages code depending on its trust level. If the CLS trusts the code enough to...
18
by: Joe Fallon | last post by:
I have some complex logic which is fairly simply to build up into a string. I needed a way to Eval this string and return a Boolean result. This code works fine to achieve that goal. My...
37
by: Alan Silver | last post by:
Hello, Newbie here, so please forgive what is probably a basic question ... I see a lot of discussion about "code behind", which if I have understood correctly, means that the script code goes...
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)...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.