Web Connection
West Wind Web Connection 7.20 released
Gravatar is a globally recognized avatar based on your email address. West Wind Web Connection 7.20 released
  Rick Strahl
  All
  Mar 16, 2021 @ 02:04pm

Hi all,

Web Connection 7.20 has been released. This is a maintenance release with minimal change impact on existing applications, as most in version updates have been. This release adds a few cool new features:

  • Web Sockets Support
  • Consolidated Administration interface
  • A wwProcess::OnRouting() handler
  • Support for .NET 5.0 in wwDotnetBridge
  • Updated local Web Connection Web Server for .NET 5.0
  • JSON parsing Improvements

You can take a look at the very detailed Release Post and the full Web Connection Change log here:

Check it out...

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: West Wind Web Connection 7.20 released
  Richard Kaye
  Rick Strahl
  Mar 18, 2021 @ 09:34am

Nice! And the web sockets support is very cool.

Gravatar is a globally recognized avatar based on your email address. re: West Wind Web Connection 7.20 released
  Rick Strahl
  Rick Strahl
  Mar 22, 2021 @ 06:31pm

Ha - it would probably help if I actually enabled the Web Sockets support on the live server 😄

The Web Socket sample now should work.

Web Connection Web Socket Chat Sample

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: West Wind Web Connection 7.20 released
  Dimitar
  Rick Strahl
  Mar 23, 2021 @ 02:58am

I think the web sockets support is wonderful. Of course you can always build your broker using .NET Core or Node.js but having that inside WWWC framework is probably going to be easier. Do you have a guide or article explaining what is needed to implement this feature in existing VFP web applications?

Also, is there a way you can submit messages from the server (i.e one-way client notifications)?

Thanks Dimitar Hristov

Gravatar is a globally recognized avatar based on your email address. re: West Wind Web Connection 7.20 released
  Stein Goering
  Rick Strahl
  Apr 8, 2021 @ 10:39pm

We've been trying out the new administration interface. No problems on systems running under the .NET handler but yesterday we tried it on two installations that are using ISAPI. In both cases we get the error:

Can't find or open page administration.wc

We verified that the new DLLs had been installed on that system and that the .wc extension is properly mapped.

Is it possible that the new admin page was only fully implented in WebconnectionModule.DLL and not in WC.DLL?

--stein

Gravatar is a globally recognized avatar based on your email address. re: West Wind Web Connection 7.20 released
  Rick Strahl
  Stein Goering
  Apr 9, 2021 @ 02:51pm

Yes ISAPI is not supported for the new Admin/Page features... if using ISAPI you need to use the old admin links.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: West Wind Web Connection 7.20 released
  Jim Monte
  Rick Strahl
  Apr 14, 2021 @ 11:01am

It's pretty much a nightmare trying to get broadcast messages outside of the chat program setup to work.. The code fires in wconnect.. when it try to broadcast "offer" from wconnect.. it trys to turn my object into a chat message object...

DO wwWebSockets ←- this file does not even exist in the classes folder

loSocket = CREATEOBJECT("wwWebSockets")

also .. when __WebSocket.wwd passes an object that is not a chat message.. it morfs the object.. why can't we just send any object in broadcast()..

I don't need Case lomsg.action = "somthing" .. My object use "type" I have a perfectly good objects I need to broadcast.. The incoming json SDP "offer" comes in just fine and is a perfect foxpro SDP offer object... I need to turn right around and broadcast that same object to other WebRTC Clients.. But it gets morphed in the broadcast()

Gravatar is a globally recognized avatar based on your email address. re: West Wind Web Connection 7.20 released
  Rick Strahl
  Jim Monte
  Apr 14, 2021 @ 01:27pm

Hmmm... looks like the docs have not been updated... The class name has changed to wwWebSocketMessage to better identify its purpose.

Take another look at the docs here (updated):

Handling Web Socket requests in Web Connection

Please start a separate thread for this discussion. This thread is not the place for this.

+++ Rick ---

© 1996-2021