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

Activities of "shimi"

Hi,

I am checking duplicate name validation in server function, but when clicking save button fastly server process parallel requests and enters same name in database. I know that this can be avoided setting constraints in Database, but is there any solution other than this, because when we are dealing with a huge logic validation in server this will happen and validation fails.

I am updating here for maliming

you can check it in Aspnet Role creation itself

Project Type: Angular with .netcore webapi

**Steps to do **

  1. Remove disable of button in rolecreation popup
  2. put a break point in new Rolecreation function in apiproject
  3. Run both projects(API & Angular)
  4. Click the New Role button, add new role
  5. Then click Save button several times
  6. Can see new Role with duplicate names are saved.

Hi,

I have two Applications one for Login and Another for users (Angular with Web API). User logs in with Login Application, after login they are redirected to another application where they will not be authenticated again. I tried to pass Token from Application one to the second but was not successfull. Is there any other method to acheive this? first application is login.xyz.com and second one is main.xyz.com. Is there any chance for Open Authentication? or can be solved by other simple methods? Please Help

Hi,

There was a delay in 92% when compiling project, this delay time is getting bigger and bigger currently it is taking 15-20 minutes. why is it so?

Already tried your answer in https://support.aspnetzero.com/QA/Questions/5935

Configured Identity and OpenId but not working

Aim is to login from login.domain.com angular project (communicates with api project http://loginapi.domain.com identityserver) after login user is redirected to another subdomain accounts.domain.com angular project (communicates with api project http://accountsapi.domain.com openid) but user can't able to access it.

identityserver configuration done for loginapi.domain.com

"IdentityServer": {
    "IsEnabled": "true",
    "Authority": "http://loginapi.domain.com/",
    "ApiName": "default-api",
    "ApiSecret": "secret",

openid configuration done for accountsapi.domain.com

"OpenId": {
      "IsEnabled": "true",
      "ClientId": "demo",
      "Authority": "http://loginapi.domain.com/",
      "LoginUrl": "http://loginapi.domain.com/api/TokenAuth/Authenticate"
    },

how can i acheive this? I am new to OpenId connect please help.

Hi,

Just enabled identity server in api.

IsEnabled": "true", "Authority": "http://localhost: 22743 server is running /",

Server and client root address

  "ServerRootAddress": "http://localhost:22742/",
  "ClientRootAddress": "http://localhost:4200/",

but when trying to login request is posting to http://localhost:22742/ for validating then how identity works. why is it so? 22743 server is running in parallel

Our Application is divided into three modules with three subdomains we want to communite authentication to diffrent subdomains how can we acheive this using Angular Template.

eg: Login will be done from login.maindomain.com then a screen with different module appears if user clicks on accounts button user will be redirected to accounts.maindomain.com with out relogin. Database is same for all domains.

Showing 1 to 6 of 6 entries