+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

ATL Server Interview Questions and Answers

1
Explain the concepts and capabilities of ATL Server.
  • ATL Server is developed by Microsoft for developing web based applications.
  • ATL Server is a library of C++ classes that allow developers to build internet based applications.
  • It includes a template library which is dedicated for use with developing Web-based applications.

It provides the functionality required to build large scale internet sites like:

  • SOAP messaging
  • caching facilities
  • threading facilities
  • regular expression processing
  • management of session-state
  • performance monitoring
  • MIME support
  • Integration with IIS and class for interacting with security
  • cryptographic infrastructure.
2
Do you know what is a stencil in ATL Server?

A stencil is any text file that contains special tags understood by CStencil Class (used to parse a stencil and generate a text stream by replacing elements found within the stencil by output generated by an object implementing the ITagReplacer interface) or a derived class.

A SRF is a stencil containing tags understood by CHtmlStencil.

3
Why ATL Server?

It provides the functionality required to build large scale internet sites like:

SOAP messaging
caching facilities
threading facilities
regular expression processing
management of session-state
performance monitoring
MIME support
integration with IIS and class for interacting with security
cryptographic infrastructure.

4
Explain what is the information that SRFs typically contain?

SRF files contain HTML and script tags denoted by the {{ opening and }} closing braces.

A single SRF file may call code from a number of application DLLs and a single application DLL may serve a number of SRF files.

Following is a list of tags used in the SRF:

The codepage tag within an SRF is used when the SRF is parsed.
The comment tag does not rendered on the client Web browser.
The handler tag specifies the name of the Web application DLL and the name of the request handler. There can only be one handler tag per SRF.
The include tag inserts the rendered content of another SRF at the current position of the SRF that uses it.
The locale tag signifies that any content rendered after that point in the file should support the locale that is specified.
The replacement tag is a customized tag that is replaced with content from the request handler within your Web application DLL.
The subhandler tag defines an additional request handler. Unlike the handler tag, there can be multiple subhandler tags within an SRF.

5
What is SRF Files? Explain with an example.
  • SRF files contain HTML and script tags denoted by the {{ opening and }} closing braces.
  • A single SRF file may call code from a number of application DLLs and a single application DLL may serve a number of SRF files.
  • The simplest SRF file must contain one or more references to application DLLs and one or more calls to a function within those DLLs.
    Eg:
    {{handler ATLServerHelloWorld.dll/Default}}

    {{Hello CareerRide}}

  • The first line of the file is used to identify the DLL and the class that the SRF file will make calls to.
    {{handler ATLServerHelloWorld.dll/Default}}.
Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.
FOLLOW US