ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


IT Jobs

Office applications Toolkit

Is your application .Net ready?

F. Godfrey Baker

Published: 16 Jan 2003 10:19 GMT

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Redesigned from the bottom up, .Net has made marked progress in areas such as XML integration, error handling, component processing, and reusable frameworks. The promise for Web development is clear: faster development, less custom coding, and increased stability. Once you've decided to migrate current applications to the new platform, you'll need to determine whether your application is .Net ready. This article will help you figure out your .Net capability.

Appropriate languages
The .Net framework relies on a common language runtime (CLR) that promises compatibility with multiple languages. In theory, it would be possible to port a Java-based application to .Net without rewriting the application code in C#, C++, or Visual Basic (VB) by using Java COM or Web services. In practice, however, implementing such a heterogeneous application is usually a complex undertaking. Yet changing languages during the migration will also impact the timeline. A language port will almost undoubtedly require architectural changes. Application logic, which is currently coded in VB, C#, or C++, offers the simplest migration to .Net. While not a simple recompile, rewriting to the .Net framework libraries from VB, C#, or C++ gives the best chance of success over a Java COM or other mixed language implementation.

Application tier supported by COM objects
If you have a three-tiered system, your application most likely relies on COM objects to encapsulate application logic. COM objects are supported under the .Net framework. However, due to performance degradation with COM object interoperability under .Net, you might want to consider migrating any COM objects to .Net framework-managed objects. Note that performance enhancements gained with .Net's early binding protocols will increase performance for .Net/COM over your current ASP/COM implementation.

At the very least, with a current COM implementation you have the choice of whether to migrate to managed objects immediately, or to leave the COM layer in place for the intermediate term.

Stored procedures in place
Strong partitioning at the data tier typically relies on encapsulating data manipulation logic within stored procedures. Microsoft has identified using stored procedures as a best practice and relies on their use to optimise database performance. Additionally, stored procedures enhance maintainability by enabling SQL and table changes to be made without impacting application or presentation code.

Migrating to .Net will not require any modifications to existing stored procedures. The application routines to execute and manipulate retrieved data from stored procedures will require a migration to .Net framework ADO.Net library methods or the use of COM objects. If you are already utilising COM objects to encapsulate stored procedure calls, essentially no migration effort beyond COM integration will be required.

Clearly separated HTML and ASP
One common shortcut to identify in your application is the use of embedded HTML within ASP routines to render an interface element. This practice inevitably causes downstream maintenance problems because of the difficulty in understanding the flow of the embedded HTML and the structure of the rendered code. .Net enforces good programming practice by disallowing these HTML-rendering routines. Instead, custom Web controls are used to encapsulate complex HTML, exposing only the properties and events to the application.

Next

Previous

1 2


  • Email
  • Trackback
  • Clip Link
  • Print friendly Print with Dell

Did you find this article useful?
43 out of 77 people found this useful


Full Talkback thread

0 comments


Company/Topic Alerts

Create a new alert from the list below:











Related Jobs

Sybase / Oracle Migration Expert Contract Inv Banking

Sybase / Oracle Migration Expert Contract Inv Banking Database Migration Consultant You will be working on the largest and development project ...

Senior C# ASP.Net developer.VB.Net considered. Gain Sharepoint to 38k

Knowledge of ASP.Net is also essential along with knowledge of Stored Procedures, triggers , functions etc in SQL Server. For this role you will ...

Upgrade from VB to C# - By the coast in Devon

Skills for this role include: VB.NET or C# SQL Server 2000, 2005 Stored Procedures, Triggers etc Skills that will set you apart: Oracle Web Services, ...

Featured Talkback

Why do so many (virtually all) software packages think that they are so important that they have to be started automatically every time the computer boots? What is the largest number of "speed access", "update check", "camera download" and whatever other background programs you have ever seen running? Of those, how many did you really need?

By: J.A. Watson

Read full story:
Annoying software: a rogues' gallery

Discussions

pjc158 pjc158

Will Drizzle rain on Sun's MySql

Friday 25 July 2008, 5:30 PM

1 comment
pjc158 pjc158

Show me the money!

Friday 25 July 2008, 5:18 PM

5 comments

Vista Upgrade Blog

Microsoft's pre-modern message puts a...

Over at ZDNet.com, Ed Bott reports a first sighting of Microsoft's eagerly awaited $300 million ad campaign. Already the cause of much speculation, the consensus is that this will be... More

7 comments

A $40 CONSUMER-class router has create...

Believe it or not I don't work in IT, haven't for 7 years. Yes I work with Microsoft's Windows XP Embedded and as a result I have to know a lot about the OS, the kernal, Win API calls... More

Post a comment

Sick Puppy Redo

I generally follow a dispassionate investigative process when trying to discern what happened when a project goes bad. Although its a low priority item, it gets done simply because... More

Post a comment