Professional Web Applications Themes

Stupid Question?? - ASP.NET Building Controls

I have written a class to be used by asp.net applications that provides a useful function. Other than the constructor, it has just one method. There is no need for properties or events. Prior to .net I would have just created a dll from my class and distributed it to users with instructions on what to call. But the .net docs I have seem to say that I should create a Web Control Library which has a template like a component. Is it no longer just appropriate to just distribute a dll? Thanks, T...

  1. #1

    Default Stupid Question??

    I have written a class to be used by asp.net applications that provides a
    useful function. Other than the constructor, it has just one method. There
    is no need for properties or events.

    Prior to .net I would have just created a dll from my class and distributed
    it to users with instructions on what to call.

    But the .net docs I have seem to say that I should create a Web Control
    Library which has a template like a component.

    Is it no longer just appropriate to just distribute a dll?
    Thanks,
    T


    Tina Guest

  2. #2

    Default Re: Stupid Question??

    If you've made a control then that is good advice.

    If it's just a class somebody's going to be using from the code behind or
    middle tier or something, then a Class Library would be a more logical fit.
    Both Class Libraries and Web Control Libraries compile into DLLs.

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    [url]http://SteveOrr.net[/url]


    "Tina" <tinamseaburnremovespamexcite.com> wrote in message
    news:utNb2WZ%23EHA.2076TK2MSFTNGP15.phx.gbl...
    >I have written a class to be used by asp.net applications that provides a
    >useful function. Other than the constructor, it has just one method.
    >There is no need for properties or events.
    >
    > Prior to .net I would have just created a dll from my class and
    > distributed it to users with instructions on what to call.
    >
    > But the .net docs I have seem to say that I should create a Web Control
    > Library which has a template like a component.
    >
    > Is it no longer just appropriate to just distribute a dll?
    > Thanks,
    > T
    >

    Steve C. Orr [MVP, MCSD] Guest

Similar Threads

  1. Stupid question.
    By duit in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: April 4th, 07:04 PM
  2. OK. I'm asking a stupid question
    By JeffreyWells webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 3
    Last Post: October 20th, 08:10 PM
  3. Stupid C# question Please help!
    By Will in forum ASP.NET General
    Replies: 3
    Last Post: August 9th, 02:26 PM
  4. a stupid question
    By Joe in forum PHP Development
    Replies: 2
    Last Post: July 24th, 10:37 AM
  5. Is this a stupid question?
    By Steve in forum ASP.NET General
    Replies: 6
    Last Post: July 17th, 06:01 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139