diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..d8967559 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,68 @@ +# Changelog +## Version 1.0.0 +* **New:** `.vscode/iisexpress.json` now supports a new property `protocol` which is an optional property & allows you to set the protocol to either `http` or `https` By default this is set to `http` If you do use `https` then IIS Express expects the port number to be within a range of 44300 - 44399 +* **New:** Uses `ApplicationHost.config` allowing for common changes for all sites running IIS Express. This allows support for using PHP for example. + +### PHP Support +If you wish to use PHP then you will need to install PHP for Windows and then use the following commands in the console + +**NOTE:** This alternatively may be `\Program Files (x86)\IIS Express\` +``` +cd "c:\Program files\IIS Express\" +``` + +**NOTE:** The path to `php-cgi.exe` may be different for you so update the two commands below. + +``` +appcmd set config /section:system.webServer/fastCGI /+[fullPath='"C:\Program Files (x86)\P HP\php-cgi.exe"'] + +appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='"C:\Program Files (x86)\PHP\php-cgi.exe"',resourceType='Unspecified'] + +appcmd set config /section:system.webServer/defaultDocument /+"files.[value='index.php']" +``` + +## Version 0.0.7 +* **New:** `.vscode/iisexpress.json` now supports a new property `url` which is an optional property & allows you to set the URL you wish to open eg: '/about/the-team' +* **New:** `.vscode/iisexpress.json` now supports a new property `clr` which is an optional property allowing you to set the CLR to run your .NET website (Thanks to @avieru) + +## Version 0.0.6 +* **New:** Restart site option +* **New:** Keyboard shortcuts to start (Ctrl+F5), stop (Shift+F5) & restart site (Ctrl+Shift+F5) +* **New:** Clicking the status bar icon now opens the site in your browser using the 'start' command & you no longer needn to copy & paste the URL from the ouput window anymore +* **New:** `.vscode/iisexpress.json` now supports a new property `path` which allows you to set a subfolder inside your folder as the path of your site to run. This must be a full path & not relative +* **New:** JSON Schema validation & auto-completion of the `.vscode/iisexpress.json` file +* **Bug Fix:** Fixed logic that will now auto create the `.vscode/iisexpress.json` config file with the random assigned port if it does not already exist +* **Removes** The old UI of launching the extension/command & using a quick pick options to start & stop the site, as we could not assign a keyboard shortcut to the quick pick items + + +Adds the following: +* Seperate commands for Start, Stop & New Restart option +* With new commands we can assign key bindings aka keyboard shortcuts same as the main VS +* The status bar when clicked now opens the site in your browser using the 'start' command & don't want to paste & copy the URL from the ouput window anyymore +* JSON Schema for the VS Code IISExpress config. Ensure port is specified config value & within correct range of valid port numbers according to IIS Express + +Removes the following +* The old UI of launching the extension/command & using a quick pick options to start & stop the site, as we could not assign a keyboard shortcut to the quick pick items + +## Version 0.0.5 +* **Bug Fix:** Fixes problem with extension from loading correctly after updating to VSCode 1.3 + +## Version 0.0.4 +* **New:** Community PR from @czhj that supports Chinese characters in output build log window + +## Version 0.0.3 +* **New:** Port number setting can be set in .vscode/iisexpress.json if you wish to override random port number + +You need the following file added `.vscode/iisexpress.json` and then you can set the port setting like so + +``` +{ + "port":8081 +} +``` + +## Version 0.0.2 +* **New:** Port number is now random + +## Version 0.0.1 +* Initial release diff --git a/README.md b/README.md index cac17d5d..2bc7d6a5 100644 --- a/README.md +++ b/README.md @@ -22,75 +22,4 @@ Open the command pallete & type **ext install** then search for **IIS Express** # Requirements * Windows Machine (Sorry not for Linux & OSX) -* IIS Express installed - - -# Changelog -## Version 1.0.0 -* **New:** `.vscode/iisexpress.json` now supports a new property `protocol` which is an optional property & allows you to set the protocol to either `http` or `https` By default this is set to `http` If you do use `https` then IIS Express expects the port number to be within a range of 44300 - 44399 -* **New:** Uses `ApplicationHost.config` allowing for common changes for all sites running IIS Express. This allows support for using PHP for example. - -### PHP Support -If you wish to use PHP then you will need to install PHP for Windows and then use the following commands in the console - -**NOTE:** This alternatively may be `\Program Files (x86)\IIS Express\` -``` -cd "c:\Program files\IIS Express\" -``` - -**NOTE:** The path to `php-cgi.exe` may be different for you so update the two commands below. - -``` -appcmd set config /section:system.webServer/fastCGI /+[fullPath='"C:\Program Files (x86)\P HP\php-cgi.exe"'] - -appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='"C:\Program Files (x86)\PHP\php-cgi.exe"',resourceType='Unspecified'] - -appcmd set config /section:system.webServer/defaultDocument /+"files.[value='index.php']" -``` - - -## Version 0.0.7 -* **New:** `.vscode/iisexpress.json` now supports a new property `url` which is an optional property & allows you to set the URL you wish to open eg: '/about/the-team' -* **New:** `.vscode/iisexpress.json` now supports a new property `clr` which is an optional property allowing you to set the CLR to run your .NET website (Thanks to @avieru) - -## Version 0.0.6 -* **New:** Restart site option -* **New:** Keyboard shortcuts to start (Ctrl+F5), stop (Shift+F5) & restart site (Ctrl+Shift+F5) -* **New:** Clicking the status bar icon now opens the site in your browser using the 'start' command & you no longer needn to copy & paste the URL from the ouput window anymore -* **New:** `.vscode/iisexpress.json` now supports a new property `path` which allows you to set a subfolder inside your folder as the path of your site to run. This must be a full path & not relative -* **New:** JSON Schema validation & auto-completion of the `.vscode/iisexpress.json` file -* **Bug Fix:** Fixed logic that will now auto create the `.vscode/iisexpress.json` config file with the random assigned port if it does not already exist -* **Removes** The old UI of launching the extension/command & using a quick pick options to start & stop the site, as we could not assign a keyboard shortcut to the quick pick items - - -Adds the following: -* Seperate commands for Start, Stop & New Restart option -* With new commands we can assign key bindings aka keyboard shortcuts same as the main VS -* The status bar when clicked now opens the site in your browser using the 'start' command & don't want to paste & copy the URL from the ouput window anyymore -* JSON Schema for the VS Code IISExpress config. Ensure port is specified config value & within correct range of valid port numbers according to IIS Express - -Removes the following -* The old UI of launching the extension/command & using a quick pick options to start & stop the site, as we could not assign a keyboard shortcut to the quick pick items - -## Version 0.0.5 -* **Bug Fix:** Fixes problem with extension from loading correctly after updating to VSCode 1.3 - -## Version 0.0.4 -* **New:** Community PR from @czhj that supports Chinese characters in output build log window - -## Version 0.0.3 -* **New:** Port number setting can be set in .vscode/iisexpress.json if you wish to override random port number - -You need the following file added `.vscode/iisexpress.json` and then you can set the port setting like so - -``` -{ - "port":8081 -} -``` - -## Version 0.0.2 -* **New:** Port number is now random - -## Version 0.0.1 -* Initial release +* IIS Express installed \ No newline at end of file