using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CopyFolder { class Program { static void Main(string[] args) { string sourcePath = @”G:\Mahedee_Share\Created”; string destPath = @”G:\Mahedee_Share\Development”; CopyFolder(sourcePath,destPath); } private static void CopyFolder(string sourcePath, string destinationPath) { try { //Now Create all of the directories foreach (string dirPath in Directory.GetDirectories(sourcePath, “*”,
Month: November 2013
How to configure IIS for different port
1. Open IIS Manager (run -> inetmgr) 2. In the Connections pane, expand the Sites node in the tree, and then click to select the site for which you want to add/edit binding. 3. Right click on the site and click Edit bindings 4. Select Port on the site binding pane 5. Click Edit button 6. In Edit Site Binding pane type port (ex. 1080) and click Ok