all groups > asp.net > june 2004 >
You're in the

asp.net

group:

New to .net need help/explanation


New to .net need help/explanation Dave
6/29/2004 11:44:26 PM
asp.net:
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!!!


Re: New to .net need help/explanation Patrice
6/30/2004 10:14:07 AM
Code behind code is compiled in ta DLL placed in the bin directory under the
site root...

Patrice

--

"Dave" <studly@games.com> a écrit dans le message de
news:O5eFx2mXEHA.3716@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

Re: New to .net need help/explanation Dave
6/30/2004 1:41:57 PM
Thanks Patrice,

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

Dave


[quoted text, click to view]

Re: New to .net need help/explanation Dave
7/1/2004 9:00:21 AM
Thanks Patrice,

I'll give that a try.

Dave

[quoted text, click to view]

Re: New to .net need help/explanation Patrice
7/1/2004 12:22:38 PM
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/default.asp?url=/library/en-us/vblr7/html/valrfvbcompileroptionslistedbycategory.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%\vbc

%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" <studly@games.com> a écrit dans le message de
news:OZqywKuXEHA.712@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button