How to get a PDF from Server Side to Client Side?

So you generate a PDF in the C# code or any back end code, but need to send it back to the JavaScript doing the AJAX request. The trouble is how you return a file back to the client side and is the same problem I faced. There are loads of methods of how to do this that I have seen on the line, but these are the ways I found worked with C#.NET and JavaScript.

Keeping an images ratio on resize in JavaScript

A little tricky task was given to the team I am working in, to keep an image at its aspect ratio. However the catch is that it needs to be able to go as large as it can to fill the screen at all times, while the user can resize the screen and keeping theContinue reading “Keeping an images ratio on resize in JavaScript”

How to Iterate multiple folders/files in Gulp

When searching for a method to loop not just the first level of files and folders, but also all the levels below. Asking to much I wanted the files name, its folder location and also the files content. I found it… I found the Gulp plugin ‘src’ and ‘tap’… Gulp-tap > Gulp-src > reading “How to Iterate multiple folders/files in Gulp”