You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***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
4
+
***New:** Uses `ApplicationHost.config` allowing for common changes for all sites running IIS Express. This allows support for using PHP for example.
5
+
6
+
### PHP Support
7
+
If you wish to use PHP then you will need to install PHP for Windows and then use the following commands in the console
8
+
9
+
**NOTE:** This alternatively may be `\Program Files (x86)\IIS Express\`
10
+
```
11
+
cd "c:\Program files\IIS Express\"
12
+
```
13
+
14
+
**NOTE:** The path to `php-cgi.exe` may be different for you so update the two commands below.
15
+
16
+
```
17
+
appcmd set config /section:system.webServer/fastCGI /+[fullPath='"C:\Program Files (x86)\P HP\php-cgi.exe"']
18
+
19
+
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']
20
+
21
+
appcmd set config /section:system.webServer/defaultDocument /+"files.[value='index.php']"
22
+
```
23
+
24
+
## Version 0.0.7
25
+
***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'
26
+
***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)
27
+
28
+
## Version 0.0.6
29
+
***New:** Restart site option
30
+
***New:** Keyboard shortcuts to start (Ctrl+F5), stop (Shift+F5) & restart site (Ctrl+Shift+F5)
31
+
***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
32
+
***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
33
+
***New:** JSON Schema validation & auto-completion of the `.vscode/iisexpress.json` file
34
+
***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
35
+
***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
36
+
37
+
38
+
Adds the following:
39
+
* Seperate commands for Start, Stop & New Restart option
40
+
* With new commands we can assign key bindings aka keyboard shortcuts same as the main VS
41
+
* 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
42
+
* 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
43
+
44
+
Removes the following
45
+
* 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
46
+
47
+
## Version 0.0.5
48
+
***Bug Fix:** Fixes problem with extension from loading correctly after updating to VSCode 1.3
49
+
50
+
## Version 0.0.4
51
+
***New:** Community PR from @czhj that supports Chinese characters in output build log window
52
+
53
+
## Version 0.0.3
54
+
***New:** Port number setting can be set in .vscode/iisexpress.json if you wish to override random port number
55
+
56
+
You need the following file added `.vscode/iisexpress.json` and then you can set the port setting like so
Copy file name to clipboardExpand all lines: README.md
+1-72Lines changed: 1 addition & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,75 +22,4 @@ Open the command pallete & type **ext install** then search for **IIS Express**
22
22
23
23
# Requirements
24
24
* Windows Machine (Sorry not for Linux & OSX)
25
-
* IIS Express installed
26
-
27
-
28
-
# Changelog
29
-
## Version 1.0.0
30
-
***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
31
-
***New:** Uses `ApplicationHost.config` allowing for common changes for all sites running IIS Express. This allows support for using PHP for example.
32
-
33
-
### PHP Support
34
-
If you wish to use PHP then you will need to install PHP for Windows and then use the following commands in the console
35
-
36
-
**NOTE:** This alternatively may be `\Program Files (x86)\IIS Express\`
37
-
```
38
-
cd "c:\Program files\IIS Express\"
39
-
```
40
-
41
-
**NOTE:** The path to `php-cgi.exe` may be different for you so update the two commands below.
42
-
43
-
```
44
-
appcmd set config /section:system.webServer/fastCGI /+[fullPath='"C:\Program Files (x86)\P HP\php-cgi.exe"']
45
-
46
-
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']
47
-
48
-
appcmd set config /section:system.webServer/defaultDocument /+"files.[value='index.php']"
49
-
```
50
-
51
-
52
-
## Version 0.0.7
53
-
***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'
54
-
***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)
55
-
56
-
## Version 0.0.6
57
-
***New:** Restart site option
58
-
***New:** Keyboard shortcuts to start (Ctrl+F5), stop (Shift+F5) & restart site (Ctrl+Shift+F5)
59
-
***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
60
-
***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
61
-
***New:** JSON Schema validation & auto-completion of the `.vscode/iisexpress.json` file
62
-
***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
63
-
***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
64
-
65
-
66
-
Adds the following:
67
-
* Seperate commands for Start, Stop & New Restart option
68
-
* With new commands we can assign key bindings aka keyboard shortcuts same as the main VS
69
-
* 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
70
-
* 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
71
-
72
-
Removes the following
73
-
* 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
74
-
75
-
## Version 0.0.5
76
-
***Bug Fix:** Fixes problem with extension from loading correctly after updating to VSCode 1.3
77
-
78
-
## Version 0.0.4
79
-
***New:** Community PR from @czhj that supports Chinese characters in output build log window
80
-
81
-
## Version 0.0.3
82
-
***New:** Port number setting can be set in .vscode/iisexpress.json if you wish to override random port number
83
-
84
-
You need the following file added `.vscode/iisexpress.json` and then you can set the port setting like so
0 commit comments