Skip to main content

Posts

Showing posts from December, 2021

Printing Silently from Windows Service / Web API / Website via C#, print-it Implementation

Print-it is a beautifully written software service which enables to print silently to the printer from a Windows Service / Web API Server / Website Server A detailed implementation documentation is available here , this came as a great rescue to me in a place where I was struggling to print directly to the printer without opening the printer dialog or without opening the PDF file. However, I feel to add little more scripts to work with the previous C# versions which I am using, this may be helpful to those who uses lower C# versions Please note: Here I am about to describe how to consume the hosted service using lower version of C# The service accepts the POST request with the following 2 mandatory MultipartFormDataContent 1)     pdfFile 2)     printerPath   To begin client code: (C# Version: from 4.5) // Initialize HttpClient HttpClient client = new HttpClient ();   // Initialize MultipartFormDataContent MultipartFormDataContent form = new MultipartFor

Introduction to AWS - Amazon Web Services - 3 Amazon EC2 Introduction

Amazon EC2 Amazon Elastic Computing Cloud: This is a scalable computing facility enabled Virtual Server provided by Amazon, users can configure the Virtual Server for security, data handling and for other causes. Features: Environments called as Instances Pre-configured templates available, pre-configured OS and SW Various configurations of CPU, Memory, Storage and NW capacity for the instances Secure Logins are available using key pair Allows to store the temporary storage as well as persistent storage as Amazon Boos Store (ABS) Volumes. Can configure multiple physical locations for EBS Volumes Firewall configuration is available Static IP is available Can connect to the own network using Virtual Private Cloud (VPC)

Introduction to AWS - Amazon Web Services - 2 AWS Infrastructure

AWS Infrastructure AWS Consists of Regions : Example US West, US East, denoted as us-east-1, us-west-1 Regions consists of Availability Zones, AZs will contain one or more data centers which will have the enough power, network connectivity and separated in case of it is more than one data centers Availability Zones will be denoted by a letter Example : us-east-1a (the a is the specific AZ) AWS Local Region: The single data center will be called by this name. This will be placed closed to the consumer group geographically, This will contain the Computing, Storing and Database enable the customers a good experience Edge Locations are the servers which will contain the frequently used items in the cache and serves the same to the consumers quickly Outposts: On premise infrastructure available.

Introduction to AWS - Amazon Web Services

Why Cloud? Cloud computing in simpler terms of having the servers, database servers, hardware far from actual work area which is connected via network and do most of the things through automation, protects data from natural calamities, theft, provision the hardware / software using software remotely and much more.. Key Advantages: Capital Expenses Vs Variable Expenses No need to invest huge sum for infrastructure the work organization doesn't need to pay huge infrastructure costs at first hand, Additionally the following are the true advantages of cloud computing Stop Guessing the capacity: No need to purchase unnecessary hardware other than needed Increase Speed and Agility One click adding of servers , processors Vertical Add and Horizontal Add GO Global in minutes: Quick and Auto Deployment made easy For further details: https://docs.aws.amazon.com/whitepapers/latest/aws-overview/six-advantages-of-cloud-computing.html Why AWS? AWS offers a very wide range of services, you can pi