473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
Nov 18 '05 #1
5 1302
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-******@online.microsoft.com

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

Nov 18 '05 #2
Hi Praveen,

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

http://communities.microsoft.com/new...idbey&slcid=us

Also, as my opinion, since the "PersistenceModeAttribute" 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.)

Nov 18 '05 #3
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-******@online.microsoft.com> wrote in message
news:1w**************@cpmsftngxa10.phx.gbl...
Hi Praveen,

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

http://communities.microsoft.com/new...idbey&slcid=us
Also, as my opinion, since the "PersistenceModeAttribute" 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.)

Nov 18 '05 #4
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 PersistenceModeAttribute 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.)

Nov 18 '05 #5
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.)

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.