473,608 Members | 2,565 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1370
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*****@discus sions.microsoft .com> wrote in message
news:DA******** *************** ***********@mic rosoft.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?

<configuratio n>
<compilation>
<assemblies>
<add assembly="Syste m.Data, Version=1.0.241 1.0,
Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9"/>
</assemblies>
</compilation>
</configuration>

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

On Fri, 11 Feb 2005 14:03:01 -0800, "inetmug"
<in*****@discus sions.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*****@discus sions.microsoft .com> wrote in message
news:DA******** *************** ***********@mic rosoft.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?

<configuratio n>
<compilation>
<assemblies>
<add assembly="Syste m.Data, Version=1.0.241 1.0,
Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9"/>
</assemblies>
</compilation>
</configuration>

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

On Fri, 11 Feb 2005 14:03:01 -0800, "inetmug"
<in*****@discus sions.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*****@discus sions.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?

<configuratio n>
<compilation>
<assemblies>
<add assembly="Syste m.Data, Version=1.0.241 1.0,
Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9"/>
</assemblies>
</compilation>
</configuration>

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

On Fri, 11 Feb 2005 14:03:01 -0800, "inetmug"
<in*****@discus sions.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
5071
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 relative NOT to the immediate script that is including it, but is relative to the top-level calling script. In practice, this means that you have to constantly worry and adjust paths in includes, based on the startup scripts that call these...
3
1321
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
4959
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
1226
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
2678
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 tests I've run, it says that the DataBindings exist, but the IsBinding is set to False, and is ReadOnly (the bindings exist, they just aren't active AND I can't/don't know how to make them active). Is there any way to allow these 11 textboxes'...
1
4772
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 new website and uploaded some files to test the site. Anonymous access isn't allowed. After I've logged on to the site I see this message:
6
11286
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 class that takes an argument of the type of the base class and then copy property values over, but that seems like a hassle) --
1
5862
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 be updated, do I need to set the web.config so that it contains <compilation defaultLanguage="c#" debug="false"> before I publish the web site or can I make this configuration change on the deployment machine after the site has been deployed? ...
1
6471
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" setting to be "E_ALL", notices are still not getting reported. The perms on my file are 664, with owner root and group root. The php.ini file is located at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem to be having an effect? ...
0
8057
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7998
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8470
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8329
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6813
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6010
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2472
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1580
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1327
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.