Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Deployment Questions #10677


User avatar
0
KarakTheWise created

API Version 9.2.0 .NET Core / Angular

Greetings,

I apologize for this long post in advance!  I have several question related to an IIS deployment as well as Azure. I have three principal customers that are going to be using my application before it goes to market. The first two are on-prem IIS and the third will be on Azure, which will be a great help to me since I plan to deploy the final product to Azure. This will be a good test run.

IIS: I've tried to follow the steps in the 'Step By Step Publish To IIS' documentation and I was able to follow most of it. Here's where I'm struggling:

1.) "Change appsettings.production.json to configurations with your own settings" I know every set up is different but I no idea what to look for and what this would be. 2.) On the Angular side: "Change the assets/appconfig.production.json file with your one configuration". Again, not sure how to approach this. 3.) The note about getting a 404 and using the ASP.NET Zero Angular UI web.config file. A little guidance on this would be so helpful.

The second part I need some direction for the on-prem setups.

1.) How do I setup their iteration of ASP-NET Zero to be single tenant? I've written the application with multi-tenant in mind and I don't want to confuse them with the go to use it. 2.) What do files do I actual send to the IIS on-prem installations? 3.) During my development, I've never dealt with the email portion of the ASP-NET Zero. So things like emailing a new user and email activation notice once created is something I've never been able to get to work. I don't know where to enter the email server information etc. I may be way off base here and just need guidance. Basically, I need to know how to guide my admin users on how to set up their users and so on. 4.) Passwords: I've never found out how to change this and will definitely need to be doing that for deployment. I guess I'm just needing some specific direction on some this or where to find because I haven't had any success finding it in the documentation. 5.) Database setup on-prem. What is the best way to deploy this? Do I use Visual Studio's PMC to run my migrations? Or is there a better solution?

Lastly, for the Azure deployment: I know this is huge subject. I've read quite a few support forum posts here on this. The biggest questions I have at this time are: 1.) What do they need to set up in Azure? I found this post https://support.aspnetzero.com/QA/Questions/9188/If-you%27re-hosting-on-Azure---can-you-share-what-it-costs-per-month that I'm using a guideline for recommending what the client may need. They are large facility. Is this a good place to start? Any guidance would so appreciated. 2.) The question of security on Azure has been brought up. How secure is ASP-NET Zero running on Azure? And are some things we need to set up a specific way on Azure to make sure it's as secure as possible? 3.) Deployment to Azure. I have the ASP-NET Zero documentation here: https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-Azure and I'm hoping by understanding some of the settings for IIS will help in the Azure deployment.

Again, I'm sorry for the long post. I've been compiling my questions for several weeks and though I'd get this started. Thank you again for all your help!


5 Answer(s)
  • User Avatar
    0
    KarakTheWise created

    Greetings,

    I know this is a lot to ask in the above post. If I could at least get a little direction on the appconfig.production.json settings, that would be really helpful. Also, for some reason I cannot edit the appconfig.production.json once it's in the wwwroot/. Should I make virtual directory and have the actual path just somewhere on the drive and not in the wwwroot?

    Thanks again!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @KarakTheWise

    We have replied to your email, we will provide support via email for this case.

    Thanks,

  • User Avatar
    0
    KarakTheWise created

    Thank you so much!

  • User Avatar
    0
    najeebalmajeedy created

    Hi!

    I need some support here too. I want to publish to azure and the documentation is not showing detailed steps on how to publish to azure. For example:

    1. Host project doesn't redirect to UI/Login
    2. Azure SignalR (how to use?)

    Thank you

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @najeebalmajeedy

    1. If you are using the latest version, you can configure App:HomePageUrl in appsettings.json file. Host app will use this URL as the default page.
    2. ASP.NET Zero support Azure SignalR. You can integrate it as explained here.