Results 1 to 3 of 3

Thread: What is the best method to write code

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    34

    Exclamation What is the best method to write code

    what is the best method to write code to get best speed

    1- using compiled dll files

    2 - using code-behind ( aspx.vb)

    3 - simply using code in (aspx file)
    Last edited by muzammil; Feb 17th, 2005 at 09:27 PM.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: DLL or VB Code in aspx

    If referring to Vb code in aspx pages' code-behind (aspx.vb), neither.

    A dll can be used to lump common functions together. Real gains are made by using static methods that do not require instance instantiation and allocation.

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: What is the best method to write code

    Its all the same. Any code places in either your ASPX or ASPX.cs/ASPX.vb file will be compiled into a dll anyway inside your bin/ directory
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width