Skip to main content

Posts

iTextSharp Documentation and Guides

Useful Resource Links for iTextSharp Pdf Library for .Net Framework. The following links are found to have useful references while consuming the iTextSharp Pdf library. Google Search Results Documentation from AfterLogic 4GuysFromRolla StackOverFlow Solutions StackOverFlow Solutions C# Samples Mikes Dotnet blog -- Saravanan

Using Firefox without Caching of network contents

This is the detail that i found regarding the disabling of FireFox Cache so that any network resource that is needed will be fetched from the server and then displayed to the user The steps are : 1. Fire up FireFox 2. Type about:config in your address bar 3. Type ‘cache’ in the search bar, and look for network.http.use-cache, and double click it to set it to false. Double clicking it again will set it to true and re-enable the cache Original article was here -- Saravanan

SFTP and File Upload in SFTP using C# and Tamir. SShSharp

The right choice of SFTP Server for Windows OS Follow the following steps, 1. Download the server version from here . The application is here 2. Provide the Username, password and root path, i.e. the ftp destination. 3. The screen shot is given below for reference. 4. Now download the CoreFTP client from this link 5. The client settings will be as in this screen shot: 6. Now the code to upload files via SFTP will be as follows. //ip of the local machine and the username and password along with the file to be uploaded via SFTP. FileUploadUsingSftp("172.24.120.87", "ftpserveruser", "123456", @"D:\", @"Web.config"); private static void FileUploadUsingSftp(string FtpAddress, string FtpUserName, string FtpPassword, string FilePath, string FileName) { Sftp sftp = null; try { // Create instance for Sftp to upload given files using given credentials sf

using the Id property in JSON objects

When using the `Id` as a property in the Javascript Objects, and sending them using JSON.stringify, they are not model bound as `Id`, instead, they are skipped and inserted as null in the bound model in the controller. Hence, Never Use `Id` as a property for a JSON object.