DCSIMG
KeepAliveEnabled - Rotem Bloom's Blog

Rotem Bloom's Blog

Share knowledge on .NET and web development

News

About Me

Glad to help and share knowledge on .NET and also huge fan of Dream Theater.

Contact me via messenger

View Rotem Bloom's profile on LinkedIn

Dream Theater Pics

Blogs I Read

Browse by Tags

All Tags » KeepAliveEnabled (RSS)
WCF KeepAliveEnabled to false for WS or Basic HTTP binding, What it supposed to do???
Hi All, There is property called KeepAliveEnabled on HttpTransportBindingElement of WS\Basic http binding. This property can be change on the WCF client configuration only in custom binding. On WS\Basic http binding you can reach the KeepAliveEnabled property only using code. Code Example: ServiceHost host; Type serviceType = typeof ( MyService ); host = new ServiceHost (serviceType); ServiceEndpointCollection endpoints = host.Description.Endpoints; foreach ( ServiceEndpoint endpoint in endpoints...