473,511 Members | 16,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Web Developer Express How do I build Code-behind into DLL in bin folder

I'm just starting to use VWD Express. Supposedly, if I use a separate
file (code behind) for my web forms, it should build them into a DLL
into the Bin folder. However, no bin folder was automatically created
when I create the project, nor when I build the website. And no DLL
was placed anywhere in my website folder. How do I build the
code-behind files so they would be in the bin folder???

Nov 25 '05 #1
7 8220
That isn't support in the Express version.

See the Prerequisites here:

http://msdn2.microsoft.com/en-us/library/1y1404zt.aspx

"If you want to deploy a finished Web site to a server, you can use the
Publish Web Site utility that is included with the Microsoft Visual Web
Developer Web development tool. "

"The Visual Web Developer Express edition does not support the Publish Web
Site utility."

Perhaps you could do this with the compiler and a command-line script. Not
sure.
"teliot" <dr*******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I'm just starting to use VWD Express. Supposedly, if I use a separate
file (code behind) for my web forms, it should build them into a DLL
into the Bin folder. However, no bin folder was automatically created
when I create the project, nor when I build the website. And no DLL
was placed anywhere in my website folder. How do I build the
code-behind files so they would be in the bin folder???

Nov 25 '05 #2
I see, no wonder I couldn't find that function anywhere. Thank you for
your clarification.

I did however find a way to compile the entire website using command
line tool "aspnet_compiler.exe" which eliminates all code files and put
them all in DLL assemblies. It eventually worked out for the best,
since this method conceals all codes and prevent copying or tampering
of the source and should run faster since the server won't have to
compile the App_Code folder.

Nov 25 '05 #3
I see, but in Microsoft's book "Microsoft Visual Web Developer 2005
Express Edition - Build a Web Site Now!" I found this quote:

"If your program source code resides anywhere else (referring to
anywhere other than the app_code folder or inline), you'll need to
choose Build Web Site from the Build menu, and then be sure to upload
the resulting /bin folder along with the rest of your site. You won't,
however, need to upload our program source files; this may reduce the
risk of theft or tampering."

And that's why I assume that the "Build Web Site" command will
automatically generate the /bin folder for me.

But in the meantime, I did manage to use aspnet_compile.exe to compile
the entire site into a target folder, then copy the content to my
actual website.

Thanks.

Nov 26 '05 #4
Hmmmm. You might want to check with the author of the book. The current crop
of books were written based on beta 2. You may have found a change in the
release product that the authors couldn't or didn't know about.

Ken

"teliot" <dr*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I see, but in Microsoft's book "Microsoft Visual Web Developer 2005
Express Edition - Build a Web Site Now!" I found this quote:

"If your program source code resides anywhere else (referring to
anywhere other than the app_code folder or inline), you'll need to
choose Build Web Site from the Build menu, and then be sure to upload
the resulting /bin folder along with the rest of your site. You won't,
however, need to upload our program source files; this may reduce the
risk of theft or tampering."

And that's why I assume that the "Build Web Site" command will
automatically generate the /bin folder for me.

But in the meantime, I did manage to use aspnet_compile.exe to compile
the entire site into a target folder, then copy the content to my
actual website.

Thanks.

Nov 27 '05 #5
>Hmmmm. You might want to check with the author of the book. The current crop
of books were written based on beta 2. You may have found a change in the
release product that the authors couldn't or didn't know about.


It's not the only one. That book has a few things like that in it. Not
very impressive given that MS is giving it away free to people who
register VWD. You'd think they would have updated it.

--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 28 '05 #6
If it is an electronic version, it should have been updated. If it is
printed, keep in mind that the lead time for a print book is several months.

The problem is that people want the books to appear on the same date as the
software, even though the software is changing up to the last week or so
before the release. A book can't keep up.

"Alan Silver" <al*********@nospam.thanx> wrote in message
news:Gb**************@nospamthankyou.spam...
Hmmmm. You might want to check with the author of the book. The current
crop
of books were written based on beta 2. You may have found a change in the
release product that the authors couldn't or didn't know about.


It's not the only one. That book has a few things like that in it. Not
very impressive given that MS is giving it away free to people who
register VWD. You'd think they would have updated it.

--
Alan Silver
(anything added below this line is nothing to do with me)

Nov 30 '05 #7
>If it is an electronic version, it should have been updated. If it is
printed, keep in mind that the lead time for a print book is several months.
It is an electronic version, that's why I made the comment. Obviously a
printed version couldn't have been changed that easily. The PDF file
could, and should, have been changed.

Ta ra
The problem is that people want the books to appear on the same date as the
software, even though the software is changing up to the last week or so
before the release. A book can't keep up.

"Alan Silver" <al*********@nospam.thanx> wrote in message
news:Gb**************@nospamthankyou.spam...
>Hmmmm. You might want to check with the author of the book. The current
>crop
of books were written based on beta 2. You may have found a change in the
release product that the authors couldn't or didn't know about.


It's not the only one. That book has a few things like that in it. Not
very impressive given that MS is giving it away free to people who
register VWD. You'd think they would have updated it.

--
Alan Silver
(anything added below this line is nothing to do with me)



--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 30 '05 #8

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

Similar topics

3
1860
by: clintonG | last post by:
Visual C# 2005 Express Edition is a simple, lightweight, integrated development environment designed for beginning programmers and non-professional developers interested in building Windows Forms,...
6
1894
by: John Dalberg | last post by:
I don't know how much Microsoft is planning to price Visual Web Developer Express Edition. I heard rumors from free to $100. In my opinion I think it should make it free. The reason is to attract...
0
1268
by: Maury | last post by:
I just downloaded .Net Framework Beta2 and Visual Web Developer Express Edition Beta and Visual C# Express Edition. I installed .Net Framework Beta2, then I installed Visual Web Developer...
3
1095
by: | last post by:
I installed visual developer express 2005, and the Design view does not start, only the Html view works?
3
1375
by: barry | last post by:
I had Visual Web Developer Express 2005 and Visual Studio 2005 installed on my computer. Realizing that I did not need Visual Web Developer Express 2005 since I had VS 2005 I removed it. My...
2
12065
by: terry.trent | last post by:
I'm new to c# and Visual C# Express, and to normal programming in general (some background in web programming), and i have a question vital to my current project. Basically, i have been asked to...
1
1421
by: Koldark | last post by:
So I downloaded the Express version of Web Developer to help out or Web Developer on a large project. We are trying to setup payments with LinkPoint. I brought in the LinkPoint dll and saved. But...
1
2073
by: gihope | last post by:
Hi, I wonder if someone could help me. I'm trying to develop a search algorithm as I need an engine that can determine the shortest route between two locations based on the number of stops. I...
0
943
Bob Ross
by: Bob Ross | last post by:
We have an intern starting with us soon and It would be good if we did not need another license for visual studio for him to work with. I was wondering whether the free visual studio web developer...
3
3094
by: =?Utf-8?B?Rmxhc2hwcm8=?= | last post by:
i have googled this question but cannot find an answer. i'm running windows vista and i'm using Visual Basic Express 2008. i know the build event button SHOULD be in under the compile tag but i...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
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
7355
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
7510
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
5668
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
4737
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
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
447
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.