Scriptico

Handle Pre- and Post Invocation in WebORB for .NET

To demonstrate this simple, but really helpful feature of WebORB for .NET let’s create a sample issue. An application has a simple service. Developers should be able to monitor all invocations from the client, and depending on the invoked method, the developer must create an entry in the log file. In this example, instead of a client’s application, I will use WebORB console. A server-side code is written in the Visual Studio 2010, and you will the find zipped project at the bottom of this article. Read the rest of this entry »

Paging and filtered search. (WDMF + Parameterized Queries).

This article demonstrates an approach recommended by Mark Piller for solving an issue that was posted in Midnight Coders Developers Forum: http://www.themidnightcoders.com/forum/Default.aspx?g=posts&t=4050.

The developer that posted this issue wanted to implement a paging feature and make a filtered search on the client side. This is a sample I developed to solve this issue, that I hope helps others. All source codes you will find at the end of this article.

Environment. The server side includes .NET framework v2.0, WebORB for .NET (v.4.3.0.2), and MSSQL 2008 R2. The client side is a flex application. The sample project is written in Visual Studio 2010, and Flex Builder 4.

Overview. WebORB Data Management for Flex (WDMF) is one of WebORB’s features that provides an extremely powerful framework enabling developers to create data-driven Flex applications. Although this feature is documented well and developers can find a bunch of information in the Midnight Coder Developers Forum, the issue described in the post above had to do with handling large amounts of records, and filtering implementation on the server side. Read the rest of this entry »