DataSnap Server and Win32/.NET client sample available in CodeCentral - Part 1

Probably you are curious to see .NET client connecting in DataSnap Win32 native code Server, this is one of capabilities provided by Delphi Prism.

I updated my example in CodeCentral, where you will see Delphi Win32 client application and ASP.NET application connecting in Delphi Win32 DataSnap Server.

Download here.

This is a DataSnap server screen shot, showing some information provided by DataSnap framework. [Note: click on the bitmap to see a larger version.]

  • Each client connected on the server and when those client disconnect
  • Server methods available
  • The Server log is based on a database table from Blackfish SQL, this database is created using dbExpress framework
  • Also there is a user class, which allow you to add and authenticate users on the client side, the win32 and asp.net client application demonstrate how to use that.

 

This ASP.NET application demonstrates how to execute server methods from .NET side

  • On the left side the server method certifies the   login/password provide by the user on the web page and returns True or False.
  • On the right side the server method returns a DBXReader data from an InterBase database, the SQLDataSource, is connected on the GridView.
  • The SQLDataSource command text contains Select TLookupRDM.GetDepartments - where TLookRDM is the server class and GetDepartments is one of the methods available in this class

Stay tuned, VCL for Web and WinForms will be add for this sample and much more about DataSnap is comming.

Posted by Andreano Lanusse on December 3rd, 2008 under Delphi, English |


Leave a Comment


Server Response from: blogs2.codegear.com

 
© Copyright 2008 Embarcadero Technologies, Inc. All Rights Reserved. Contact Us  |   Site Map  |   Legal Notices  |   Privacy Policy  |   Report Software Piracy