Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: Beginner programming question? Pin
CKnig9-Dec-07 18:32
CKnig9-Dec-07 18:32 
GeneralRe: Beginner programming question? Pin
cmh6239-Dec-07 18:40
cmh6239-Dec-07 18:40 
GeneralWhy am I getting this error "Attempted to read or write protected memory....."? [modified] Pin
Khoramdin9-Dec-07 17:01
Khoramdin9-Dec-07 17:01 
GeneralRe: Why am I getting this error "Attempted to read or write protected memory....."? Pin
Sathesh Sakthivel9-Dec-07 17:08
Sathesh Sakthivel9-Dec-07 17:08 
GeneralRe: Why am I getting this error "Attempted to read or write protected memory....."? Pin
N a v a n e e t h9-Dec-07 20:18
N a v a n e e t h9-Dec-07 20:18 
General[Message Deleted] Pin
cmh6239-Dec-07 16:58
cmh6239-Dec-07 16:58 
GeneralRe: Beginner programming question? Please help! Pin
Christian Graus9-Dec-07 17:14
protectorChristian Graus9-Dec-07 17:14 
QuestionSending large Data over WCF Pin
PavanPT9-Dec-07 15:48
PavanPT9-Dec-07 15:48 
Hi there,
I’m working on smart client application and i use WCF as main communication service.
Most of the times I use single Dataset to transmit data from the client to server (service) and vice-versa.
My dataset would contain only one table with single record (as i have normalised pulling large data in single dataset).This record had a column which stored actual file date (byte array). This is working fine for < 1MB data.
Never before I have come across transmitting large data via WCF (large data-size being approximately more than 2MB and defiantly less than 10MB). And this is something i need to implement but i have very little idea.
I have started looking on net for solution but none of them seems to be working for me.
Well i have done the following
client side
Binding being
<system.servicemodel>
<bindings>
<wshttpbinding>

<binding name="WSHttpBinding_IAttachmentService" closetimeout="00:10:00">
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="500000" maxReceivedMessageSize="1000000"
messageEncoding="Mtom" useDefaultWebProxy="true" allowCookies="false"&gt;
<readerquotas maxdepth="32" maxstringcontentlength="8192">
maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
<reliablesession ordered="true" inactivitytimeout="00:10:00" enabled="false" />
<security mode="Message">
<transport clientcredentialtype="Windows" proxycredentialtype="None" realm="" />

<message clientcredentialtype="Windows" negotiateservicecredential="true">
algorithmSuite="Default" establishSecurityContext="true" /&gt;

</message></security>
</readerquotas></binding>

</wshttpbinding>
</bindings>
</system.servicemodel>

server side
Binding being

<binding name="Binding_IAttachmentService" closetimeout="00:10:00">
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="500000" maxReceivedMessageSize="65536"
messageEncoding="Mtom" useDefaultWebProxy="true" allowCookies="false"&gt;
<readerquotas maxdepth="32" maxstringcontentlength="8192" maxarraylength="16384">
maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
<reliablesession ordered="true" inactivitytimeout="00:10:00">
enabled="false" /&gt;
<security mode="Message">
<transport clientcredentialtype="Windows" proxycredentialtype="None">
realm="" /&gt;
<message clientcredentialtype="Windows" negotiateservicecredential="true">
algorithmSuite="Default" establishSecurityContext="true" /&gt;
</message></transport></security>
</reliablesession></readerquotas></binding>

please let me know if there is something I’m missing to change on dataset or on my service proxy level or on service itself. I was thinking dataset by default is serializable and so i need not wrap it to WCF DataContract. if thats not the case then is there an alternative solution to my problem.
It would be very helpful if someone throw some light on me.


regds,
pavan
GeneralRe: Sending large Data over WCF Pin
Bob Nadler9-Dec-07 16:36
Bob Nadler9-Dec-07 16:36 
GeneralRe: Sending large Data over WCF Pin
PavanPT9-Dec-07 17:01
PavanPT9-Dec-07 17:01 
QuestionHow to set Expiry Date to .ppt/.pptx files [modified] Pin
sachinkalse9-Dec-07 14:34
sachinkalse9-Dec-07 14:34 
GeneralRe: How to set Expiry Date to .ppt/.pptx files Pin
Paul Conrad15-Dec-07 9:06
professionalPaul Conrad15-Dec-07 9:06 
QuestionWhere does the webbrowser keep images? Pin
aj.esler9-Dec-07 12:53
aj.esler9-Dec-07 12:53 
GeneralRe: Where does the webbrowser keep images? Pin
Christian Graus9-Dec-07 13:19
protectorChristian Graus9-Dec-07 13:19 
GeneralRe: Where does the webbrowser keep images? Pin
aj.esler9-Dec-07 13:47
aj.esler9-Dec-07 13:47 
GeneralRe: Where does the webbrowser keep images? Pin
Christian Graus9-Dec-07 13:49
protectorChristian Graus9-Dec-07 13:49 
AnswerRe: Where does the webbrowser keep images? Pin
aj.esler10-Dec-07 0:30
aj.esler10-Dec-07 0:30 
QuestionDatabase learning basics Pin
kingletas9-Dec-07 12:15
kingletas9-Dec-07 12:15 
GeneralRe: Database learning basics Pin
Christian Graus9-Dec-07 13:14
protectorChristian Graus9-Dec-07 13:14 
GeneralLocating objects that throw the NullReferenceException in Deployed Applications [modified] Pin
Brett Blatchley9-Dec-07 11:36
Brett Blatchley9-Dec-07 11:36 
GeneralRe: Locating objects that throw the NullReferenceException in Deployed Applications Pin
Christian Graus9-Dec-07 13:25
protectorChristian Graus9-Dec-07 13:25 
GeneralRe: Locating objects that throw the NullReferenceException in Deployed Applications Pin
Brett Blatchley9-Dec-07 17:58
Brett Blatchley9-Dec-07 17:58 
GeneralRe: Locating objects that throw the NullReferenceException in Deployed Applications Pin
mav.northwind10-Dec-07 2:22
mav.northwind10-Dec-07 2:22 
QuestionReusing a method that takes class as argument Pin
karthikde19809-Dec-07 11:27
karthikde19809-Dec-07 11:27 
GeneralRe: Reusing a method that takes class as argument Pin
Christian Graus9-Dec-07 13:16
protectorChristian Graus9-Dec-07 13:16 

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.