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

Probing for DLL's in ASP.Net 2.0

Is there a way to group dll files by putting them in a subdirectory in the
bin directory for ASP.net 2.0 Web Site projects and have the CLR find them?
I tried using <probing> and adding the following to the appropriate location
(<configuration>) in the web.config file to indicate I wanted it to
look in the bin\subbin directory, but to no success. I do not have any
<codebase> defined.

The relevent peices of the web.config file look like:

<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\subbin"/>
</assemblyBinding>
</runtime>
</configuration>
My bin directory is under root and my binary is culture neutral so I believe
with the above file the CLR should be looking in:

bin\subbin

Does probing even work for Web projects?

Any help would be appreciated,

Thanks,
Dean
Mar 13 '06 #1
1 5421
Hi Dean,

Welcome to the MSDN newsgroup.

As for the private assembly probing for ASP.NET application, it is limited
to the "bin" dir only. This is because ASP.NET runtime host is a
particularly customized .NET CLR host (different from normal console or
winform application). Currently we have to put all the private assemblies
in the "bin" sub dir of the appliation.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 14 '06 #2

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

Similar topics

0
by: mqsash | last post by:
Hi, I have a simple C# assembly ( .dll ) which I deployed through an HTML.The complete assembly is as simple as this using System; using System.Windows.Forms; namespace testAssemblyNS {...
2
by: Pavils Jurjans | last post by:
Hello, This is my test.aspx page: <%@ Page Language="C#" enableSessionState="true" inherits="MyPage"%> This is code in CodeBehind.cs: using System;
2
by: Jiho Han | last post by:
This has been asked many times before but it seems there haven't been clear answers. I have an application root at http://localhost and subdirectories http://localhost/app1
2
by: Joel D Kraft | last post by:
I'm using controls in my ASP.NET application from a couple of vendors. Between the vendors and thier versioning, I've set up subfolders under my bin directory: bin bin\Infragistics\v5.2...
2
by: Shiraz | last post by:
Alright, I think I have a better perception of assemblies and environment variables now. The question I had initially posted was pertaining setting of environment variables using the VSI installer....
0
by: CorporateCoder | last post by:
Is there a way to group dll files in the bin directory for ASP.net 2.0 Web Site projects and have the CLR find them? I tried adding the following to the appropriate location in the web.config file...
0
by: Boni Lopez | last post by:
Hi there, Supposed I have loaded into an current domain an assembly myasm.dll i.e. Appdomain.CurrentDomain.Load(bytes_of_myasm.dll) myasm.dll is signed and has a strong name Now I have a...
0
vaibhavgaikwad
by: vaibhavgaikwad | last post by:
Hi All, My problem is I generate and compile web-services on the fly. I want to keep the .dll files of the web-services in the "\bin\WebServices" directory. But at the time of invocation of the...
4
by: =?Utf-8?B?anVhbkBtc2RuQ29tcGFueS5jb20=?= | last post by:
I have a mixed mode application that uses several dlls, which most are native and my new one is mixed. My new dll uses several dependent .NET assemblies. I wanted to place these dependent .NET...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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
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...

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.