Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. If i have multiple version of the same assembly how can i provide choice to client to choose one assembly?

If i have multiple version of the same assembly how can i provide choice to client to choose one assembly?

Scheduled Pinned Locked Moved .NET (Core and Framework)
questionannouncement
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shaik Haneef
    wrote on last edited by
    #1

    If i have multiple version of the same assembly how can i provide choice to client to choose one assembly at run time, suppose analyze i have drop down of two versions , when client select one option that assembly need to be load at run time , is it possible one interviewer ask question tome can any body answer this

    P L 2 Replies Last reply
    0
    • S Shaik Haneef

      If i have multiple version of the same assembly how can i provide choice to client to choose one assembly at run time, suppose analyze i have drop down of two versions , when client select one option that assembly need to be load at run time , is it possible one interviewer ask question tome can any body answer this

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Yes. Now choose which question you want to fit that answer to.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys | Onyx

      L 1 Reply Last reply
      0
      • P Pete OHanlon

        Yes. Now choose which question you want to fit that answer to.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        So I can choose a question and your answer will be "yes"? Let me think of a good one then. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in


        1 Reply Last reply
        0
        • S Shaik Haneef

          If i have multiple version of the same assembly how can i provide choice to client to choose one assembly at run time, suppose analyze i have drop down of two versions , when client select one option that assembly need to be load at run time , is it possible one interviewer ask question tome can any body answer this

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          How would the client know which one to choose? In other words, if you (as developer) don't know what the correct version is, then how should a user, unaware of the code and it's dependencies, make that choice?

          Shaik Haneef wrote:

          is it possible one interviewer ask question tome

          It's technically possible, yes :thumbsup: But again, why would you punish the end-user like that?

          I are troll :)

          P 1 Reply Last reply
          0
          • L Lost User

            How would the client know which one to choose? In other words, if you (as developer) don't know what the correct version is, then how should a user, unaware of the code and it's dependencies, make that choice?

            Shaik Haneef wrote:

            is it possible one interviewer ask question tome

            It's technically possible, yes :thumbsup: But again, why would you punish the end-user like that?

            I are troll :)

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Eddy Vluggen wrote:

            How would the client know which one to choose?

            A client might not necessarily be a user. It could be something that uses IoC or a plugin based system with very tight rules about selection. Alternatively, it could be a clueless randomly selecting DLLs in the hope they'll do something useful.

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            L V 2 Replies Last reply
            0
            • P Pete OHanlon

              Eddy Vluggen wrote:

              How would the client know which one to choose?

              A client might not necessarily be a user. It could be something that uses IoC or a plugin based system with very tight rules about selection. Alternatively, it could be a clueless randomly selecting DLLs in the hope they'll do something useful.

              "WPF has many lovers. It's a veritable porn star!" - Josh Smith

              As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

              My blog | My articles | MoXAML PowerToys | Onyx

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Pete O'Hanlon wrote:

              Alternatively, it could be a clueless randomly selecting DLLs in the hope they'll do something useful.

              I was visualizing Windows asking an end-user what version of HAL.dll to use :doh:

              I are troll :)

              V 1 Reply Last reply
              0
              • P Pete OHanlon

                Eddy Vluggen wrote:

                How would the client know which one to choose?

                A client might not necessarily be a user. It could be something that uses IoC or a plugin based system with very tight rules about selection. Alternatively, it could be a clueless randomly selecting DLLs in the hope they'll do something useful.

                "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                My blog | My articles | MoXAML PowerToys | Onyx

                V Offline
                V Offline
                Vasudevan Deepak Kumar
                wrote on last edited by
                #7

                Pete O'Hanlon wrote:

                Alternatively, it could be a clueless randomly selecting DLLs in the hope they'll do something useful.

                Such a system is guaranteed to be a catastrophic failure. :doh:

                Vasudevan Deepak Kumar Personal Homepage
                Tech Gossips
                The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                1 Reply Last reply
                0
                • L Lost User

                  Pete O'Hanlon wrote:

                  Alternatively, it could be a clueless randomly selecting DLLs in the hope they'll do something useful.

                  I was visualizing Windows asking an end-user what version of HAL.dll to use :doh:

                  I are troll :)

                  V Offline
                  V Offline
                  Vasudevan Deepak Kumar
                  wrote on last edited by
                  #8

                  Eddy Vluggen wrote:

                  I was visualizing Windows asking an end-user what version of HAL.dll to use

                  I am still thinking where would this prompt come at? Immediately after Bios checks? But then how would that 'Select File Dialog' crop up? A variant of chicken-and-the-egg problem!

                  Vasudevan Deepak Kumar Personal Homepage
                  Tech Gossips
                  The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups