Home All Groups Group Topic Archive Search About
Author
20 Oct 2006 1:48 PM
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

Author
20 Oct 2006 8:49 PM
Ryan S. Thiele
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" <mdmo***@gmail.com> wrote in message
news:1161352120.650773.273330@h48g2000cwc.googlegroups.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