OFFERS

Analyzing errors at the boundary
ASP .NET Programmer Online Bottleneck Resource: Performance of .NET applications that call native code components promises to be one of the most challenging issues faced by developers. In many cases, it is difficult to tell if a bottleneck resource performance problem is in the managed code or the native code. In some cases, it may even be in the interaction between the two, making it still more difficult to determine the exact cause of the bottleneck effect.

Performance of .NET applications that call native code components promises to be one of the most challenging issues faced by developers. In many cases, it is difficult to tell if a performance bottleneck is in the managed code or the native code. In some cases, it may even be in the interaction between the two, making it still more difficult to determine the exact cause of slow code.

This white paper looks at two mechanisms that can potentially be used to cal COM objects from .NET code, their advantages and disadvantages, and how Compuware’s BoundsChecker provides new and essential features for developers calling native code components from .NET applications.

Calling native code from Microsoft .NET applications brings error detection challenges

Microsoft is encouraging Windows developers to start building new applications in Visual Studio .NET, yet you’re not going to throw away perfectly good code in your existing applications to do so. In some cases, you may be able to migrate your code to one or more .NET languages. In many cases, however, what you’re going to do is take the existing logic, often encapsulated in COM/COM+ components, and use it “as is� with the new Microsoft .NET code.

While Microsoft makes this possible, it also makes it possible to introduce an entirely new class of potential errors into your applications. Finding and fixing these errors is crucial, because errors in your native code can have a subtle yet significant impact on the managed code in your application. These errors are entirely unlike those you are likely to encounter working within the .NET Framework, and are largely undetectable with the new and emerging .NET development tools from Microsoft and others.

There are two mechanisms that you can potentially use to call COM objects from .NET code. Both of these mechanisms work in the same way, so which you use depends on what .NET language you’re working in, and whether or not the COM component is being shared among multiple applications.

To download pdf version of this paper, click on link below

If you're interested in this topic, these articles may be helpful:

Toward a framework for testing error handlers
The 21st century is driven by software. The fact that it is a fundamen...
Making Error Handling Robust
Faults can be anticipated and tested using automated approaches. ...
Effective Memory Utilization for Reliable, High-Performance JavaTM Applications
Java has greatly simplified application development and deployment thr...
De-Mystifying Software Performance Optimization
by Paul Del Vecchio, senior performance analyst, Software and Soluti...
Phase3 - Where should the war on terror be fought?
In a classic example of terrorist modus operandi, a defense attorney ...

Related Jobs:

.NET Technical Lead #46892 - TX - Houston - Siemens AG
.NET Technical Lead Company Siemens Energy and Automation Divisi...
Software Development Engineer in Test #151266 - WA - Redmond - Microsoft Corporation
We're not just about scheduling projects - we're the solution for mana...
Senior Oracle DBA #7848 - CA - San Mateo - Acxiom Corporation
Senior Database DBA Location: San Mateo Category: Engineering ...
Software Development Engineer in Test #146454 - WA - Redmond - Microsoft Corporation
Platform Builder is used by customers to tailor the CE operating syste...
Software Development Engineer in Test #151112 - WA - Redmond - Microsoft Corporation
We're not just about scheduling projects - we're the solution for mana...
Java Developer #76E2386A6426BE80 - CA - West Hollywood - Ask Jeeves,Inc.
Title Java Developer City West Hollywood State CA Zip Code 9006...
Software Development Engineer in Test #151264 - WA - Redmond - Microsoft Corporation
We're not just about scheduling projects - we're the solution for mana...
Software Development Engineer in Test #151114 - WA - Redmond - Microsoft Corporation
We're not just about scheduling projects - we're the solution for mana...
Software Development Engineer in Test #151110 - WA - Redmond - Microsoft Corporation
We're not just about scheduling projects - we're the solution for mana...
Application Specialist – Service Delivery Technologies #423-07 - CA - Walnut Creek - Safeway Inc.
APPLICATION SPECIALIST – SERVICE DELIVERY TECHNOLOGIES #423-07 Tracki...