How to change reader quota values programmatically

Example:   XmlDictionaryReaderQuotas quotas = new XmlDictionaryReaderQuotas(); quotas.MaxArrayLength = int.MaxValue; quotas.MaxBytesPerRead = int.MaxValue; quotas.MaxDepth = int.MaxValue; quotas.MaxNameTableCharCount = int.MaxValue; quotas.MaxStringContentLength = int.MaxValue; NetTcpBinding tcpBinding = new NetTcpBinding(); tcpBinding.ReaderQuotas = quotas;    

4

Migration path to WCF

From .NET Remoting to the Windows Communication Foundation (WCF) http://msdn.microsoft.com/library/en-us/dnvs05/html/NETremoteWCF.asp?frame=true   ASP.NET Web services to the Windows Communication Foundation http://wcf.netfx3.com/content/TheFutureofASPNETWebServicesintheContextoftheWindowsCommunicationFoundation.aspx   WSE->WCF http://wcf.netfx3.com/content/WindowsCommunicationFoundationWCFInteroperabilityandMigrationwithWSE20.aspx

0

card space forum(infocard)

if you have any questions about infocard,please use this forum Windows CardSpace (“InfoCard”) http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=784&SiteID=1 sample1.zip

0

How to change binding properties(custom binding)

Uri baseAddress = new Uri(“http://localhost:8081/testsvc”); ServiceHost sh = new ServiceHost(typeof(CalculatorService), baseAddress); WSDualHttpBinding b = new WSDualHttpBinding(); BindingElementCollection bec = b.CreateBindingElements();   TextMessageEncodingBindingElement sbe = bec.Find<TextMessageEncodingBindingElement>(); sbe.MessageVersion = MessageVersion.Soap11WSAddressingAugust2004;   CustomBinding cb = new CustomBinding(bec); sh.AddServiceEndpoint(“WCFSAMPLES.ICalculatorDuplex”, cb, “”); sh.Open(); Console.WriteLine(“service is ready”); Console.ReadKey();     SvcUtil.exe.config

1

Custom behavior sample

This sample will show you,How to use IParameterInspector BehaviorExtensionElement IDispatchMessageInspector IClientMessageInspector IEndpointBehavior http://blogs.msdn.com/madhuponduru/attachment/671922.ashx     CustomBehavior.zip

0

RECENT WCF SEMINAR LINKS

//click on each topic to view these seminars The Lifetime of a Message in Windows Communication Foundation A Sneak Preview of Windows Communication Foundation from an Early Adopter’s Perspective Taking Advantage of TCP/IP Reliability in SOAP Extending Windows Communication Foundation Introducing Web Services Enhancements for Microsoft .NET (WSE) 3.0 Dissecting Contract-First Web Services Transactions in…

0

Custom Trace Listener sample

You can write your own customer trace listener and add this listener info to WCF application configuration file, WCF will send all the trace information to your custom trace listener class also   Please click on following link to download this sample http://blogs.msdn.com/madhuponduru/attachment/647429.ashx   More Info:   http://blogs.msdn.com/madhuponduru/archive/2006/05/18/601458.aspx CS.zip

0

WCF TRANSACTION SAMPLE

This sample will demonstrate, How to use WCF transactions Please change connection string and SQL statements you want to execute in app.config file (both client side and service side) Please click on following link to download this sample http://blogs.msdn.com/madhuponduru/attachment/647405.ashx   CS.zip

0

Reliable Sessions – The Image Transfer Demonstration(updated for RC1)

This sample demonstrate, how reliable sessions works in WCF This is PDC sample, since lot of customers asking about this sample, I am uploading this sample here. click on following link to download this sample http://blogs.msdn.com/madhuponduru/attachment/637173.ashx   ReliableSessions.zip

1

New Community Site for WCF

For WCF-centric items, update your favorites from http://windowscommunication.net to http://wcf.netfx3.com/ More links http://wcf.netfx3.com/content/resources.aspx http://wcf.netfx3.com/files/default.aspx

0