<cite>csbeginner: </cite>
That repository changed.
New link to this files
<a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-forsaken/blob/dev/src/Abp.Zero.Common/Organizations/OrganizationUnitManagerExtensions.cs">https://github.com/aspnetboilerplate/mo ... ensions.cs</a>
<a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-forsaken/blob/dev/src/Abp.Zero.Common/Organizations/OrganizationUnitManager.cs">https://github.com/aspnetboilerplate/mo ... Manager.cs</a>
Thanks!
@ismcagdas Hi, I am unable to see links contents. My github profile (MikaTml) is linked to aspnetzero, but not aspnetboilerplate.
Ok now I found AppData -> Logs locally and there is problem with wrong tenant number :roll:
One question still, it is related to this topic :D There was appsettings.Staging.json in template project. Can you tell me how to use these settings. I will set up staging site so having different settings would be great.
@ismcagdas lets try again ;)
I published my project to Azure, it works and happy days.
Now I resumed developing new code to the project and naturally I want to test my code behavior on VS locally. I start VS debugging (Web.Host, IIS Express) and it opens browser like before publishing, but now port 22742 shows me error. This didn't happen before publishing. Normally it showed me blank page, and I only could use swagger. Only after npm start, I got something from port 4200 (<a class="postlink" href="https://aspnetzero.com/Documents/Getting-Started-Angular">https://aspnetzero.com/Documents/Gettin ... ed-Angular</a>), but now it too shows me error.
So here are these steps again:
This happens after these changes: add appsettings.production.json add wwwroot folder and lots of stuff in it add publish profile
I had http on my remoteServiceBaseUrl and appBaseUrl in servers appconfig.json. Changed to https and problem is solved.
My activation link was https and when I changed it to http, it worked. But this time there was no filenotfound exception, so could it be different problem?
And can someone tell me why https gives me error?
I published my merged angular project to azure and created new tenant and send activation link. When I clicked the link, I got error, but activation was successfull, since I was able to login.
I found this exeption in App_Data -> Logs -> Logs.txt: TenantCustomizationController.GetTenantLogo with arguments (light, 4) - ModelState is Valid System.IO.FileNotFoundException: Could not find file: /Common/Images/app-logo-on-light.png
That image is in assests/common/images folder on the server..
What is wrong?
@ismcagdas ok.
After publishing, when I try to debug locally, after starting Web.Host, my browser starts to localhost:22742 and there is error notification. Before publish, this site+port did not send anything. And after npm start, port 4200 produses same error.. So I can't debug after publishing?
Now I edited my wwwroot/assets/appconfig.json file in azure. I set remoteServiceBaseUrl and appBaseUrl -> my server url and I was able to login. So how this should be done, that I don't have to login in azure and edit file manually?
Hi @ismcagdas, all were fine there. Few authorization exeptions but it was because I played with swagger site.
For some reason, I couln't debug my project anymore. So I undo changes and tested that my project still works. Now I see login page, but after login, it tried to reroute to localhost. I only set my appsettings.production.json and there I set clientrootaddress same as my server.
So now I would like to know, do I need to set the other app for client? What settings I need to set and where?