473,941 Members | 17,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What does <assemblies> session do in Web.config

ad
I find an assemblies section in web.config.
There are some PublicKey in it.
What do these PublicKey do?
What does <assembliessess ion do?


<assemblies>
<add assembly="Syste m.Windows.Forms , Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9" />
<add assembly="Syste m.Design, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B03F5F7F11D50A3 A" />
<add assembly="Syste m.Transactions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9" />
</assemblies>
Dec 21 '06 #1
1 2187
The <assembliessect ion is used to add an assembly reference to be used
during compilation. If you need to share your assembly across multiple
applications it must have a strong name (this means embedding a long public
key in the assembly definition). The public key is part of the identity of
the assembly. When other assemblies reference your strongly named assembly
they use a shortened version of the full public key called public key token.

For more info on the <assembliessect ion see here:

http://msdn.microsoft.com/library/de...assemblies.asp
http://msdn.microsoft.com/library/de...tionSchema.asp

Regards,

Plamen Ratchev
http://www.SQLStudio.com
"ad" <fl****@wfes.tc c.edu.twwrote in message
news:us******** ******@TK2MSFTN GP02.phx.gbl...
>I find an assemblies section in web.config.
There are some PublicKey in it.
What do these PublicKey do?
What does <assembliessess ion do?


<assemblies>
<add assembly="Syste m.Windows.Forms , Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9" />
<add assembly="Syste m.Design, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B03F5F7F11D50A3 A" />
<add assembly="Syste m.Transactions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9" />
</assemblies>

Dec 21 '06 #2

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

Similar topics

2
6810
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
34714
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
4761
by: ctk70 | last post by:
I'm trying to run a ASP.NET 1.1 app on a Windows 2003 server. The app runs fine on my local workstation (Windows 2000 SP4). Both the server and workstation have Visual Studio .NET 2003 installed. The app fails with the following error: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your...
4
1759
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"/>
2
12331
by: theonlyzahid | last post by:
Hi, I am getting his weired error when i open my webpage. Parser Error Message: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 13, position 68. Source Error:
5
3705
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
1487
by: Gregory Gadow | last post by:
We have a number of development machines in our IT department, all running the same version of VS 2005 sp 1. Our company website and several compiled components were all written in VB.Net 2.0 using one of those machines, our "main dev." When I pull up the website in the VS IDE on that one machine, everything is fine. On any of the other machines, however, opening the website opens the site, then fills the Error List with just over a...
3
1817
by: Bob | last post by:
Hi, i'm learning asp.net and i read this in the web.config of an application: <compilation debug="true"> <assemblies> <add assembly="vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies> </compilation>
10
4417
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
I've been on this for a while, and cannot figure it out. Can someone please help with this message? SessionState can only be used when EnableSessionState is set to true, either in a configuration file or in the page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration><system.web><httpModulessection in the application configuration. Here is my current...
0
9968
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,...
1
11297
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
10660
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
9862
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
8219
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...
0
6087
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...
0
6301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4909
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
3
3509
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.