Rick Strahl's FoxPro and Web Connection Web Log
White Papers | Products | Message Board | News |

Latest Weblog Posts


Locking down the West Wind Web Connection Admin Page


No comments
Monday, February 5, 2018, 3:49:36 AM

The West Wind Web Connection Admin page is the starting point for Web Connection Server Instance administration. But this page allows a number of administrative operations that should only be accessible by a properly authenticated user. I've been notified on many occasions that people have found wide open Admin pages and this post describes how to make sure your Admin pages are properly locked down

Read More...

West Wind Web Connection 6.18 released


No comments
Wednesday, January 10, 2018, 12:41:00 AM

West Wind Web Connection 6.18 has been released. It's a small release with only one major feature update in the way of bringing back Apache support for Apache 2.4. Here's more info what's new.

Read More...

Shutting down file-based Web Connection Instances with WM_CLOSE Messages


No comments
Friday, January 5, 2018, 10:50:10 AM

There are a number of issues related to shutting down specific instances of Web Connection servers remotely. Because of the way instances are managed there are difference between file and COM mode operation because file mode instances are not managed by a centralized manager. However with a few tricks you can trigger shutdown operations in a Web Connection server by hooking into Windows Events with BINDEVENT(). Here's how.

Read More...

West Wind Web Connection 6.17 released


1 comment
Sunday, October 15, 2017, 12:53:22 AM

West Wind Web Connection 6.17 has been released. This post goes over the changes in more detail. This is a maintenance release with a few bug fixes and some minor feature updates.

Read More...

Calling async/await .NET methods with wwDotnetBridge


2 comments
Tuesday, October 10, 2017, 11:12:25 PM

More and more .NET APIs expose Async only interfaces and it might seem that calling `async` `await` code from FoxPro seems like it would be difficult. I had my doubts it would but as it turns out it does. In this post I describe how `async` `await` works in .NET and how the lower Task API is used to implement it, and more importantly how we can call async methods using the .NET Task API.

Read More...

Web Connection 6.15 is Here


2 comments
Saturday, July 15, 2017, 11:56:58 AM

Web Connection 6.15 has been released and this post gives a lot more details on the new features of this update. This release is primarily focused on server loading and debugging improvements with a few relatively small but significant enhancements that improve load performance and make it easier to debug startup errors.

Read More...

New Web Connection Server Startup Features in 6.15


No comments
Saturday, July 1, 2017, 8:35:13 PM

Debugging startup issues has always been notoriously difficult in Web Connection. Starting with the forthcoming v6.15 Web Connection adds better error reporting that brings up an error page on failures and provides an easier way to log trace commands to a log file.

Read More...

GAC Assemblies with wwDotnetBridge


No comments
Monday, May 22, 2017, 12:54:55 PM

wwDotnetBridge makes it easy to load up .NET assemblies and reference to access contained classes and other types. Standalone assemblies can be loaded easily enough by filename, but assemblies that live in the GAC should be referenced by their fully qualified assembly name. Here's how.

Read More...

Persisting Static Objects in Web Connection Applications


1 comment
Tuesday, April 4, 2017, 2:29:05 PM

One of the cool things about Web Connection is that Web Connection servers are persistant instances that can cache static data for subsequent requests. Besides the internal data caching FoxPro can do on an already running instance, you can also attach custom state to the server instance. In this post I'll show a number of approaches of how to access persistant object state on the server instance

Read More...

Controlling the JSON.NET Version in wwDotnetBridge with Assembly Redirects


No comments
Monday, March 20, 2017, 11:50:25 AM

JSON.NET is the most popular .NET component used in more components than any other and because of that you can end up finding other components that also use JSON.NET and perhaps with a different version. Trying to load a different version of JSON.NET in an application can cause runtime failures for loading the assembly. The workaround is to use .NET Assembly Redirects in the application's .config file. Here's how to do this.

Read More...


© Rick Strahl, West Wind Technologies, 2003 - 2018