Client notification, should I use an AJAX Push or Poll?

I’m surprised noone here has mentioned long-polling. Long polling means keeping an open connection for a longer period (say 30-60 seconds), and once it’s closed, re-opening it again, and simply having the socket/connection listen for responses. This results in less connections (but longer ones), and means that responses are almost immediate (some may have to … Read more

A Good C++ Library for SOAP

Check out Apache Axis. That is my all times favorite SOAP implementation. It’s SOAP done right! Exists for C++ and Java. http://ws.apache.org/axis/ And in best traditions of Apache Foundation, it is FREE and OPENSOURCE. So, enjoy!

Handle exceptions in web services with Elmah

ASP.NET web services never fire Application_Error event and exceptions cannot be handled globally by ELMAH like in ASP.NET apps. But we can “manually” log exceptions using ELMAH: public int WebServiceMethod() { try { … } catch (Exception ex) { Elmah.ErrorLog.GetDefault( HttpContext.Current).Log(new Elmah.Error(ex, HttpContext.Current)); } }

What is WCF in .NET? [closed]

WCF = Windows Communication Foundation A communication-oriented set of APIs and a “runtime” inside .NET to make two (or more) systems talk to one another. It basically replaces ASMX (ASP.NET web services), .NET remoting (object remoting) and a few other communication-related API’s and products in the .NET space. It can and should be used any … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)