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

Why is there no "runtime" allowed in the ASP.NET web.config

I would like my ASP.NET apps to pick up there associated assembly references
at runtime but I do not see a runtime tag in the web.config schema, or am I
wrong?
--
Patrick
Nov 19 '05 #1
5 1356
I'm not sure I understand why you need this functionality, aren't assembly
references imported into your application at compile time? If i missed the
mark, please let me know...

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"inetmug" <in*****@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.com...
I would like my ASP.NET apps to pick up there associated assembly
references
at runtime but I do not see a runtime tag in the web.config schema, or am
I
wrong?
--
Patrick

Nov 19 '05 #2
Are you looking for the compilation element?

<configuration>
<compilation>
<assemblies>
<add assembly="System.Data, Version=1.0.2411.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
</assemblies>
</compilation>
</configuration>

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 11 Feb 2005 14:03:01 -0800, "inetmug"
<in*****@discussions.microsoft.com> wrote:
I would like my ASP.NET apps to pick up there associated assembly references
at runtime but I do not see a runtime tag in the web.config schema, or am I
wrong?


Nov 19 '05 #3
Yes, references are there via the project at compile time. However, my
question is more focused on deployment and runtime.

I would like to direct my assembly references at runtime for referenced
components. This is in addition to the compilation tag. The compilation
tag, if I understand this correctly, is there to direct the compilation of
pages when they are first accessed.

There is a "runtime" available in a normal app.config, but unless I am
missiing something this tag is not included in the web.config schema.

"Alvin Bruney [MVP]" wrote:
I'm not sure I understand why you need this functionality, aren't assembly
references imported into your application at compile time? If i missed the
mark, please let me know...

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"inetmug" <in*****@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.com...
I would like my ASP.NET apps to pick up there associated assembly
references
at runtime but I do not see a runtime tag in the web.config schema, or am
I
wrong?
--
Patrick


Nov 19 '05 #4
Scott, see my previous reply to Alvin. This is not the same tag...

"Scott Allen" wrote:
Are you looking for the compilation element?

<configuration>
<compilation>
<assemblies>
<add assembly="System.Data, Version=1.0.2411.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
</assemblies>
</compilation>
</configuration>

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 11 Feb 2005 14:03:01 -0800, "inetmug"
<in*****@discussions.microsoft.com> wrote:
I would like my ASP.NET apps to pick up there associated assembly references
at runtime but I do not see a runtime tag in the web.config schema, or am I
wrong?


Nov 19 '05 #5
You can also add a runtime element - it is not in the system.web
schema but it is in the outer configuration schema. See:
http://www.hanselman.com/blog/PermaL...432c98dbe.aspx
for an example.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 14 Feb 2005 06:37:06 -0800, "inetmug"
<in*****@discussions.microsoft.com> wrote:
Scott, see my previous reply to Alvin. This is not the same tag...

"Scott Allen" wrote:
Are you looking for the compilation element?

<configuration>
<compilation>
<assemblies>
<add assembly="System.Data, Version=1.0.2411.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
</assemblies>
</compilation>
</configuration>

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 11 Feb 2005 14:03:01 -0800, "inetmug"
<in*****@discussions.microsoft.com> wrote:
>I would like my ASP.NET apps to pick up there associated assembly references
>at runtime but I do not see a runtime tag in the web.config schema, or am I
>wrong?



Nov 19 '05 #6

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

Similar topics

43
by: steve | last post by:
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is...
3
by: gagaguy | last post by:
1.i saw "+=" in a program code,but i haven't see it before,neither can i find it in a cook,who can tell me the usage of "python0" 2.how can i know how long does a program run?
21
by: nicholas | last post by:
Although in my web.config I have <customErrors mode="off" /> I still get no detailed errors. How comes ? THX This is what I get: Server Error in '/mywebfolder'Application.
2
by: inetmug | last post by:
Why is there no runtime tag in the web.config like there is in the app.config, or am I wrong??? I want to have the asp.net apps pick up the DLL references at run time. -- Patrick
9
by: HAN(removethis)twister | last post by:
I've tried to create 11 textboxes as variables (not actually visible in the program, not in Windows Form Designer) and have set DataBindings to the text properties of the TextBoxes BUT according to...
1
by: Menno Abbink | last post by:
Hey All, I'm developing a new website and I want the customer to be able to se my work in progress so I have set up a server behind my ADSL-router. The server is using W2003. I've created a...
6
by: SA | last post by:
Hi all: I have an object of a base class that needs to be cast to an object of a specialized class. What is the best way to do this? (I thought about creating a constructor in the specialized...
1
by: Alexander Walker | last post by:
Hello I have recently published a web application using the "Publish Web Site" option of the solution explorer from Visual Studio 2005, I have published the website so that the pages could not...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...
0
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,...

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.