Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jan 2011
    Location
    Navi Mumbai
    Posts
    30

    Question How to debug .NET DataAdapter

    helloworlddataadapter sample is working fine, now i am trying to create dataadapter which connects to SQL SERVER and retrieve data. but i am confused how to start with where exactly i need to write the code, how to debug the application. let anyone tell me where to start developing application and which one 1st i need create. is that necessary to develop metadataAdapter else only dataadapter and webclient is enough?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,089
    A more complex but still minimal starting point is the remote version of the StockListDemo Data Adapter.
    The example uses a basic .NET Metadata Adapter (LiteralBasedProvider) which is provided by the library, but concentrates on the Data Adapter.
    You can also start developing your own Data Adapter as a replacement for the demo one, while still leaning on the LiteralBasedProvider.

    See DOCS-SDKs\sdk_adapter_dotnet\examples\Remote_StockListD emo_Adapters.
    It is introduced in DOCS-SDKs\sdk_adapter_dotnet\doc\DotNet Adapters.pdf (notes on logging are also included).
    With these guidelines, you can setup a .NET project that includes the supplied source files and libraries.
    By default, the project should produce a new dll, to be loaded by the provided DotNetServer_N2.exe
    To simplify debugging of the code, it is advisable that you follow chapter 1.5 of the doc, which lets you have the entry point of the Remote Server process ìnside your project, bypassing DotNetServer_N2.exe.

 

 

Similar Threads

  1. How to debug codes with Lightstreamer
    By minhphan200677 in forum Adapter SDKs
    Replies: 18
    Last Post: November 17th, 2014, 11:10 AM
  2. How to config eclipse to debug lightstreamer.
    By gengliangyu2008 in forum General
    Replies: 2
    Last Post: November 10th, 2010, 11:40 AM
  3. DataAdapter Service
    By brucehoch in forum Adapter SDKs
    Replies: 3
    Last Post: October 15th, 2010, 12:22 AM
  4. DataAdapter with XML
    By Irwin in forum Adapter SDKs
    Replies: 11
    Last Post: April 30th, 2010, 09:42 AM
  5. DataAdapter using XML
    By amarin in forum Adapter SDKs
    Replies: 4
    Last Post: August 21st, 2008, 10:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 05:01 AM.