I have copied your code into the AccountController class, but it still not shows in AppAuthService. It is only logout that is available. And the logout method is not marked with [HttpPost] or [Route] attributes. I have run the refresh.bat file but with no luck :?
<cite>alper: </cite> hi,
I think you cut the exception trace from the wrong place. The main exception message is not included! What does the exception say?
Yes, now I found the exception message :) Thanks!!
Thanks! It was this code for reading the cookie value I needed: abp.utils.getCookieValue("Abp.Localization.CultureName");
<cite>Mitch: </cite> Hi
I'm using Azure too so I think I'm going to hit the same problems. Can you tell me how you setup SendGrid to work with ASP.Net Zero?
I really appreciate your help in advance.
Mitch
@Mitch Hi. Did you solve it? These two links maybe helpful: <a class="postlink" href="https://stackoverflow.com/questions/17666161/sending-email-from-azure">https://stackoverflow.com/questions/176 ... from-azure</a> <a class="postlink" href="https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email">https://docs.microsoft.com/en-us/azure/ ... send-email</a>
<cite>ismcagdas: </cite> @affern, no you must run it locally before publishing your Angular app. Does your service-proxies.ts file contains EditionSelectDto ?
Yes, it does. But I think the problem is about caching in Azure. After my last upgrade it shows the old solution. But if i clear my cache in my browser it works. I don't have this problem in my development environment, so maybe it is some cache settings in Azure.
<cite>alirizaadiyahsi: </cite> After you change your backend, you should run nswag (angular/nswag/refresh.bat) to regenerate service.proxies.ts
I run nswag every time after I have changes in my services, so this is not the solution to the problem. Or should I run nswag on the production server in Azure as well?
It solved it when I commented out BuyComponent, UpgradeOrExtendComponent, PaymentGatewaysComponent and PayPalComponent in AccountModule. But this is just a temporary solution. It is strange that it works in the development environment but not in production. Seems like my angular solution has not detected the relocation of any of the dto objects to application.shared in the back-end solution.
I tried to insert this in web.config, but it did'nt help:
<staticContent> <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> <mimeMap fileExtension=". WOFF2 " mimeType="application/font- WOFF2 " /> </staticContent>
If I comment out BuyComponent, UpgradeOrExtendComponent, PaymentGatewaysComponent and PayPalComponent in AccountModule, the page loads, but with these error messages:
jquery.min.js:2 GET <a class="postlink" href="https://mysitefrontwebapp.azurewebsites.net/fontawesome-webfont.af7ae505a9eed503f8b8.woff2">https://mysitefrontwebapp.azurewebsites ... f8b8.woff2</a> net::ERR_ABORTED jquery.min.js:2 GET <a class="postlink" href="https://mysitefrontwebapp.azurewebsites.net/assets/metronic/libs/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.woff2">https://mysitefrontwebapp.azurewebsites ... ular.woff2</a> net::ERR_ABORTED jquery.min.js:2 GET <a class="postlink" href="https://mysitefrontwebapp.azurewebsites.net/Simple-Line-Icons.0cb0b9c589c0624c9c78.woff2">https://mysitefrontwebapp.azurewebsites ... 9c78.woff2</a> net::ERR_ABORTED /fontawesome-webfont.fee66e712a8a08eef580.woff:1 GET <a class="postlink" href="https://mysitefrontwebapp.azurewebsites.net/fontawesome-webfont.fee66e712a8a08eef580.woff">https://mysitefrontwebapp.azurewebsites ... ef580.woff</a> net::ERR_ABORTED GET <a class="postlink" href="https://mysitefrontwebapp.azurewebsites.net/assets/metronic/libs/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.woff">https://mysitefrontwebapp.azurewebsites ... gular.woff</a> net::ERR_ABORTED
I followed these steps when I upgraded Angular from 4 to 5: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/commit/a0406c62c0afe8641acd0fc9f3a15697e5de1826">https://github.com/aspnetzero/aspnet-ze ... 97e5de1826</a>, and it works in development. I have the latest asp.net zero core 2.0 in backend, but a front-end solution from july 2017. What do I need to change after the angular upgrade? :?
<cite>aaron: </cite> You need to login with your GitHub account to access the private repo. You can invite yourself here: <a class="postlink" href="https://aspnetzero.com/LicenseManagement">https://aspnetzero.com/LicenseManagement</a>
Thanks, mate!! Works great :)