Introduction to Salesforce API in C#
We can use salesforce API to connect or send data to salesforce from C#. The API accepts certain parameters and returns the result. We need not create an extra code in it.
In this example, we are going to upload a file data from C# in the salesforce Document object. For this, we are going to use the salesforce document API.
We need to know the salesforce access token and instance URL to connect it to and use the API.
The code in c#:
AWS CloudFront is a web service that accelerates the delivery of your static and dynamic web content such as .js, .css, .html, and image files, and also audio, video, media files, to your users. It distributes your content by using a global network of data hubs called edge locations.
A CDN (Content Delivery Network) is a globally distributed network of caching servers that speed up the downloading of web pages and other content. CloudFront uses DNS (Domain Name System) geo-location to determine the geographic location of each request for web pages. Then […]
Microsoft Azure – Monitoring
Microsoft Azure provides an overall monitoring solution. Azure Monitoring helps us to track performance, maintain and identify trends. It comes with a GUI tool that is easy and powerful.
It is the platform service that provides a single source for monitoring Azure resources with Azure Monitor, you can visualize, query, route, archive and take action on the metrics and logs coming from resources in Azure. You can also work with this data using the Monitor portal blade, Monitor Powershell, cross-platform CLI, Azure monitor REST APIs.
It not only provides Activity Log and Diagnostic Logs […]
Introduction to Athena
Athena is a serverless and interactive query service that makes it easier to analyze data directly from Amazon S3 using Standard SQL. It is used to query large amounts of data stored in the Amazon S3 bucket it uses Presto as its querying engine. Query results are cached in S3 by default for 45 days. It also stores the metadata of the data stored in S3 in CSV, JSON or any other format. For that, it uses AWS glue catalog metadata (hive metadata store). We pay per query (1Tb scanned = $5 […]
Auto Scaling Overview
Auto Scaling is an Amazon service that helps the developers to scale the resources automatically across multiple services and optimize the applications. It monitors your resources and automatically adjusts the resources according to the requirement. It maintains the best fit balance between cost and performance. It provides a user interface where user can build the scaling plans for the resource like Amazon ECS tasks (Amazon Elastic Container Service), Amazon DynamoDB tables and indexes, Amazon Aurora Replicas and even Amazon EC2 instances.
You can easily start with Amazon Auto Scaling using Command Line Interface(CLI), SDK […]
1. Database migration from ec2 to RDS
Backup and restore DB
# pg_dump -Fc -v -h [instance endpoint] -U [master_username] [database] > [database].dump
createdb [new database name]
# pg_restore -v -h [instance endpoint] -U [master_username] -d [new database name] [database].dump
In below file changes required with following directives
# vi /etc/openproject/conf.d/00_addon_postgres
# openproject restart
2. Set S3 bucket for storage for attachments
# vi /etc/openproject/conf.d/other
Comment the below line
And, add the below directives at the end of file