ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  BizTalk
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
what is the difference between promoted and distinguished 
property?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the difference between promoted and distinguished property?
Answer
# 1
promoted property makes schema variables visible for data 
segregation , distinguished property makes the variable 
visible within the orchestration.
 
Is This Answer Correct ?    1 Yes 0 No
Guest
 
  Re: what is the difference between promoted and distinguished property?
Answer
# 2
There are two different ways in which you can
programmatically access an attribute or element in BizTalk,
they are called Distinguished Field and Promoted Property.
The main differences between them are summarized in the
table below.

Promoted properties can do everything and more than
distinguished fields, but this doesn't mean that
distinguished fields are less useful. Actually you should
prefer the use distinguished fields whenever possible:

	Distinguished Field	Promoted Property
Syntax	msgOrder.CustomerId	msgOrder(BookShop.CustomerId)
Access method	Using XPath in runtime.	Inserted in message
context during pipeline processing.
Can be accesses by	Only in code in orchestrations.	Both in
orchestration code and in the messaging configuration (e.g.
filters on send ports).
Storage	Only run-time access	A promoted property is stored
in the message context.
Constrained by message contents	Yes, only values within the
message may be accessed.	No, any type value can be promoted
in a pipeline (there is no need for the value to be
contained in the message).
Routable	No	Yes, as they are attached to the message context
they can be used for routing
Expensive (whatever that means)	No	Yes, even if they are
never used they are always read and inserted into the
message context. As the message is passed through the
MessageBox and Orchestration the context needs to be copied
and stored.
Visible in HAT	No	Yes
Size limit	Unlimited	Max 256 characters
XSD type support	More than prom.prop.	Less than dist.fields

Which one of these two ways to access elements/attributes in
a message should you choose? The answer will present itself
if you answer the following questions:

    * Do you need to route on the information in the
element/attribute?
    * Do you need to track the element/attribute?
    * Do you need to use information that can only be
dynamically created, i.e., it is not directly accessible in
the message.

If the answer to any of these questions is Yes, then you
need to use a promoted property. If the answers to all
questions are No, then you should use a distinguished field.

Depending on the type of solution you are creating you will
find that you use one of these more than the other.
Messaging solutions typically use promoted properties to
route incoming messages to the correct destination, there is
no need to use distinguished fields in messaging solutions
as you no way of accessing the value.

If you are building a solution containing orchestrations
that model business processes you will probably mainly use
distinguished fields. The reason for this is that you will
have less need for the routing capabilities of promoted
properties, and as it is less expensive from a performance
perspective to use distinguished fields you should prefer
these. In orchestrations you can use distinguished fields in
a number of ways; conditions for looping and decisions
shapes, expression shape and message assignment shape.

Basic rule for which to use would be: always use a
distinguished field, unless you have to route, track, or
correlate on the source content, then use a property (i.e.
promoted field).
 
Is This Answer Correct ?    0 Yes 0 No
Rajesh Charagandla
 
 
 
  Re: what is the difference between promoted and distinguished property?
Answer
# 3
Promoted properties can be accessed in Orchestrations, 
ports, pipelines, schemas.They Use server resources.
Distingished fields are light weight and can be accessed 
only in Orchestrations
 
Is This Answer Correct ?    0 Yes 0 No
Veeru
 

 
 
 
Other BizTalk Interview Questions
 
  Question Asked @ Answers
 
What are Host and Host Instance? Did you deploy BizTalk more than one machine?  3
in which case you have to use updategram and stored procedure?  1
How to transfer files without using Orchestration?  2
How to put data using SQL Adapter?  1
How to version your schema?  3
what is custom pipeline and the use of custom pipeline ? why and how we use custom pipeline?  1
In BizTalk development where and how you have to use custom developed .NET components? Blue-Star2
What is Message routing and Content routing?  1
Can we get messages to Orchestration without using schema?  4
How to create dynamic ports?  1
Source schema has nodes First Name, Last Name and destination schema has node Name. How we can get data at destination so that we can have two instance of Name (without using orchestration).  2
what is the difference between promoted and distinguished property?  3
 
For more BizTalk Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com