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

Activities of "andry3ag"

Below is example of the URL send inside the account email activation:

<frontend-site-base-url>/account/confirm-email?c=N6byZPbwhnS6C60R6vRtS21PJHsfiU+zWFI5HcK4PNUSs/qXkSla/7efrbckcWUDPQ9Kbnvx92469XRIQydOzCOGOT/NRcqBBA36v1xFRNA=

I cant find the implementation in angular project, of how the string c is converted to "confirmationCode" and passed back into back-end "/api/services/app/Account/ActivateEmail" endpoint

@ismcagdas

So I was finally able to open the link you said (https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/Url/AngularAppUrlService.cs)

They are exaclty the same. I think I got it to work now.

One last question. I can see in the email verify link there is parameter c. How does the front end convert the parameter c to comfirmationCode that is later send back to server via the "/api/services/app/Account/ActivateEmail" end point. I pretty much need to implement the flow using react instead of angular.

Thanks

@ismcagdas

My username is 3AGSystemsShervin

Hi @ismcagdas,

I still cannot open the link https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/Url/AngularAppUrlService.cs

Are you sure its the correct link? Under the license management I can see my GitHub user added but when I click the link I see 404, eventhou I can see I'm logged in. Is there any other was to get to the AngularAppUrlService.cs class from the base URL of the documentation?

https://github.com/aspnetzero/documents

Hi @ismcagdas

Just wanted to follow up.

  1. I got your invitation and I accepted the invite and I can see this page https://github.com/aspnetzero/documents but when I clikc the link you provided I cannot open it. Still get 404. Even though when I click the link I can see that Im logged in as the user that is added to the https://aspnetzero.com/LicenseManagement. Perhabs something is wrong with the link (https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/Url/AngularAppUrlService.cs ) Perhabs you tell me the steps to take to get to the AngularAppUrlService.cs class from the https://github.com/aspnetzero/documents link

  2. Its been 8 days since last post and our client really needs the email activation to use for there dev/testing

Thanks again for your time

@ismcagdas

  1. I added my user on GitHub, and it said successfully added. But I still cant reach the URL. Perhabs some lag?

https://risksmith-dev-web.azurewebsites.net/account/confirm-email?c=QCVaA/9koiqZF+n5VyxTLMtm3/AA3R//aBQYpnBFTbNYUVh5GK1wwo9b8hkL2unb6YkOI7HfeXwo9VbAvww3ZeHXF/r8AkvqutnT47xpTJU=

We have recently downloaded the ASP.Net Core 3x with Anguylar 9.x (version 8.6). I have tried to add the [index] entity attrivute annotations but its asking me to install entity framework package. I dont wnna install anything, inase it breaks my project. I followed the following documentation on adding index for entity framework code first : https://docs.microsoft.com/en-us/ef/ef6/modeling/code-first/data-annotations

Please let me know what I need to do, in order to add "non-unique, non-clustered" index to my entity attribute under my .core project.

Thanks

Hi Team,

We have recently downloaded the ASP.Net Core 3x with Anguylar 9.x (version 8.6). I have added some custom DTO mapping under the CustomDtoMapper.cs under the "Application" project. I was wondering if its possible for me to set mapper configuration dynamically inside the services that I create. For example based on the input parameter inside the api service, I set configuration for auto mapper. So if value is 2 I map certain attributes from source to destination. And if the value is 3 I do another mapping for source and destination attributes.

Do I have to inject "IMapper" into my application service?

Thanks

  1. I get 404 page when I click the link you send.

  2. "ServerRootAddress": "https://risksmith-dev.azurewebsites.net/", "ClientRootAddress": "https://risksmith-dev-web.azurewebsites.net/",

    One thing I gotta mention is that now the email activation link works and when i click it it takes me to front-end page and logs me in. However when I look at users table, the user [IsEmailConfirmed] is still set to false

Hi ismcagdas

No we do not need to go to mobile app. All we need is the user to have IsEmailComfirmed set to true after they click the URL or button in activation email. One thing I have to mention is that we have deployed two web apps on Azure. One is for back-end and another is for Angular front-end, so we can modfity tenancy settings/permissions etc.. However the react native mobile app will be consuming the API end points.

When I look at the URl above (https://siteURL.net/account/confirm-email?c=JY+3rCP5yhTFOd9YESWb7IPOfbPn+x6MRjbS6i6em6hNo24hzRahskSAN2D/1g+EVw6r5DTQ9CXLG9ajnjeUpfh82GFDhBb8f+UWjuswR5k=)

the site base URL "siteURL.net" is pointing to the back-end site, and not the front-end angular app. That is why the 404 is trhown. I believe its assuming that the back-end and front end are deployed on the same URL.

I have used the following link to deploy to Azure

https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-Azure

Showing 11 to 20 of 58 entries