Getting Started With .NET

christophe.briguet
  • christophe.briguet's picture
Getting Started With .NET

The LogLogic Web Services Development Kit for .NET (aka ".NET DevKit") can be downloaded from the Google Code Project Hosting website.

Required Software

The following software is required to use the .NET DevKit:

.NET Client Samples Overview

The .NET DevKit is console type application with source codes that demonstrates typical appliance integration capabilities.
The .Net sample solution with code samples can be found in the DevKit under \llapi-dotnet-4.4\LLexample.sln. Using of the following LogLogic Web Services has been implemented in ".NET DevKit" sample project:

1. Admin Services
1.1 Alert Rules
1.2 Device
1.3 Message Routing
1.4. Search Filter
1.5. User Account Management
2. Report and Search Services

Grant Web Services Access

All LogLogic Web Service APIs require authentication with the appliance using a valid User Account on the appliance. To enable a User Account to connect using Web Services, you must set Web Services the user on the LogLogic appliance.

  1. Log on to the LogLogic appliance with administrator privileges.
  2. In the navigation menu, click Administration > Manage Users.
  3. Click the "admin" user to view/edit details.
  4. Select the "Allow this user account to connect to the Appliance via Web Services" checkbox to grant Web Service access for the "admin" user.
  5. Click the Update button to save the changes

Enable Web Services Access Screenshot

Set Up Your Environment

You can run the sample console application as-is or you can make modifications to suit your needs. Note that you may want to make a copy backup of the sample console application source files before making changes. You will need to add/modify Web References to LogLogic Web Services (see above). Also you may simplify your way to use LogLogic Web Services by presetting login/password of the User Account and your appliance IP used for the Web Service connections at \llapi-dotnet-4.4\authentication\Program.cs.

Running the Samples

To run sample project you may build it from solution or you may run compiled version from \llapi-dotnet-4.4\authentication\bin\Debug\authentication.exe.

For more information on developing LogLogic Web Service client applications using .NET, including specific API operations and parameters, see the LogLogic Web Services Implementation Guide.

0
Your rating: None



LanceLogLogic

I was working throughthe devkit sample console application and I saw that the URL that is requested is not implemented correctly (it is being placed in the password field) Also not all the methods are using it and so most are defaulting back the the URL used in the development environment.



e96466

jzhen,

I'm developing a web service in VS.Net to connect to your API. I have been having trouble adding the Web References to my web services project. VS.Net does not find the Web References you have in the .NET DevKit. Could please give me a hint? Thanks in advance.



e96466

I got the way to solve this.



peterzheng

Hi I try to run the .net dev kit 4.4 . I get same problem, when I try to update web service.

The existing web service endpoint is "https://69.4.183.101/logapp20/services/Version?wsdl". I replace the 69.4.183.101 with my appliance IP address. VS2005 give me error "can not connect to remote server ", when I update web service. However, I can ping the appliance IP.

Can you tell me what is wrong? do I need to set up something on the server?

Thank you



peterzheng

it is network issue.