New Biztalk Visual Studio Interview Preparation Guide
Download PDF

Biztalk Visual Studio based Frequently Asked Questions in various Biztalk Visual Studio job interviews by interviewer. These professional questions are here to ensures that you offer a perfect answers posed to you. So get preparation for your new job hunting

26 Biztalk Visual Studio Questions and Answers:

Table of Contents:

New  Biztalk Visual Studio Job Interview Questions and Answers
New Biztalk Visual Studio Job Interview Questions and Answers
A link specifies the basic function of copying data from an element or attribute in an input instance message to an element or attribute in an output instance. You create links between records and fields in the source and destination schemas at design time. This drives the creation, at run time, of an output instance message conforming to the destination schema from an input instance message conforming to the source schema.

2 :: Tell us how to route binary data?

To route binary data you can use pass-through pipelines on the receive location and send port. BizTalk will route (copy) the data from the source (receive location) to the destination (send port). If you want to route the binary data based on some information in the binary data then you write a custom Disassembler to promote the properties you need from the incoming message to route the binary data.

3 :: Do you know what are the actions in order to deploy from Visual Studio?

☛ Sign the project with strong name key
☛ Give the name to the Application

4 :: Explain how BizTalk engine identifies a unique schema?

BizTalk uses a combination of namespace#rootnode to define the schema type of a message, thereby making a MessageType unique (for example: http://mynamespace.com#MyRootNode). In other words, BizTalk uses this combination to identify and resolve schemas references.

5 :: Tell me how is strong name key generated?

At the command prompt, from the folder where you want to store the key file, type the following command, and then press ENTER: sn /k file_name .snk. In Visual Studio Solution Explorer, right-click the project and then click Properties. Click the Signing tab and choose Browse in the Choose a strong name key file drop down box.

6 :: Explain me what is option Clean used for?

Clean Solution is used to delete any intermediate and output files (mostly assemblies). With only the project and component files left, new instances of the intermediate and output files (mostly assemblies) can then be built.

7 :: Please explain difference between Build and Rebuild?

Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not.

8 :: Tell us can we have schema without a target namespace? What will be its MessageType?

Yes, we can have a schema without target namespace and its message type will be the Root node.

9 :: Do you know what is <Any> element in schema?

An <Any> element in a schema designates a specific location in the schema where new elements or attributes can be added. When BizTalk uses the schema to process a message containing unknown elements or attributes in the designated location, the schema will still consider the message valid.

11 :: Tell me what is a .btproj File?

.btproj is a Visual Studio BizTalk project file.

12 :: Tell us is it possible to promote XML record of ComplexContent?

No. To promote XML record its ContentType property should be set SimpleContent.

13 :: Tell us what are un-typed messages, how does one create them?

A message created in BizTalk Orchestration is bound to a schema, this is a typed message. In un-typed messages, the message is bound to System.Xml.XmlDocument instead of a schema.

14 :: Please explain can I create or configure Receive Ports or Send Ports through Visual Studio?

That depends of the BizTalk Version/Visual Studio that you are using! In previous version you could create and configure port through the BizTalk Explorer view in Visual Studio, but since BizTalk Server 2010 the BizTalk Explorer view was removed from Visual Studio.

15 :: Do you know where can we see assembly information in Visual Studio?

AssemblyInfo.cs contains information about assembly, like name, description, version, etc. It can be located under Project-->Properties-->AssemblyInfo.cs

16 :: Explain me what are difference between Flat File Schema and XML schema?

A flat file schema defines the structure of a class of instance messages that use a flat file format, either delimited or positional or some combination thereof. Because the native semantic capabilities of XSD do not accommodate all of the requirements for defining the structure of flat file instance messages—such as the various types of delimiters that might be used for different records and fields within the flat file—BizTalk Server uses the annotation capabilities of XSD to store this extra information within an XSD schema. BizTalk Server defines a rich set of specific annotation tags that can be used to store all of the required additional information.

Different Types of BizTalk Schemas: An XML Schema is basically a contract of your message and defines it. The XML Schema definition (XSD) language defines the structure of an XML instance message, and this is the intended purpose of XSD, such schemas use XSD in a straightforward way.

17 :: Explain when working with Schemas, Maps, Pipelines, and Orchestrations, how should the projects be structured?

☛ • Schemas and Maps in its own project
☛ • Or Schemas and Maps together in its own project
☛ • Orchestrations in its own project
☛ • Pipelines in its own project

18 :: Explain me how do you call a Non-Serializable .Net helper class inside an Expression Shape?

☛ • Add a reference to that class.
☛ • Make sure your Orchestration is Long Running transactional.
☛ • Add an Atomic scope.
☛ • Create an Orchestration variable of that class inside the scope.
☛ • Create an instance on that object inside the scope.
☛ • Call the method.
☛ • Bonus: Mention the class must be strongly signed and in the GAC.

19 :: Tell us why we get the error "Unexpected error writing metadata to file <filename>"?

It is a known issue of Visual Studio. Visual Studio will not successfully compile a project if it would result in an assembly larger than 75 megabytes (Mb).

20 :: Tell us what purpose does Visual Studio serve?

Development for BizTalk Server is done through Visual Studio <version> (depends on BizTalk version). Visual Studio has templates for BizTalk artifacts like orchestration, pipelines, schemas and maps, so a BizTalk solution can be created (design time) and deployed to the BizTalk runtime. Besides artifacts .NET development can be done in creating pipeline components, custom functoids, custom adapters, and .NET helper classes to aid in orchestrations. As a BizTalk professional Visual Studio is your friend and required to build BizTalk solutions.

21 :: Explain me in which scenarios would use a “promoted property” vs “distinguished fields”?

The rule here is, if you don’t want the schema element to appear in send port filters/debugging information then make it a distinguished field.

22 :: Tell us how do you achieve First-In-First-Out message processing of messages received from multiple sources using an Orchestration?

• Use a Sequential Convoy to process the messages in the order they are received into the Message Box.
• Make sure Ordered Delivery is set to True inside the Orchestration Receive Port.

23 :: Please explain what are Advantages of BizTalk Server?

☛ A. It is basically an Integration server. It helps in Integrating Enterprise Applications at one common point.
☛ B. Solutions can be developed really fast with BizTalk Server. Effort spent will be less.
☛ C. Updates can be handled in an easy way and maintenance will be easy. BizTalk Server supports Versioning of Artifacts.
☛ D. Negative scenarios can be handled easily with BizTalk Server- e.g. If some Service is down, we can set Retry Mechanism,
☛ E. Alternate Transport Mechanism. It even supports service windows. We can take advantage of enlist and stop features and prevent losing even a single Message.
☛ F. BizTalk is designed to operate in Multi Server Environment. We can run the application on various servers to manage load and Availability.
☛ G. MessageBox DB designed for optimum performance.
☛ H. Advantage for customers on cost saving in terms of development time.
☛ I. BizTalk has a number of Tools like BRE, BAM, SSO which be effectively used.
☛ J. It can be used to communicate with wide range of Legacy Applications. There is always a scope to develop custom Components.

24 :: Do you know what is Build Order and can it be changed?

Build Order is the sequence in which the projects will be build when the whole solution is build and yes it can be changed.

25 :: Tell us are all the BizTalk development tools embedded in Visual Studio?

No. Indeed BizTalk Mapper Editor, Schema Editor, Orchestration editor and Pipeline editor are embedded in Visual Studio. However BAM and BRE tool are not embedded.
Biztalk Visual Studio Interview Questions and Answers
26 Biztalk Visual Studio Interview Questions and Answers