Open Closed

Deploy Angular SPA with API #6858


User avatar
0
scott7106 created
  • ABP Framework version: v8.0.4
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

Is there a blueprint for how to deploy the Angular SPA as a fallback within the API. I want to deploy the API and the SPA as a single application using 1 URL instead of 2 URLs. We had this working in an earlier version of ABP using IdentityServer, but so far we have not been able to get it working with OpenIddict.


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Please check out : https://stackoverflow.com/questions/62055847/how-to-deploy-angular-spa-with-asp-net-core-3-1-api-on-iis

    https://www.codementor.io/@noorsaifi/how-to-deploy-angular-asp-net-core-webapi-to-iis-on-shared-hosting-1dytrihj56 If it helps you.

    Thanks,

  • User Avatar
    0
    scott7106 created

    This does not help. We know how to serve the Angular application as part of the API. The complication comes when trying to get OpenIddict components working with this configuration. I am guessing there are other people who also want to deploy applications both the Angular SPA and the .NET API under a single domain. A recipe book or guide for this would be very helpful.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    could you please share some steps to reproduce or backend/ frontend error logs so that I can better assist you.

    thanks

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11