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.

That is okay, consider first application passes token to second application in querystring, the first problem is we can access query string in constructor of login page, before that GetAll() and GetCurrentLoginInformations function will call so only chance is to reload login page again with new cooke value in second app. The question is "Is there any way to access token query string before it reaches constructor of that particular component"

That is okay I am receving token in second app also but where to receive the token in login page or in some other service so that it canot promp user to login again

Ok, but how can I pass and receive token in two aspnetzero application?

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?

Hi @ismcagdas

Is there any other settings by which I can communicate authentication between subdomains?

@Hi @ismcagdas,

There is no login for accounts.domain.com any users with out authentication must be redirected to login.domain.com. And if authenticated user can access accounts.domain.com.

My objective is very simple user logs in from login.domain.com if authenticated he can access subdomains like accounts.domain.com and hr.domain.com etc with out asking relogin. And if user is not logged in and types accounts.domain.com he will be redirected to login.domain.com

In MVC Application we can use cookies and can set machine key in iis for this purpose. But here the problem is UI is in angular and service is Webapi for all applications.

Is there any setting want to be enabled in Angular login application or in Angular Accounts application?

Hi @ismcagdas

no error is there. Are my configurations correct? when i logged in from login.domain.com and reached accounts.domain.com it again asks authentication. Please put the configurations example for both domain and is there any settings needed in angular application for both domains?

Application 1 (webapi and angular login project) Application 2 (webapi and angular accounts project)

@ismcagdas

yes both are AspNet Zero apps

Showing 1 to 10 of 14 entries