DotNet Architecture Question???

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

  1. #1

    Default DotNet Architecture Question???

    1. Every page of my site is going to have a menu at the top.
    2. The menu is driven by XML stored in SQL.
    3. Many of the pages in the body (in addition to the menu) will also need
    this XML
    4. I don't want to have to hit SQL twice to retrieve the XML (Once for the
    Menu and twice for the rest of the page).
    5. I am using Code Behind.

    What is the best way to develop this?

    Thanks,
    Ryan


    Ryan Fiorini Guest

  2. Similar Questions and Discussions

    1. Flex file architecture question
      Hey all, I"m biulding an application wherein a given mxanel is required to be onscreen in mulitple places across multiple mxml files... i find it...
    2. architecture/design related question
      I have an architecture/design related question. I need to develop a web service that contacts multiple other web services that are on other servers....
    3. Web Service Architecture question
      Hello I have several clients, mobile, web and desktop. I would like to depoly common functionality for these clients in Web Servvices. Also, I am...
    4. [PHP] gettin parameters from url, architecture question
      * Thus wrote Merlin (news.groups@web.de): It almost looks to me that those are static pages. but if they aren't a simple way to handle that would...
    5. Web services / application architecture question
      Thanks a lot for your reply Dino....It has made me realise even more starkly that I need to get up to speed very quickly on the various aspects of...
  3. #2

    Default Re: DotNet Architecture Question???

    Assuming that your menu XML is globally the same in all pages, and that you
    don't need to modify it on the fly, just store the data in your Application
    Cache. That makes it globally available to all pages in the application.

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of Little things.

    "Ryan Fiorini" <ryan.fiorini@mutualofamerica.com> wrote in message
    news:%23A2%23OuyODHA.2256@TK2MSFTNGP11.phx.gbl...
    > 1. Every page of my site is going to have a menu at the top.
    > 2. The menu is driven by XML stored in SQL.
    > 3. Many of the pages in the body (in addition to the menu) will also need
    > this XML
    > 4. I don't want to have to hit SQL twice to retrieve the XML (Once for
    the
    > Menu and twice for the rest of the page).
    > 5. I am using Code Behind.
    >
    > What is the best way to develop this?
    >
    > Thanks,
    > Ryan
    >
    >

    Kevin Spencer Guest

  4. #3

    Default Re: DotNet Architecture Question???

    Look into XML Transformations, this is a way you can filter your XML this
    way you get the whole menu from the SQL server and filter it based on your
    menuing needs..
    "Ryan Fiorini" <ryan.fiorini@mutualofamerica.com> wrote in message
    news:#A2#OuyODHA.2256@TK2MSFTNGP11.phx.gbl...
    > 1. Every page of my site is going to have a menu at the top.
    > 2. The menu is driven by XML stored in SQL.
    > 3. Many of the pages in the body (in addition to the menu) will also need
    > this XML
    > 4. I don't want to have to hit SQL twice to retrieve the XML (Once for
    the
    > Menu and twice for the rest of the page).
    > 5. I am using Code Behind.
    >
    > What is the best way to develop this?
    >
    > Thanks,
    > Ryan
    >
    >

    alien2_51 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