473,804 Members | 3,182 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

config section <runtime>

What does this do?

<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<dependentAssem bly>
<assemblyIdenti ty name="System.We b.Extensions"
publicKeyToken= "31bf3856ad364e 35" />
<bindingRedirec t oldVersion="1.0 .0.0-1.1.0.0"
newVersion="3.5 .0.0" />
</dependentAssemb ly>
<dependentAssem bly>
<assemblyIdenti ty name="System.We b.Extensions.De sign"
publicKeyToken= "31bf3856ad364e 35" />
<bindingRedirec t oldVersion="1.0 .0.0-1.1.0.0"
newVersion="3.5 .0.0" />
</dependentAssemb ly>
</assemblyBinding >
</runtime>

Aug 20 '08 #1
10 2054
I'm guessing the several questions you are asking might be better answered
in the ASP.Net group. It seems a little odd though that you are asking what
certains sections in a site do, or how to change things in code that you
see. Did you inherit some code that now you must maintain without ASP.Net
before?
"MCM" <MC*@newsgroup. nospamwrote in message
news:D2******** *************** ***********@mic rosoft.com...
What does this do?

<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<dependentAssem bly>
<assemblyIdenti ty name="System.We b.Extensions"
publicKeyToken= "31bf3856ad364e 35" />
<bindingRedirec t oldVersion="1.0 .0.0-1.1.0.0"
newVersion="3.5 .0.0" />
</dependentAssemb ly>
<dependentAssem bly>
<assemblyIdenti ty name="System.We b.Extensions.De sign"
publicKeyToken= "31bf3856ad364e 35" />
<bindingRedirec t oldVersion="1.0 .0.0-1.1.0.0"
newVersion="3.5 .0.0" />
</dependentAssemb ly>
</assemblyBinding >
</runtime>
Aug 21 '08 #2
I'm guessing the several questions you are asking might be better answered
in the ASP.Net group.
This is a managed newsgroup and is definitely where my questions belong.
It seems a little odd though that you are asking what
certains sections in a site do, or how to change things in code that you
see. Did you inherit some code that now you must maintain without ASP.Net
before?
Most of the code sections I am asking about are auto-generated by Visual
Studio. Sometimes the auto code in VS adds things for the "average" case that
do not apply to all solutions. Just cause VS created it does not mean it
belongs. I'm trying to squeeze the maximum performance out of my site.
>

"MCM" <MC*@newsgroup. nospamwrote in message
news:D2******** *************** ***********@mic rosoft.com...
What does this do?

<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<dependentAssem bly>
<assemblyIdenti ty name="System.We b.Extensions"
publicKeyToken= "31bf3856ad364e 35" />
<bindingRedirec t oldVersion="1.0 .0.0-1.1.0.0"
newVersion="3.5 .0.0" />
</dependentAssemb ly>
<dependentAssem bly>
<assemblyIdenti ty name="System.We b.Extensions.De sign"
publicKeyToken= "31bf3856ad364e 35" />
<bindingRedirec t oldVersion="1.0 .0.0-1.1.0.0"
newVersion="3.5 .0.0" />
</dependentAssemb ly>
</assemblyBinding >
</runtime>
Aug 21 '08 #3
I don't believe the group is managed.

I'm just suggesting more web developers hang out in the ASP.Net newsgroup,
rather than .Net.General.

"MCM" <MC*@newsgroup. nospamwrote in message
news:61******** *************** ***********@mic rosoft.com...
>I'm guessing the several questions you are asking might be better
answered
in the ASP.Net group.

This is a managed newsgroup and is definitely where my questions belong.
>>
Aug 21 '08 #4
Hello MCM,

Although the XML is redirecting the web development related assemblies, the
question is not Asp.net specific. So dotnet.general can be suitable
newsgroup here.

