Sayed Ibrahim HashimiAdminSayed Ibrahim Hashimi (Admin, ASP.NET Future Feature Feedback)

  1. 10 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…)
      0 comments  ·  General ASP.NET » General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
      Sayed Ibrahim HashimiAdminSayed Ibrahim Hashimi (Admin, ASP.NET Future Feature Feedback) shared this idea and gave it 1 vote  · 
    • 709 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…)
        18 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →

        Hi Steve, thanks for the comments. The blog post that I have is more targeted executing app offline with the integrated build+publish experience. If you are calling msdeploy.exe you can use the new -enableRule for app offline.

        We have not yet added support for this rule in our build/publish MSBuild targets. We have not done that yet for the following reasons:
        * It requires MSDeploy v3 on the server
        * It currently does not support a custom app offline file

        I am working with the MSDeploy team to get support for custom app offline files (the feature was implemented, but we had to disable it at the last minute due to a security concern).

        @Bert in the next version of Visual Studio you will be able to create a transform based on the publish profile. So if you have a publish profile named "TestEnv" then if a web.config transform with the name web.TestEnv.config exists it will be invoked.

        @Benjamin, I agree. I'm thinking that if there was a file named app_offline-template.html (or smtg similar to it) and that is the one which gets converted to app_offline.htm. If there is none then just drop an empty file for the default message.

        Sayed Ibrahim HashimiAdminSayed Ibrahim Hashimi (Admin, ASP.NET Future Feature Feedback) shared this idea and gave it 3 votes  · 
      • 16 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…)
          1 comment  ·  General ASP.NET » General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
          Sayed Ibrahim HashimiAdminSayed Ibrahim Hashimi (Admin, ASP.NET Future Feature Feedback) shared this idea and gave it 1 vote  · 

        Feedback and Knowledge Base