473,466 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

New to .net need help/explanation

Hi,

I'm new to asp.net and visual studio .net.

I'm trying to fix a few problems on a friend's web site and don't really
understand how .net works.

The site is in .net. All asp.net pages have codebehind specified.
Does this mean that the vb code has been compiled?
I notice that I can delete or rename the aspx.vb file and it doesn't
effect the functioning of the site.

If all the code has been compiled, do I need the project file? Can I make
mods without the project file? If yes, how?

Sorry if my questions might be way off target. I hope someone can set me on
the right track.

Thanks!!!

Nov 18 '05 #1
4 1137
Code behind code is compiled in ta DLL placed in the bin directory under the
site root...

Patrice

--

"Dave" <st****@games.com> a écrit dans le message de
news:O5**************@TK2MSFTNGP11.phx.gbl...
Hi,

I'm new to asp.net and visual studio .net.

I'm trying to fix a few problems on a friend's web site and don't really
understand how .net works.

The site is in .net. All asp.net pages have codebehind specified.
Does this mean that the vb code has been compiled?
I notice that I can delete or rename the aspx.vb file and it doesn't effect the functioning of the site.

If all the code has been compiled, do I need the project file? Can I make
mods without the project file? If yes, how?

Sorry if my questions might be way off target. I hope someone can set me on the right track.

Thanks!!!

Nov 18 '05 #2
Thanks Patrice,

How can I edit these pages if I don't have the visual studio .net project
file?

Dave
"Patrice" <no****@nowhere.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
Code behind code is compiled in ta DLL placed in the bin directory under the site root...

Patrice

--

"Dave" <st****@games.com> a écrit dans le message de
news:O5**************@TK2MSFTNGP11.phx.gbl...
Hi,

I'm new to asp.net and visual studio .net.

I'm trying to fix a few problems on a friend's web site and don't really
understand how .net works.

The site is in .net. All asp.net pages have codebehind specified.
Does this mean that the vb code has been compiled?
I notice that I can delete or rename the aspx.vb file and it doesn't
effect the functioning of the site.

If all the code has been compiled, do I need the project file? Can I make mods without the project file? If yes, how?

Sorry if my questions might be way off target. I hope someone can set

me on
the right track.

Thanks!!!


Nov 18 '05 #3
The command line compiler is part of the .NET framework (vbc.exe). Basically
you should be able to compile all vb files that are under the site root. The
dll should then go in the bin directory...

See :
http://msdn.microsoft.com/library/de...bycategory.asp

A bit strange as it looks like the project was made using VS.NET ?

It could look like :
@echo off
SET v=v1.1.4322
SET compiler=c:\Windows\Microsoft.NET\Framework\%v%\vb c

%compiler% /out:<DLLPath>\My.dll @options.rsp <Root>\*.vb

With something like :
/quiet
/imports:System
/imports:System.Data
/imports:System.Web.UI.htmlControls
/imports:System.Web.UI
/imports:Coteba.Web.UI
/imports:System.Collections
/imports:Microsoft.VisualBasic
/imports:System.Web.UI.WebControls
/r:Microsoft.VisualBasic.dll
/r:System.Xml.dll
/optioncompare:text
/r:System.dll
/r:System.Data.dll
/r:System.Web.dll
/r:System.Web.Services.dll
/r:System.Web.Mobile.dll
/rootnamespace:MyNameSpace
/t:library

in the response file...
Patrice

--

"Dave" <st****@games.com> a écrit dans le message de
news:OZ*************@TK2MSFTNGP11.phx.gbl...
Thanks Patrice,

How can I edit these pages if I don't have the visual studio .net project
file?

Dave
"Patrice" <no****@nowhere.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
Code behind code is compiled in ta DLL placed in the bin directory under

the
site root...

Patrice

--

"Dave" <st****@games.com> a écrit dans le message de
news:O5**************@TK2MSFTNGP11.phx.gbl...
Hi,

I'm new to asp.net and visual studio .net.

I'm trying to fix a few problems on a friend's web site and don't really understand how .net works.

The site is in .net. All asp.net pages have codebehind specified.
Does this mean that the vb code has been compiled?
I notice that I can delete or rename the aspx.vb file and it

doesn't
effect the functioning of the site.

If all the code has been compiled, do I need the project file? Can I make mods without the project file? If yes, how?

