PersistenceModeAttribute problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Praveen Ramesh

    PersistenceModeAttribute problem

    Here is a request for a change in Whidbey:

    We develop a lot of base assemblies which will end up being used either by
    Windows Forms OR ASP.Net. These assemblies include a lot of properties of
    collection types and we need to include the PersistenceMode attribute to
    those properties for proper persistence in the ASP.Net designer. This is a
    major problem because the PersistenceMode attribute and enumeration are
    defined in System.Web.dll and we hate to add that dependancy to our BASE
    dlls (which could be used in Windows Forms OR Web Forms).

    So, it would be a big help if the PersistenceMode attribute and enumeration
    type defenitions could be moved to the mscorlib or System or some such
    neutral dll in Whidbey.

    Is this possible? Is there is a Whidbey newsgroup where I can cross post
    this request?

    Thanks
    Praveen


  • Peter Huang

    #2
    RE: PersistenceMode Attribute problem

    Hi Praveen,

    Currently I am looking for somebody who could help you on it. We will reply
    here with more information as soon as possible.
    If you have any more concerns on it, please feel free to post here.


    Thanks for your understanding!

    Peter Huang
    Microsoft Developer Community Support
    Email :v-phuang@online.m icrosoft.com

    This posting is provided "AS IS", with no warranties, and confers no rights.

    Comment

    • Steven Cheng[MSFT]

      #3
      RE: PersistenceMode Attribute problem

      Hi Praveen,

      Thanks for your posting. About The .NET Whidbey, there is already a Whidbey
      newsgroup available now:



      Also, as my opinion, since the "PersistenceMod eAttribute" is target to
      asp.net webcontrol's design-time support, it is apparent that we put this
      class under the System.Web Namespace rather than anyother namespace. Do
      you think so?

      If you have any other ideas or questions, please feel free to post here.
      Thanks.


      Regards,

      Steven Cheng
      Microsoft Online Support

      Get Secure! www.microsoft.com/security
      (This posting is provided "AS IS", with no warranties, and confers no
      rights.)

      Comment

      • Praveen Ramesh

        #4
        Re: PersistenceMode Attribute problem

        Steven,

        Thanks for the whidbey link.

        Like I mentioned before, the property to which this attribute will be
        applied and it's type are in a base assembly and that type could end up
        being used in both the windows forms designer and web forms designer. So,
        the namespace is not a issue, it would be nice if the type definition gets
        moved to a "neutral" assembly like System.dll (in fact, I see that
        System.dll already has some types defined in the "System.Web " namespace) so
        that I don't have to link to System.Web.dll in my neutral-base assembly
        (neutral as in not depending on windows forms or web forms dlls).

        Thanks
        Praveen


        "Steven Cheng[MSFT]" <v-schang@online.m icrosoft.com> wrote in message
        news:1wihOxhwEH A.3956@cpmsftng xa10.phx.gbl...[color=blue]
        > Hi Praveen,
        >
        > Thanks for your posting. About The .NET Whidbey, there is already a[/color]
        Whidbey[color=blue]
        > newsgroup available now:
        >
        >[/color]
        http://communities.microsoft.com/new...idbey&slcid=us[color=blue]
        >
        > Also, as my opinion, since the "PersistenceMod eAttribute" is target to
        > asp.net webcontrol's design-time support, it is apparent that we put this
        > class under the System.Web Namespace rather than anyother namespace. Do
        > you think so?
        >
        > If you have any other ideas or questions, please feel free to post here.
        > Thanks.
        >
        >
        > Regards,
        >
        > Steven Cheng
        > Microsoft Online Support
        >
        > Get Secure! www.microsoft.com/security
        > (This posting is provided "AS IS", with no warranties, and confers no
        > rights.)
        >[/color]


        Comment

        • Steven Cheng[MSFT]

          #5
          Re: PersistenceMode Attribute problem

          Hi Praveen,

          Thanks for your followup. Yes, there're some certain Types existing in the
          System.dll, but they seems to be some fundamental types which are mostly
          for internal use, so the framework build them into the system level
          assembly. And those types like PersistenceMode Attribute are front UI
          related , which are mostly used by web control developers ,so it is put in
          a web specified assembly.
          Anyway, maybe in the future the .net framework's class library will become
          more flexible that makes the web developing or windows form developing (at
          least from the design-mode view) seamless with each other. That'll make
          much convenience to the developers. :)


          Regards,

          Steven Cheng
          Microsoft Online Support

          Get Secure! www.microsoft.com/security
          (This posting is provided "AS IS", with no warranties, and confers no
          rights.)

          Comment

          • Steven Cheng[MSFT]

            #6
            Re: PersistenceMode Attribute problem

            Hi Praveen,

            Have you got any progress or further ideas on this question? IF there're
            anything else we can help, please feel free to post here. Thanks.

            Regards,

            Steven Cheng
            Microsoft Online Support

            Get Secure! www.microsoft.com/security
            (This posting is provided "AS IS", with no warranties, and confers no
            rights.)

            Comment

            Working...