C++ .NET has many differences from earlier versions of the language, and the differences are included in the new
Visual Studio .NET. To use the new features, you have to know what they are and understand their application. This tip, excerpted from InformIT, offers a discussion of the active template library in Visual C++ .NET.
The Active Template Library (ATL) Server is a new technology within Visual C++ .NET not present in previous versions of Visual Studio. ATL Server is a server-based technology that runs on the Internet Information Services (IIS) Web server platform. It plays a dual role within the .NET Framework, having the ability to create Web services, as you saw in Hour 11, "Creating Web Services," as well as Web applications, the topic of this hour.
Before we begin our discussion on the internals of ATL Server and how to use it, you'll need an understanding of why you would want to use ATL Server in the first place. A common question being asked with this new technology involves another similar technology: ASP.NET. If both technologies involve the whole notion of "tag replacement," and ASP.NET is widely used and documented, why would someone even want to consider using ATL Server, which is still in its infancy and theoretically more difficult to use?
The whole concept of the .NET Framework involves giving you, the developer, the tools necessary to get the job done. There are some aspects of ATL Server that outweigh any advantages you would receive by using ASP.NET. However, there are also many reasons why you should choose ASP.NET over ATL Server.
Why use ATL Server? First of all, no other language within the .NET Framework can beat the performance of C++. In some instances, other languages can come close, but if you plan on writing serious CPU-intensive code, for instance, then using ATL Server within the confines of the C++ programming language will give you that extra performance boost you're looking for.
Second, ATL Server provides support for debugging and diagnostics. ATL Server, through an option when you create your project, can automatically integrate with the Performance Monitor on the server. This can give you rich information not seen by a script-driven language such as ASP.
Lastly, ATL Server supports various other technologies, such as cookies, form processing, thread management, cryptography, and so on.
Keep these issues in mind. By finding the differences and similarities between two languages, you'll be able to make better decisions down the road when it comes time to design your application.
To read the article from which this tip is excerpted, click over to InformIT. You have to register there, but that registration is free.