Sorry if my questions might be way off target. I hope someone can set

me
on
the right track.

Thanks!!!



Nov 18 '05 #4
Thanks Patrice,

I'll give that a try.

Dave

"Patrice" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
The command line compiler is part of the .NET framework (vbc.exe). Basically you should be able to compile all vb files that are under the site root. The dll should then go in the bin directory...

See :
http://msdn.microsoft.com/library/de...bycategory.asp
A bit strange as it looks like the project was made using VS.NET ?

It could look like :
@echo off
SET v=v1.1.4322
SET compiler=c:\Windows\Microsoft.NET\Framework\%v%\vb c

%compiler% /out:<DLLPath>\My.dll @options.rsp <Root>\*.vb

With something like :
/quiet
/imports:System
/imports:System.Data
/imports:System.Web.UI.htmlControls
/imports:System.Web.UI
/imports:Coteba.Web.UI
/imports:System.Collections
/imports:Microsoft.VisualBasic
/imports:System.Web.UI.WebControls
/r:Microsoft.VisualBasic.dll
/r:System.Xml.dll
/optioncompare:text
/r:System.dll
/r:System.Data.dll
/r:System.Web.dll
/r:System.Web.Services.dll
/r:System.Web.Mobile.dll
/rootnamespace:MyNameSpace
/t:library

in the response file...
Patrice

--

"Dave" <st****@games.com> a écrit dans le message de
news:OZ*************@TK2MSFTNGP11.phx.gbl...
Thanks Patrice,

How can I edit these pages if I don't have the visual studio .net project
file?

Dave
"Patrice" <no****@nowhere.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
Code behind code is compiled in ta DLL placed in the bin directory
under the
site root...

Patrice

--

"Dave" <st****@games.com> a écrit dans le message de
news:O5**************@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I'm new to asp.net and visual studio .net.
>
> I'm trying to fix a few problems on a friend's web site and don't really > understand how .net works.
>
> The site is in .net. All asp.net pages have codebehind specified.
> Does this mean that the vb code has been compiled?
> I notice that I can delete or rename the aspx.vb file and it
doesn't
> effect the functioning of the site.
>
> If all the code has been compiled, do I need the project file? Can

I make
> mods without the project file? If yes, how?
>
> Sorry if my questions might be way off target. I hope someone can
set me
on
> the right track.
>
> Thanks!!!
>
>
>



Nov 18 '05 #5

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

Similar topics

2
by: Carolyn Gill | last post by:
I have already created an asp login/database for a learning/quiz section on a small site. There will be multiple quizzes through the site and what I need now would be help: tutorials or advice that...
2
by: Susan Bricker | last post by:
Greetings. Before I begin, I have been stuck on this problem for about a 5 days, now. I have tried and just seem to be not getting anywhere. I know that the explanation is lengthy, but I am a...
3
by: ash | last post by:
Hey I am new, but I don't have time to intruduce myself yet. I am intro to C++ and this is a programme I have to write. all the direction are here, It will be very nice of someone to figure this...
17
by: Hazz | last post by:
In this sample code of ownerdraw drawmode, why does the '(ComboBox) sender' line of code need to be there in this event handler? Isn't cboFont passed via the managed heap, not the stack, into this...
7
by: Mahesh Devjibhai Dhola | last post by:
Hi, I want to develop p2p (peer-to-peer) communication connection for chat in ..Net (Lang: c# - preferable) NOTE: if two LAN are behind their own router then also it should work as yahoo, msn...
4
by: dismantle | last post by:
Hi all, this is my 3rd week in studying VB codes and i came across with this codes from a online tutorial about classes. Public Function MiddleInitial() As String MiddleInitial =...
4
by: adam_kroger | last post by:
BRIEF EXPLANATION: I have 6 TextBoxes named LIS1, LIS2, LIS3, ... LIS6. I want to be able to reference them using a For/Next loop and either read ot write to them. In VBA I would use something...
1
by: vikjohn | last post by:
I have a new perl script sent to me which is a revision of the one I am currently running. The permissions are the same on each, the paths are correct but I am getting the infamous : The specified...
1
by: javabeginner123 | last post by:
i have a java prob, and i have to solve it fast, but i'm just getting to know it, so plz help me solve it with full code completed, thanks so much. the prob is to create a monter fight and there is...
24
by: kevin | last post by:
write a program in c.
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.