Posts

Change row and font color of PrimeNG DataTable Angular 4

Image
Hello Friends Here are sample code of Changing Row and Font Color or PrimeNG datatabale Grid Angular 4

Amazon MWS - Retrieves Amazon product Data from Amazon databases

Retrieves Amazon product data from Amazon databases using C# Client Library.  All information is displayed in the console.  This demo project does not contain access keys to the Amazon seller account. Download Link Get information from Stack Overflow Link

Write Content in file in Amazon S3 Cloud asp.net c#

Use this code to write content in asp.net c# in Amazon S3 Cloud     public void WriteContentInFile()         {             try             {                 AWSCredentials credentials = new BasicAWSCredentials("Accesskey", "secretkey");                 AmazonS3Config config = new AmazonS3Config();                 config.ServiceURL = "s3.amazonaws.com";                 config.RegionEndpoint = Amazon.RegionEndpoint.GetBySystemName("ap-south-1");                 AmazonS3Client client;                 using (client = new AmazonS3Client(credentials, config))                 {         ...

Create New File In Amazon S3 Cloud in asp.net c#

Below code use to create or generate new file .txt in Amazon S3 Cloud in asp.net c#.          public void CreateFileInAmazon()         {             try             {                 AWSCredentials credentials = new BasicAWSCredentials("accesskey", "secretkey");                 AmazonS3Config config = new AmazonS3Config();                 config.ServiceURL = "s3.amazonaws.com";                 config.RegionEndpoint = Amazon.RegionEndpoint.GetBySystemName("ap-south-1");                 AmazonS3Client client;                 using (client = new AmazonS3Client(credentials, config))                 ...

Get Files and Folders From Amazon S3 Cloud in Asp.net C#

Image
How to get or list all files and folders from Amazon S3 Cloud in asp.net c#? Steps Install NuGet "AWSSDK" from Nuget Manage. Put below code in c#             AWSCredentials credentials = new BasicAWSCredentials("Access Key", "Secret Key");             AmazonS3Config config = new AmazonS3Config();             config.ServiceURL = "s3.amazonaws.com";             config.RegionEndpoint = Amazon.RegionEndpoint.GetBySystemName("ap-south-1");             AmazonS3Client client;             string[] folderArry = { "ABC" };             using (client = new AmazonS3Client(credentials, config))             {                 ListObjectsRequest request = new ListObjectsRequest     ...

Convert Html Code to Image JPG PNG in asp.net C#

Hello Friends, Here are code for convert html code to Image JPG PNG in asp.net c# First Install Nuget Package by Following Command. Install-Package HtmlRenderer.WinForms -Version 1.4.13 then Use Following c# code to generate image.             Bitmap m_Bitmap = new Bitmap(400, 600);             PointF point = new PointF(0, 0);             SizeF maxSize = new System.Drawing.SizeF(500, 500);             HtmlRenderer.HtmlRender.Render(Graphics.FromImage(m_Bitmap),                                                     "<html><body><p>This is a whatsappfb html code</p>"                                       ...