Custom Control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shapper

    #1

    Custom Control

    Hello,

    I am starting to create various custom controls for Asp.Net 2.0 and I
    am using Visual Studio 2005.

    I have a few questions:

    1. Should I use the Web Site or Project Model?
    I believe Project Model allows me to embed the resources (images,
    css files, etc) into my DLL.
    Maybe this is better for distribution?
    2. When creating a control which option in VS2005 should I use?
    I create all my control in my VB code.
    Component, UserControl, etc?

    As I said I have the plan for 5 Asp.Net controls so I need to decide
    how to start.

    Thanks,
    Miguel

  • Ryan S. Thiele

    #2
    Re: Custom Control

    I would use controls in a project model.

    Project - Website [Main Program]
    Project - DataControls [Class Libriary]
    Project - Custom Controls [User Controls]

    See how you divide your solution?

    Imagine each project in your solution as subjects in a classroom. They are
    seperate ideas, but they are all related. When you update your solution (you
    know how programmers are, never satified with their creation, *LOL*) you can
    easily find the code.
    Hope this helps, and good luck!

    --
    Thiele Enterprises - The Power Is In Your Hands Now!

    --
    "shapper" <mdmoura@gmail. comwrote in message
    news:1161352120 .650773.273330@ h48g2000cwc.goo glegroups.com.. .
    Hello,

    I am starting to create various custom controls for Asp.Net 2.0 and I
    am using Visual Studio 2005.

    I have a few questions:

    1. Should I use the Web Site or Project Model?
    I believe Project Model allows me to embed the resources (images,
    css files, etc) into my DLL.
    Maybe this is better for distribution?
    2. When creating a control which option in VS2005 should I use?
    I create all my control in my VB code.
    Component, UserControl, etc?

    As I said I have the plan for 5 Asp.Net controls so I need to decide
    how to start.

    Thanks,
    Miguel


    Comment

    Working...