News

.NET Tool Enables Bi-Directional Network Apps

New toolset enables bi-directional network applications

Developers using Microsoft's .NET Remoting API to facilitate interprocess communication now have a tool for building bi-directional network applications. Australia-based Amplefile is providing this and other new capabilities designed to extend that API in the latest release of its DotNetRemoting software development kit (SDK) for .NET.

Version 2.0.1, which the company is calling DotNetRemotingPlus, provides a communication library and universal network-communication framework for Windows (XP and Vista), Windows CE, Windows Mobile 5 and Mobile 6, Linux and Unix. It enables bi-directional synchronous/asynchronous communication by sending the objects or executing methods on the server/client.

The tool supports both the standard and compact .NET Frameworks, as well as Mono tools. The .NET Compact Framework doesn't support remoting, which makes Amplefile's product one of the only bi-directional frameworks for Windows-based handheld devices.

First released in 2002, Microsoft's .NET Remoting API is designed to facilitate interprocess communication, which is sometimes called "inter-thread communication" because it involves the exchange of data among threads in two or more processes.

Unlike standard Microsoft remoting, which extends the event-based model, DotNetRemotingPlus implements direct method calls, which improve performance between different operating systems. Also, it doesn't require the database to be stored locally on the handheld device; duplex communication allows the database to be on the server. Consequently, the PDA becomes the system's front-end, and synchronization of the local database and the server database is no longer needed.

Amplefile claims that its approach, in which the server and client may be on different platforms, is 10 to 100 times faster than Web services.

Joining Tasks
The DotNetRemoting SDK is designed to unify ASP.NET server and client programming. It builds the initialized objects on the client (the Web browser), which are exact copies of the server objects. The server objects are .NET classes of unlimited complexity, according to Amplefile. The tools also provide a means of manipulating the objects on the client, including call-by-name, hashtables and arraylists.

In addition, this version also comes with special anti-firewall components-ProxyConnector, NoFirewall Tunnel, Peer-To-Peer channel, and Skype-based remoting-that support "firewall transparency." It uses Amplefile's Fast Serialize Generator, a program designed to increase serialization speed by 30 to 300 times, depending on the object, the company says.

DotNetRemoting can scale to 2,000-plus simultaneous clients and supports a range of hardware platforms, from PCs to Pocket PCs to smartphones, Amplefile says. On mobile devices, the tool supports GPRS-based connections, Wi-Fi and any other socket-based connections.

About the Author

John K. Waters is the editor in chief of a number of Converge360.com sites, with a focus on high-end development, AI and future tech. He's been writing about cutting-edge technologies and culture of Silicon Valley for more than two decades, and he's written more than a dozen books. He also co-scripted the documentary film Silicon Valley: A 100 Year Renaissance, which aired on PBS.  He can be reached at [email protected].

comments powered by Disqus

Featured

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

Subscribe on YouTube