Installation of C#.NET SDK

Installation of C#.NET SDK

Overview: 

The PageSense C# SDK empowers developers to integrate, conduct A/B testing, and personalize user experiences within C#.NET applications. PageSense C# SDK offers a simple and reliable way to integrate FullStack A/B Testing into your C#.NET-based applications. Acting as a lightweight wrapper around the PageSense REST APIs, this SDK enables backend services to trigger experiments, evaluate variations, and track user engagement and conversion metrics in real time. 

C# SDK allows you to
  1. Add A/B testing support to your C#.NET application with minimal configuration.
  2. Handles all communication with the PageSense server internally using secure REST API calls.
  3. Programmatically retrieves all relevant project settings to ensure your application stays synchronised.
  4. Captures and sends user interactions, engagements, and conversion details in real time.
  5. Stores user attributes for use in audience targeting and report segmentation.
The C# SDK serves as a communication layer between your C# .Net application and the PageSense to run FullStack A/B Test. Once configured, it can:
  1. Fetch all active experiments associated with your project.
  2. Determine the correct variation to serve for a user or session as part of the A/B test.
  3. Track goal completions and other experiment-specific events.
  4. Report all metrics back to PageSense for detailed analytics and decision-making.
PageSense C# SDK is available as a downloadable DLL file that you can integrate into your application to run the A/B Test. Click on the link given below to download the same.

zipfile: https://www.zoho.com/pagesense/downloads/sdk/csharp/PageSenseCSharpSDK_1_0_beta.zip


PageSense C# SDK requires the following external DLL libraries (dependencies) to function properly. These libraries provide essential functionalities such as logging, hashing, and JSON serialization for the C# SDK.

Dependencies:

Dependency

Version

Description

log4net

3.1.0

Provides a robust logging framework for .NET applications

murmurhash

1.0.3

Implements the MurmurHash algorithm used for generating hash values

Newtonsoft.Json

13.0.3

Enables serialization and deserialization of JSON data


All the above libraries are available on the official NuGet package repository. NuGet is the package manager for .NET that simplifies the process of managing third-party libraries and dependencies in a .NET project.

You can add the required dependencies to your project using one of the following methods:

Open Package Manager Console in Visual Studio (from Tools > NuGet Package Manager > Package Manager Console) and execute the following commands:
Install-Package log4net -Version 3.0.4
Install-Package murmurhash -Version 1.0.3
Install-Package Newtonsoft.Json -Version 13.0.3

This method will automatically download and include the packages in your project.

2. Using Visual Studio’s NuGet Package Manager UI

1. Right-click your project in Solution Explorer.
2. Select Manage NuGet Packages.
3. Navigate to the Browse tab.
4. Search for and install each of the following packages with their specified versions:
log4net - Version - 3.0.4
murmurhash - Version - 1.0.3
Newtonsoft.Json - Version - 13.0.3

Ensure that the correct version is selected before installing and verify all the packages are included in your project.

3. Editing the Project File Manually

You may also add the following package references directly to your .csproj file of your .Net project.
<ItemGroup>
  <PackageReference Include="log4net" Version="3.0.4" />
  <PackageReference Include="murmurhash" Version="1.0.3" />
  <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

After saving the changes, rebuild your project to restore the packages.
Once the dependencies are successfully added, ensure that:
  1. All packages appear under Dependencies > Packages in your project.
  2. Your application compiles without any missing reference errors.
Please ensure your development environment has access to the internet to download NuGet packages and that your project targets .NET Framework 4.7.2 or higher.

We hope this documentation helps make the process easy for you. Please feel free to reach out to us anytime by dropping an email to support@zohopagesense.com if you need more explanation or have any questions.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG

                                All-in-one knowledge management and training platform for your employees and customers.

                                            Create. Review. Publish.

                                            Write, edit, collaborate on, and publish documents to different content management platforms.

                                            Get Started Now




                                                              You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                  Manage your brands on social media


                                                                    • Desk Community Learning Series


                                                                    • Digest


                                                                    • Functions


                                                                    • Meetups


                                                                    • Kbase


                                                                    • Resources


                                                                    • Glossary


                                                                    • Desk Marketplace


                                                                    • MVP Corner


                                                                    • Word of the Day


                                                                    • Ask the Experts


                                                                      Zoho Sheet Resources

                                                                       

                                                                          Zoho Forms Resources


                                                                            Secure your business
                                                                            communication with Zoho Mail


                                                                            Mail on the move with
                                                                            Zoho Mail mobile application

                                                                              Stay on top of your schedule
                                                                              at all times


                                                                              Carry your calendar with you
                                                                              Anytime, anywhere




                                                                                    Zoho Sign Resources

                                                                                      Sign, Paperless!

                                                                                      Sign and send business documents on the go!

                                                                                      Get Started Now




                                                                                              Zoho TeamInbox Resources





                                                                                                        Zoho DataPrep Demo

                                                                                                        Get a personalized demo or POC

                                                                                                        REGISTER NOW


                                                                                                          Design. Discuss. Deliver.

                                                                                                          Create visually engaging stories with Zoho Show.

                                                                                                          Get Started Now








                                                                                                                              • Related Articles

                                                                                                                              • Installation of PHP SDK

                                                                                                                                The PageSense PHP SDK empowers developers to integrate, run, and analyze Full Stack A/B tests directly from their PHP applications. It offers a simple, secure, and reliable way to connect your PHP applications to the PageSense’s experimentation ...
                                                                                                                              • Installation of Android SDK

                                                                                                                                The PageSense Android Full Stack SDK lets you run server-side A/B tests and track experiment outcomes directly from your Android application. Once installed, your app can participate in Full Stack experiments and start collecting core analytics data. ...
                                                                                                                              • SDK Customization

                                                                                                                                PageSense SDK provides a flexible configuration model that allows developers to adapt its behavior to suit the needs of their application. While the SDK can be used with minimal setup using the default configuration, applications with stricter ...
                                                                                                                              • SDK Customization

                                                                                                                                The PageSense Android Full Stack SDK provides customization options that allow you to control how the SDK behaves inside your application. These options help you balance freshness of experiment configuration, logging verbosity, and operational ...
                                                                                                                              • Initialization of Android Full Stack SDK

                                                                                                                                After installing the PageSense Android Full Stack SDK, the next step is to initialize it with your project configuration. Initialization connects your app to PageSense and loads the Full Stack project settings required to run experiments. In Android, ...
                                                                                                                                Wherever you are is as good as
                                                                                                                                your workplace

                                                                                                                                  Resources

                                                                                                                                  Videos

                                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                  eBooks

                                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                  Webinars

                                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                  CRM Tips

                                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                                    Zoho Show Resources