Click here to Skip to main content
15,912,897 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionproblem openning an aspx page Pin
Samir NIGAM11-Dec-06 18:47
Samir NIGAM11-Dec-06 18:47 
Questiondata binding in datagrid Pin
diya_dev11-Dec-06 18:44
diya_dev11-Dec-06 18:44 
AnswerRe: data binding in datagrid Pin
_mubashir11-Dec-06 21:45
_mubashir11-Dec-06 21:45 
Questioncomplex datagrid operation Pin
abulhassan_shock11-Dec-06 17:17
abulhassan_shock11-Dec-06 17:17 
Questionasp.NET newbie, security question Pin
RoswellNX11-Dec-06 11:17
RoswellNX11-Dec-06 11:17 
QuestionPaging logic Pin
5150.Net11-Dec-06 9:49
5150.Net11-Dec-06 9:49 
AnswerRe: Paging logic Pin
Not Active11-Dec-06 11:18
mentorNot Active11-Dec-06 11:18 
QuestionWSI Basic Profile 1.1 Compliant Web Service! (circular references) Pin
Mehdi Mousavi11-Dec-06 9:27
Mehdi Mousavi11-Dec-06 9:27 
Hi folks,
I've been lately trying to expose an object graph (with circular references) through a web method, however, this was not possible since the XmlSerializer has got no idea how to address the issue. Therefore, I've just changed the WebServiceBindingAttribute from

[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
to
[WebServiceBinding(ConformsTo = WsiProfiles.None)]

and added the SoapDocumentMethodAttribute to the web methods as follows and the problem is solved.

[SoapDocumentMethod(Use=SoapBindingUse.Encoded)]

The questions:

1. I would like to know this means that I only and only lose the
interoperability? Is this what happens???

2. Is there anyway to solve the circular referencing problem within the
object graph when exposing objects through web methods under the WSI
Basic Profile 1.1 standard?

3. Consider a class (MyEntity) that has got some properties, say Prop1, Prop2 and Prop3 all of boolean type. On the service side, consider this:

MyEntity entity = new MyEntity();<br />
entity.Prop1 = false;<br />
entity.Prop2 = false;<br />
entity.Prop3 = false;<br />
return entity;


When the entity is marshaled to the client, the Prop2 is true, while it's being set to false!!!! What the heck is going wrong with this? What happens when the type is serialized/deserialized???

TIA,

Mehdi
QuestionUsing controls in data repeaters Pin
Jrnsr850011-Dec-06 8:52
Jrnsr850011-Dec-06 8:52 
AnswerRe: Using controls in data repeaters Pin
Jrnsr850011-Dec-06 10:13
Jrnsr850011-Dec-06 10:13 
QuestionRe: I guess this means I am the only one trying to do this? Pin
Jrnsr850012-Dec-06 3:59
Jrnsr850012-Dec-06 3:59 
QuestionSetting values to a UserControl Pin
Ria7711-Dec-06 7:05
Ria7711-Dec-06 7:05 
AnswerRe: Setting values to a UserControl Pin
Anil Ch11-Dec-06 7:53
Anil Ch11-Dec-06 7:53 
QuestionExposing Enums from a Web Service Pin
Dominic Pettifer11-Dec-06 4:26
Dominic Pettifer11-Dec-06 4:26 
AnswerRe: Exposing Enums from a Web Service Pin
Kschuler11-Dec-06 8:01
Kschuler11-Dec-06 8:01 
QuestionConnection string in web.config file Pin
steve_rm11-Dec-06 4:26
steve_rm11-Dec-06 4:26 
AnswerRe: Connection string in web.config file Pin
ednrgc11-Dec-06 6:12
ednrgc11-Dec-06 6:12 
AnswerRe: Connection string in web.config file Pin
Not Active11-Dec-06 6:30
mentorNot Active11-Dec-06 6:30 
Questioncreate a runtime table in Ms Access database Pin
arpita200611-Dec-06 3:46
arpita200611-Dec-06 3:46 
AnswerRe: create a runtime table in Ms Access database Pin
Colin Angus Mackay11-Dec-06 4:17
Colin Angus Mackay11-Dec-06 4:17 
AnswerRe: create a runtime table in Ms Access database Pin
Vasudevan Deepak Kumar11-Dec-06 4:21
Vasudevan Deepak Kumar11-Dec-06 4:21 
Questiondefining color palette in System.Drawing Pin
Fred_Smith11-Dec-06 3:28
Fred_Smith11-Dec-06 3:28 
AnswerRe: defining color palette in System.Drawing Pin
ednrgc11-Dec-06 6:15
ednrgc11-Dec-06 6:15 
Questionparameters problem in .net 2005 Pin
jabbarsb11-Dec-06 2:52
jabbarsb11-Dec-06 2:52 
AnswerRe: parameters problem in .net 2005 Pin
Anil Ch11-Dec-06 8:00
Anil Ch11-Dec-06 8:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.