Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I applied 3 tier architecture (User Interface Layer, Business Layer, Database Layer), I use VB.NET in Business and Database Layer in DLL files format.

 

The User Interface layer I use ASP.NET, so I need to call DLL in ASP.NET. There are few methods, which one is better? speed? stable?....?

 

Example of these methods like Object Tags (<OBJECT...>), Server.CreateObject, or use <%@ Import....>....

  • *Gurus*
Posted

You can't use <object> tags, since they are client-side, nor can you use Server.CreateObject, since that method is present in order to access COM DLLs.

 

Instead, what you should do is compile the page as a code-behind, referencing the VB.NET DLL in your compiler arguments. Then, it's just a simple matter of importing that namespace, declaring an instance of the class and invoking its methods.

Posted

Of course I did, actually I am doing R&D on .NET, but I am still new, many new features I still not sure.

 

I did test the database access speed between ASP and ASP.NET, the performance is about 10~20% faster with SQL database.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...