Coder Social home page Coder Social logo

kenhero / cpp-rest-sdk-client-server- Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 70 KB

Client Server application with cpprest sdk Casablanca framework

C++ 95.21% C 4.39% Batchfile 0.40%
visual-studio cpprestsdk casablanca c-plus-plus ppl smtp technical-specifications receive-data cpp11

cpp-rest-sdk-client-server-'s Introduction

Note: Before building install cpprestsdk from Microsoft. The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services. With vcpkg on Windows

PS> vcpkg install cpprestsdk cpprestsdk:x64-windows

Also install EASendMail SMTP Component from https://www.emailarchitect.net/easendmail and copy easendmailobj.tlh on AsincMailDll Folder.

Client Server application with cpprest sdk Casablanca framework Create a WMI based sysem monitoring and alert notification [url removed, login to view] using a service that could monitor multiple client machines.

Functional Specifications:

Create a client data to collect system data

    1. Client is a console application meant to be executed in a recurring schedule(every 5 minutes) using windows task scheduler.

[url removed, login to view] the application is run, it collects the following data, sends the data to the service and then terminates. If it is unable to perform the whole cycle , then it must log errors on console and exit with an error code.

  1. List of running processes each with process name, memory consumed, CPU utilization.

2)Total consumed and free system memory.

3)Overall CPU system %

3 .The application identifies itself to the service with the client name and password.

  1. The service connection URL,client name and password are configured in the client config file.

Create a cloud based high performance RESTful web service.

  1. [url removed, login to view] service must be secured with login/password based security.
  1. Each login is unique and identifies a specific client machine

  2. Each client is configured in the service config xml file something like this

<client-login="xxx" pass="xxx" mail="asa@asda">

[url removed, login to view] service receives data collected by multiple clients and based upon the alert configuration each client sends notification.

[url removed, login to view] notification is sent to the client mail addresss using SMTP. Use a simple text mail format with some detail about the alert.

[url removed, login to view] service then dumps the received data to log file per client

Technical Specifications :

The following list of technical specifications :

    1. The service
  1. Should be created using casablanca C++ REST sdk

  2. Should use an SMTP library to send mails using SMTP

2)For the application

[url removed, login to view] application would be installed on hundreds of machines in an application

  1. No user interface for the application.
  1. Input validations and constraints wherever necessary.

cpp-rest-sdk-client-server-'s People

Contributors

kenhero avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lipq525 ds1hvh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.