interface alteration

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default interface alteration

    In Dino Esp... book he talks about how user controls are the way to replace
    the old file include method. Then he goes on to say that if it is a large
    site it becomes a problem because every time that you change the interface of
    that control you will have to recompile all the pages that reference that
    control.

    I am pretty new with the asp.net env. and haven't built any controls that
    way yet but would like to know what the reality of this senario is and what
    is the alternative method if not using a user control.
    Is "user control" the correct term? Don't have his book, I just read as much
    as I can while at Borders Bookstore.
    nate Guest

  2. Similar Questions and Discussions

    1. Protecting Images from Alteration
      I am looking for a way to deliver my photo images on CD "locked" so that they cannot be changed, in any way, but they can be printed. The images are...
    2. #39403 [NEW]: A class can't implements interface implemented by implemented interface/classes
      From: baldurien at bbnwn dot eu Operating system: Irrelevant PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug...
    3. Next-N Interface
      Currently I am using a custom tag to display records vertically then across... ex: 1 4 7 2 5 8 3 6 9 The tag is...
    4. Interface
      Hi there, I have made an interface in Photoshop and imported it into Director, it contains a title bar with text on it. What I am trying to achieve...
    5. Does Interface Size Matter? Is my interface too complex?
      Hi all, Does Interface Size Matter? Is my interface too complex? I volunteered to design a couple of web pages, but since we don't have a...
  3. #2

    Default Re: interface alteration

    Well, first of all, even though what he says about "needing to recompile all
    pages that reference that control" is technically true, that is not as much
    of a hassle as it sounds like. This is because a Solution is divided into
    Projects, and each project is compiled separately (1 Project is compiled
    into 1 *.dll). Because when making a control it is usually put in the same
    Project as the pages that use it, you will normally end up recompiling the
    pages that use it at the same time you compile the control. If you do end up
    making a control that is not in the same project as the pages that use it,
    or if you have multiple projects that use the same control, you can either
    compile the entire Solution (this is the same as compiling all your
    projects) or individually compile the Projects that use the control. How
    many Projects you have will depend on how many different areas your site
    has. It is possible to do a large site with just one Project, but it is not
    usually recommended if you have areas of your site that are unrelated. But
    since all the *.dll files go in the same directory on the web server anyway,
    what I usually do if a control is used by more than one Project is compile
    the solution and upload all the *.dll's, it only takes a couple minutes
    anyway. You will find this easier to understand once you've been using
    ASP.NET a little longer. Good Luck!
    --
    Nathan Sokalski
    [email]njsokalski@hotmail.com[/email]
    [url]http://www.nathansokalski.com/[/url]

    "nate" <nate@discussions.microsoft.com> wrote in message
    news:F3A7B44D-67C1-4618-B651-9271531FAB65@microsoft.com...
    > In Dino Esp... book he talks about how user controls are the way to
    > replace
    > the old file include method. Then he goes on to say that if it is a large
    > site it becomes a problem because every time that you change the interface
    > of
    > that control you will have to recompile all the pages that reference that
    > control.
    >
    > I am pretty new with the asp.net env. and haven't built any controls that
    > way yet but would like to know what the reality of this senario is and
    > what
    > is the alternative method if not using a user control.
    > Is "user control" the correct term? Don't have his book, I just read as
    > much
    > as I can while at Borders Bookstore.

    Nathan Sokalski Guest

Posting Permissions

  • You may not post new threads
  • You may 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