Custom Control

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

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
 
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!

--
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
 
Back
Top