473,320 Members | 1,746 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,320 software developers and data experts.

is bin folder still use in asp.net 2.0??

i wonder if bin folder still use in asp.net 2.0

when i migration website for 1.1 how sholud i do?
i guess complier would make 2 dll another folder
one is bin folder and the other is window/....precomplie....
which one is used by complier?
Nov 20 '05 #1
4 1487
it's really confuse to me
i don't wanna bin folder in asp.net 2.0
so when i delete bin folder website is down.
how do i do?

"mike" <so**********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
i wonder if bin folder still use in asp.net 2.0

when i migration website for 1.1 how sholud i do?
i guess complier would make 2 dll another folder
one is bin folder and the other is window/....precomplie....
which one is used by complier?

Nov 20 '05 #2
re:
i wonder if bin folder still use in asp.net 2.0
Yes, it is.

re: i don't wanna bin folder in asp.net 2.0
Why not ?

re: so when i delete bin folder website is down.
Do you have compiled code in the bin folder,
or class files in the App_Code directory ?

If you do, you need the bin directory.
If you don't, you can delete it.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"mike" <so**********@gmail.com> wrote in message
news:e9**************@TK2MSFTNGP15.phx.gbl... it's really confuse to me
i don't wanna bin folder in asp.net 2.0
so when i delete bin folder website is down.
how do i do?

"mike" <so**********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
i wonder if bin folder still use in asp.net 2.0

when i migration website for 1.1 how sholud i do?
i guess complier would make 2 dll another folder
one is bin folder and the other is window/....precomplie....
which one is used by complier?


Nov 20 '05 #3
i have a compiled code but it is behind code of pages

if behind code such as XXX.aspx.cx put into App_Code folder it works. but
it's not error message occur like below

Error 4 Could not load type 'Gajet.GDKHome.Web.Modules.Company.Ci'.
C:\Project2005\WebSite\Gajet2006-2\Modules\Company\Ci.ascx 4


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ue**************@tk2msftngp13.phx.gbl...
re:
i wonder if bin folder still use in asp.net 2.0


Yes, it is.

re:
i don't wanna bin folder in asp.net 2.0


Why not ?

re:
so when i delete bin folder website is down.


Do you have compiled code in the bin folder,
or class files in the App_Code directory ?

If you do, you need the bin directory.
If you don't, you can delete it.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?l : http://asp.net.do/foros/
======================================
"mike" <so**********@gmail.com> wrote in message
news:e9**************@TK2MSFTNGP15.phx.gbl...
it's really confuse to me
i don't wanna bin folder in asp.net 2.0
so when i delete bin folder website is down.
how do i do?

"mike" <so**********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
i wonder if bin folder still use in asp.net 2.0

when i migration website for 1.1 how sholud i do?
i guess complier would make 2 dll another folder
one is bin folder and the other is window/....precomplie....
which one is used by complier?



Nov 20 '05 #4
Mike,

The \app_code directory is a special directory that holds uncompiled classes.

At runtime, the ASP.NET runtime compiles the contents of this directory into
an assembly that is automatically referenced by the ASPX pages in the application.

If the code isn't placed in the app_code directory,
then the classes in your code aren't compiled into assemblies,
and you get error messages like the one you got.

Read this document called "ASP.NET 2.0 Internals" :

http://msdn.microsoft.com/library/de.../internals.asp

After you read it, you will understand better how the App_Code directory works,
and why placing code there is necessary if your classes are referenced in ASPX files.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"mike" <so**********@gmail.com> wrote in message
news:u4**************@TK2MSFTNGP15.phx.gbl...
i have a compiled code but it is behind code of pages

if behind code such as XXX.aspx.cx put into App_Code folder it works. but it's not error
message occur like below

Error 4 Could not load type 'Gajet.GDKHome.Web.Modules.Company.Ci'.
C:\Project2005\WebSite\Gajet2006-2\Modules\Company\Ci.ascx 4


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ue**************@tk2msftngp13.phx.gbl...
re:
i wonder if bin folder still use in asp.net 2.0


Yes, it is.

re:
i don't wanna bin folder in asp.net 2.0


Why not ?

re:
so when i delete bin folder website is down.


Do you have compiled code in the bin folder,
or class files in the App_Code directory ?

If you do, you need the bin directory.
If you don't, you can delete it.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?l : http://asp.net.do/foros/
======================================
"mike" <so**********@gmail.com> wrote in message
news:e9**************@TK2MSFTNGP15.phx.gbl...
it's really confuse to me
i don't wanna bin folder in asp.net 2.0
so when i delete bin folder website is down.
how do i do?

"mike" <so**********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
i wonder if bin folder still use in asp.net 2.0

when i migration website for 1.1 how sholud i do?
i guess complier would make 2 dll another folder
one is bin folder and the other is window/....precomplie....
which one is used by complier?



Nov 20 '05 #5

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

Similar topics

13
by: jenny | last post by:
Hi, I am trying to find a VB way that would create a folder on all existing drives - the folder name would be the same on each drive. ie c:\backup, d:\backup, etc. But the folders would only be...
7
by: Tom | last post by:
Can anyone give me any advice on how to secure a folder on a network server so that documents in the folder can only be opened through an Access database or by the database admin. I need to store...
0
by: John H. | last post by:
In effort to understand (Outlook) MAPI folder tree structure wrote simple linear code below to navigate tree. Successive "...Folders.GetNext()"'s return same folder at all levels of tree. What...
4
by: Dave Veeneman | last post by:
I'm puzzling over the best design for a Folder object. I have two basic domain objects; leat's call them an Apple and an Orange. The objects are maintained in separate hierarchies, and each...
8
by: vinesh | last post by:
I have sample Asp.Net Web Application project. Let me know how to keep the files related to this project (like the webform.aspx, WebForm1.aspx.vb, WebForm1.aspx.resx) in a separate folder within a...
9
by: Paul | last post by:
I'm trying to make get my app to delete all the files in a specified folder and all the files within the folders of the specified folder. e.g. Folder 1 contains three files (File1, File2, File3)...
2
by: tatemononai | last post by:
Ok, this is a very unique bug. I have only been able to find one other post related to this online, and everybody who responded misunderstood the problem. I am not trying to reference anything in...
17
by: rdemyan via AccessMonster.com | last post by:
With A2003, I'm having trouble accessing files in a folder on another computer where back-end files, update files, etc are located. Here's the scenario: 1) Computer #1 - A2003 2) Computer #2 -...
24
by: biganthony via AccessMonster.com | last post by:
Hi, I have the following code to select a folder and then delete it. I keep getting a Path/File error on the line that deletes the actual folder. The line before that line deletes the files in...
5
by: Noozer | last post by:
I'm looking for a "smart folder" program to run on my Windows XP machine. I'm not having any luck finding it and think the logic behind the program is pretty simple, but I'm not sure how I'd...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.