Open Closed

Deployment to IIS and Generic Deployment #2392


User avatar
0
travom created

I’m researching deployment of a standard ABP Commercial Application (using the Start-up Template Application, SQL Server, Tiered (Identity Server), Blazor Server) to IIS.

I’m using .NET 6, the latest Volo ABP and ABP Commercial libraries 5.0.1, and Windows 10 (latest).

I have published (in Visual Studio 2022) the Blazor project (of the Application Template Solution) and setup successfully in IIS (local) - i.e., I can hit the site in a browser ok.

To test I run the dependencies IdentityServer project and the Api.Host project from Visual Studio (outside of IIS on 127.0.0.1 - not changing the config of the Blazor project to point elsewhere).

All is good until I try to login (from the Blazor front end – which runs successfully), where upon I get error when re-directing to IdentityServer (https://localhost:44346/) – Internal Server Error – invalid redirect url.

Guessing my config somewhere is wrong - CORS – Tokens – Certs maybe?

Are you able to help me solve this issue please?

Also, is there any documentation/tutorials on how to deploy ABP Commercial (Application Template) to IIS, or any other generic ABP/ABP Commercial deployment documentation, and if so, could you send to me or provide link(s) please?

I’d also would like to have some documentation on the deployment of ABP Commercial Microservices Template to IIS, as I will shortly be attempting to test/research a similar deployment to IIS once I have (hopefully) successfully resolved the above issues and deployed the Application Template to IIS successfully.

Thanks and best regards,

Mike


5 Answer(s)
  • User Avatar
    0
    travom created

    Update:

    I have managed to get Blazer project published and running running on ISS.

    Removed and reseeded database as per:

    https://support.abp.io/QA/Questions/1009/Invalid-redirecturi---RedirectAllowedUrls-on-Login-page

    Additionally would also appreciate questions re documentation in original post:

    Also, is there any documentation/tutorials on how to deploy ABP Commercial (Application Template) to IIS, or any other generic ABP/ABP Commercial deployment documentation, and if so, could you send to me or provide link(s) please?

    I’d also would like to have some documentation on the deployment of ABP Commercial Microservices Template to IIS, as I will shortly be attempting to test/research a similar deployment to IIS once I have (hopefully) successfully resolved the above issues and deployed the Application Template to IIS successfully.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Deployment documentation is already in the roadmap (IIS, Azure, K8s... etc.). it is in the 5.2 milestone

  • User Avatar
    0
    travom created

    When is 5.2 scheduled? (I note 5.1 is not scheduled until February)

    I need to make decisions long before that re ABP and ABP Commercial going forward, and part of those decisions relate to deployment options and processes.

    Are there any preliminary or work in progress documents or other materials available now? If so could you send me links please.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We haven't started this work yet, I will let you know when the document is available.

  • User Avatar
    0
    gterdem created
    Support Team Senior .NET Developer
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11