Browse files

Added IIS Express start script

  • Loading branch information...
1 parent 2b3a617 commit 6835d97859655b3502858289c96ed2e07786b0b3 @milang milang committed Aug 18, 2011
Showing with 977 additions and 1 deletion.
  1. +27 −0 SampleWcf_StartWebApp.cmd
  2. +1 −1 Source/SampleWcf.Web/Default.aspx
  3. +949 −0 Source/SampleWcf.Web/Webapp.config
@@ -0,0 +1,27 @@
+@echo off
+rem **
+rem ** This command starts IIS Express
+rem ** that serves GeoNexus
+rem **
+title SampleWcf Web Server
+set SolutionDir=%~dp0
+rem -- SolutionDir is referenced from webapp.config, all "absolute" paths
+rem -- in webapp.config use this as a prefix; it allows webapp.config to
+rem -- not be hard-coded to absolute path in source control, yet provide
+rem -- absolute path to IIS Express when it's running
+set Path=%ProgramFiles(x86)%\IIS Express;%ProgramFiles%\IIS Express;%Path%
+rem -- Extend the path so that IIS Express executables can be found whether
+rem -- this command is running in 32bit (%ProgramFiles%\IIS Express) or
+rem -- 64bit (%ProgramFiles(x86)%\IIS Express) cmd.exe.
+call iisexpress.exe "/config:%~dp0Source\SampleWcf.Web\Webapp.config" /systray:false /trace:w
+rem -- Run IIS Express against our webapp.config file; don't run systray app
+rem -- (the console output is enough to see what's happening and to stop
+rem -- the web server)
@@ -11,6 +11,6 @@
<h1>SampleWcf Mail Page</h1>
- Hello there, traveler.
+ <p>Hello there, traveller.</p>
Oops, something went wrong. Retry.

0 comments on commit 6835d97

Please sign in to comment.