library

  for webmasters
  api
  security
  release notes

newsletter
Subscribe via RSS or via email
            

How to use the QuickelSoft CMS API from a .Net application

Three steps to be able to use the QuickelSoft CMS API from your application.

 

1. Add a connection string called QuickelSoftCMS_ConnectionString to your App.config file. The connection string you would use in a System.Data.SqlClient.SqlConnection object to connect the Sql Server database used by the CMS.

2. Copy the file QuickelSoftCMSAPI.dll to the bin directory of your application and/or add a reference to this DLL in your Visual Studio project.

3. Add a “using” directive to permit the use of the QuickelSoft.CMS.API namespace.

 

In C#:

using QuickelSoft.CMS.API;

In Vb.net:

Imports QuickelSoft.CMS.API

Example of App.config file

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 <connectionStrings>
  <add name="QuickelSoftCMS_ConnectionString"
connectionString="server=YourServer;Trusted_Connection=yes;database=MyDB"/>
 </connectionStrings>
</configuration>

 


Related articles

Why does QuickelSoft CMS use a prefix with ASPX in each URL?
How to install automatically QuickelSoft CMS
API Error Codes
How to generate a sitemap for search engines
How to add a RSS feed to your site
How to add a search form to your site
QuickelSoft CMS 2.0.5 Documentation