In short, these XML elements redirect assembly versions using
bindingRedirect ion element
(http://msdn.microsoft.com/en-us/library/eftw1fys.aspx).

In this config file, they redirect the version of assembly
System.Web.Exte nsions and System.Web.Exte nsions.Design from
"1.0.0.0-1.1.0.0" to "3.5.0.0". That means if the application tries to use
the old version of the assembly specified by the "oldVersion " attribute,
CLR will load the new version of it specified by "newVersion " attribute.

For more information about this feature, please visit the following article:
Introduction to Versioning and
BindingRedirect (http://blogs.msdn.com/thottams/archi.../30/introducti
on-to-versioning-and-bindingredirect .aspx).

Hope this helps.

Best regards,
Feng Chen
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications .

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx .
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 21 '08 #5
Does that mean if I am not using the old version in my code, I can delete the
entire <runtimesection ?
""Feng Chen[MSFT]"" wrote:
Hello MCM,

Although the XML is redirecting the web development related assemblies, the
question is not Asp.net specific. So dotnet.general can be suitable
newsgroup here.

In short, these XML elements redirect assembly versions using
bindingRedirect ion element
(http://msdn.microsoft.com/en-us/library/eftw1fys.aspx).

In this config file, they redirect the version of assembly
System.Web.Exte nsions and System.Web.Exte nsions.Design from
"1.0.0.0-1.1.0.0" to "3.5.0.0". That means if the application tries to use
the old version of the assembly specified by the "oldVersion " attribute,
CLR will load the new version of it specified by "newVersion " attribute.

For more information about this feature, please visit the following article:
Introduction to Versioning and
BindingRedirect (http://blogs.msdn.com/thottams/archi.../30/introducti
on-to-versioning-and-bindingredirect .aspx).

Hope this helps.

Best regards,
Feng Chen
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications .

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx .
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 21 '08 #6
Hello MCM,

We can remove the <assemblyBindin gelement and all of its child elements
if our application does not need assembly version redirection or assembly
relocation. In addition, if the <runtimeeleme nt does not contain any
other kind of child elements (A list of its child elements can be found
here: http://msdn.microsoft.com/en-us/library/6bs4szyc.aspx), we can remove
it safely.

Could you also let me know if the xml comes from the machine.config or the
web.config file? What's the reason you want to remove them?

Please let me know the information above so that I can provide further
assistance on this problem. I look forward to your reply.

Thanks.

Best regards,
Feng Chen
Microsoft Online Community Support
=============== =============== ===========
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 22 '08 #7
We can remove the <assemblyBindin gelement and all of its child elements
if our application does not need assembly version redirection or assembly
relocation.
How can I confirm that my application is not trying to use the old version?

In addition, if the <runtimeeleme nt does not contain any
other kind of child elements (A list of its child elements can be found
here: http://msdn.microsoft.com/en-us/library/6bs4szyc.aspx), we can remove
it safely.
Ok.

Could you also let me know if the xml comes from the machine.config or the
web.config file? What's the reason you want to remove them?
web.config. These entries were made automatically by Visual Studio - not by
me. I'm trying to understand every layer of my application and I don't
understand why I would want to include code that doesn't do anything.

Aug 22 '08 #8
Hello MCM,

The two assemblies are from AJAX Control Toolkit. And versions 1.0.* of
them are for ASP.NET AJAX version 1.0 and .NET Framework 2.0, while 3.5.*
of them are for .NET Framework 3.5 and Visual Studio 2008. So this section
will make sure that the web application compiled using .net 3.5 will always
load the 3.5 version of the assemblies.

If the web project and any custom control used by the project have not
added the old version of the assemblies as reference, we can confirm the
application will not try to use the old version.

Hope this helps.

Best regards,
Feng Chen
Microsoft Online Community Support
=============== =============== ===========
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 25 '08 #9
Hello MCM,

I haven¡¯t heard back from you so I wanted to follow up to find out if the
information that I supplied has resolved your issue. If there is anything
more I can help with, please don¡¯t hesitate to let me know.

Thanks.

Best regards,
Feng Chen
Microsoft Online Community Support
=============== =============== ===========
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 27 '08 #10

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

Similar topics

3
20903
by: Peter Blum | last post by:
I have built an assembly (dll) from which I expect third parties to subclass. As a result, when my assembly has a version change, it will cause any third party assembly based on it to break unless I establish a Publisher Policy file. So I have that. I have built a Windows app for the same product. This app prompts the user for a path to a third party assembly that depends on my assembly. It opens the third party assembly (Assembly.Load)...
4
5397
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the custom-errors-tag ="off" but nothing happens.... what is my failure????
2
6803
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
8
34673
by: Subra Mallampalli | last post by:
Hi, I am trying to use <runtime> section within the web.config file. However, the contents of the <runtime> section seem to be ignored. What am i missing here? Is <runtime> section not used by web apps? Any help is greatly appreciated. Thanks,
3
5268
by: MikeM | last post by:
I've been trying to locate some property or method that will allow programmatic access to the "loginUrl" attribute in the web.config file in the <system.web> -> <authentication> element when the config file is set up for Forms Authentication. I know certain system.web settings get mapped to various properties/methods during runtime (e.g. <sessionState>'s timeout attribute maps to the Session.Timeout property at runtime). You can easily...
4
1753
by: serge calderara | last post by:
Dear all, I have read that instead of registering an assembly on the top a a page with the Register directive we can use the <assembliea> section of Web config file as follow : <assemblies> <add assembly="SharpUI.Input, Version=1.1.1.1220, Culture=neutral, PublicKeyToken=f517ee9424cd48d0"/>
1
2263
by: Joseph Geretz | last post by:
Why isn't the ASP.NET runtime providing a valid reference for this object to my WebService? I'm trying to use WSE and DIME to send attachments via Web Service. I've provided a whole lot of information in the thread below: DIME: Attachments.Add - Object reference not set to an instance of an object. Bu when all is said and done, the crux of the problem is that ResponseSoapContext.Current = <undefined value> when I attempt to access it....
5
3700
by: =?Utf-8?B?U3RldmVuIEJlcmtvdml0eg==?= | last post by:
Hi there, I am having a strange problem which I have actually seen on 2 different servers now. The problems manifests itself as a ConfigurationException, and upon inspection, a new (invalid/non-existent) assembly reference is added in the <assemblieselement of web.config. In both cases, the assemblies being referenced have never existed on the servers. In one case, a reference to System.Web.Extensions was added, and in the other, a...
0
9706
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
10569
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10325
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...
1
10315
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
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
6847
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4295
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
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.