To make WebMatrix better, I suggest you ...

Ability to disable IIS Integration and just provide a localhost URL/port for testing sites

So people would use the HTTP Server of their choice like Apache or nginx.

107 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    AldonioAldonio shared this idea  ·   ·  Admin →
    Under Review  ·  Simon TanSimon Tan responded  · 

    This is an interesting idea; we’ll think about it for our next release!

    7 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Vishal DoshiVishal Doshi commented  · 

        I use a simple 'workaround' ...

        1) start my 'custom' server (say nodejs on port 3000).
        c:\website>supervisor server.js

        2) Create default.cshtml with the following contents:

        @{
        Response.RedirectPermanent("http://localhost:3000", true);
        }

        Now when I click run - WebMatrix will launch a browser pointing to IISExpress, which will run default.cshtml, which redirects the browser to http://localhost:3000 (the node server).

        The only bit that this dosen't work with this trick, is, restarts. I can't restart the node server from within WebMatrix. However, in practice this is not an issue, because I also use node-supervisor, which monitors js files and will restart the node js server whenever a js file changes on disk.

        If I were using Apache + PHP (or nginx + PHP) instead, restarts would be less of an issue, because Apache would only need to be restarted if configuration changed. The PHP files would be parsed and interpreted on each request and so would be fresh.

      • Bob KasterBob Kaster commented  · 

        This is a must! I'm not having the same port 80 issue that was mentioned below (I configured my server for 8080), but I would like to be able to get the url location down to the directory level instead of having to configure each new site I start work on as a port on the server.

      • Cameron UsmanCameron Usman commented  · 

        I configured my WebMatrix to connect to my Development SQL Server instead of using integrated SQL Compact (for number of reasons) and it would be nice to use my machine local IIS instead of the integrated IIS.

        This would allow me to have my development environment more closely match the target production environment where a SSL Security Certificate might be installed or additional IIS Modules/Extensions like URL Rewrite 2.0 (http://www.iis.net/downloads/microsoft/url-rewrite).

        Awesome suggestion.

      • SrechSrech commented  · 

        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

      • AnonymousAnonymous commented  · 

        Possibility to use apache instead IIS express would be great.

        No more copying directories with CMD.

      • Alex CohenAlex Cohen commented  · 

        Please, PLEASE do more than think about it. I installed WebMatrix for review, and it really does look like a great suite of development products.

        However, my primary development set-up had a previously installed Apache server. After I installed WebMatrix, there was some modification to http.sys which caused it to run HTTPAPI as a service and effectively hijack my port 80 at the time of Windows start-up. This meant, of course, that Apache could not launch, and my previous development set-up was hosed.

        It took the better part of my day to figure out exactly what was causing this issue, since http.sys does not exactly advertise itself and all that I knew was that there was some service running that called HTTPAPI, even after I had uninstalled WebMatrix.

        There do seem to be a number of posts on Stack Overflow and elsewhere from others who have run into the same or a similar issue with http.sys, and it was those that helped me fix the problem and ultimately get my original WAMP set-up running again.

        Regardless, I think that WebMatrix has a lot of potential and definitely fills a need among developers, but it would be unfortunate if a number of people run into the issue I did in terms of conflict with an existing environment built around Apache,

      Feedback and Knowledge Base