For the full type name you need to put in configuratin file, it is actually
called "Assembly qualified name". For complex type and assmebly, I usually
use the following code to print them out:
==================
Type type = typeof(System.Net.Cookie);
string fullname = type.AssemblyQualifiedName;
Response.Write("<br/>" + fullname);
=========================
Or you can also use some tool such as reflector to inspect assembly's
FullName and append them to the Full typename so as to make up the Full
assembly qualified type name.
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
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:
(E-Mail Removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Max2006" <(E-Mail Removed)>
>Subject: Assembly and Type Name
>Date: Tue, 24 Jun 2008 20:56:43 -0400
>
>Hi,
>
>When I want to specify a type \in web.config or app.config files, I have
to
>type it like this:
>
>type="Microsoft.WCF.Documentation.EnforceGreetingFaultBehavior,
>HostApplication, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"
>
>The name is usually long especially if it is a strongly named assembly and
>we have to type PublicKeyToken.
>
>Is there any tool that I can use to copy and paste the type name?
>
>Thank you,
>Max
>
>
>