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

Activities of "trendline"

Answer

Thanks @ismcagdas I have resolved my issues after checked <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide-Angular#ttoken-based-authentication">https://aspnetzero.com/Documents/Develo ... entication</a>, it is great that use Host website to provide API services, it is so cool.

"if the specified Abp.TenantId is configured as separated individual Database, it return internal server error" This issues mentioned before, because my separated individual Database for a tenant with an incorrect connection string , after correct the connection string it works fine now.

options.Filters.Add(new AutoValidateAntiforgeryTokenAttribute())

I have checked the latest code from GitHub, this already removed, not existing in startup, right?

Thanks for your clarification, configured in appsettings.json is convenient for Host website, furthermore, Host website and Mvc website both with different domains. But we need to change it again after publish to server.

this tutorial maybe could help you <a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/publishing/iis">https://docs.microsoft.com/en-us/aspnet ... ishing/iis</a>

Where to set the clock provider in asp.net core mvc edition?

Answer

I didn't find "//options.Filters.Add(new AutoValidateAntiforgeryTokenAttribute()); ", in Host startup file? or MVC startup file?

Answer

I am using the aspnet core mvc edition, I found it in Host project and publish the Host project to host the API services. But the token based authenticate doesn't work well, it has below issues: if don't specified the Abp.TenantId, it could return access token if specified one not exist Abp.TenantId, it could return access token if specified the Abp.TenantId = 1, it could return login failed the user account has been locked out, please try again later if the specified Abp.TenantId is configured as separated individual Database, it return internal server error

Answer

Thanks, I already checked the article, follow up the steps, I copied some configurations from host project startup file to mvc project startup file, it still cannot found jwt-token/authenticate, it's status is 404 Not Found in POSTMAN.

is something go wrong?

Answer

Where to enable Cors? I also encountered this issue

Great! After set load user profile to true resolved the issue. Thanks a lot.

This is a most common useful message transfer, I think ABP framework should provide one that like UserFriendlyException class done but without inherit from System.Exception

Showing 91 to 100 of 117 entries