This is a brilliant tool especially if you are from the OO, type safe world as many of us are. Now these is nothing wrong with pure JS as we have produced some impressive products with it. My latest project was working on a video player where the UI is entirely in pure JS. This effort was made much easier with use of the Module Pattern, RequireJS and Underscore. The point is that JS is a language that was developed in 1994 in 10 days. Good grief Smalltalk took 9 years! I am sure Typescript development effort is measured in person years. JS languished for years but in the last 2-3 we seen a remarkable steps forward in the tooling. This is what is really helping as so much time is wasted in JS with things like typos.
Anders is one of the great minds in this business and I applaud his efforts here. I really like the integration with Visual Studio including Express. It appears that Anders will evolve this product along industry standards and that is critical.
Like everything this is not a solution for all but for one who has been in the trenches with JS I embrace a tool like this that can help in so many ways.
I also feel is too bad that people cannot share opinions in a professional manner as I truely believe they do not realize that it diminishes the point they are trying to make.
This really helped me as we needed more like Jeff is doing as we wanted our SL UI to repond to server progress events and the duplexMode="MultipleMessagesPerPoll" was causing my responses to be buffered so it looked like they were not working. Looking at Jeffs example cleared the air. It worked fine after converting project to SL4
I followed your excellent video and build a sample using http://msdn.microsoft.com/en-us/library/cc645027(v=vs.95).aspx">http://msdn.microsoft.com/en-us/library/cc645027(v=vs.95).aspx and thanks to both sources thing looked great till we turned on Windows authentication" and turned off "allow anonymous authentication" on the service using IIS console. We have alot of security minded clients and the thought of enabling this makes them run for the hills! I know that this should not present a security issue as the service will use Windows auth but the client is always right. When we do this we get the following error:
Exception: System.ServiceModel.ServiceActivationException: The service '/DuplexService1/Service1.svc' cannot be activated due to an exception during compilation. The exception message is: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.. ---> System.NotSupportedException: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.
<behaviors> <serviceBehaviors> <behavior> <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --> <serviceMetadata httpGetEnabled="true" /> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> </behaviors> <services> <service name="DuplexService1.OrderService">
again the same result. The other curious thing is the that the SL ClientConfig file is always empty.(<configuration />. Surely SL Duplex communications does not require Anonymous auth to be on or we are up the creek.