Base solution for your next web application

Activities of "jamsecgmbh"

Hi,

the documentation says "LDAP (Active Directory) Authentication is disabled by default. To make it work, you should disable multi-tenancy since LDAP auth is not used in a multi-tenant system normally."

Is it technically possible to enable both (LDAP Auth and multi-tenancy) at the same time? All users are in the same domain, but the customer has multiple divisions to be separated. It would also be helpfull to be able to use the edition feature.

If it will be technically possible to enable both at the same time - do we have to customize code or will it run out of the box?

Thank you very much!

Hi,

is it possible to re-use the authentication info of an user in an ASP.NET Zero project that uses LDAP auth (SPA with Angular 1)? I would like to use it to authenticate the user against the Exchange Webservice managed API, if this should be possible (<a class="postlink" href="https://github.com/OfficeDev/ews-managed-api">https://github.com/OfficeDev/ews-managed-api</a>). I think it will not be possible to use the "service.UseDefaultCredentials = true;" with the web application, but perhaps we can use the credentials entered to login? (service.Credentials = new WebCredentials("[email protected]", "password"); Source: <a class="postlink" href="https://msdn.microsoft.com/en-us/library/office/dn567668(v=exchg.150">https://msdn.microsoft.com/en-us/librar ... =exchg.150</a>).aspx)

Thank you very much.

Hi, I have to set the focus on an input element that I identify. I am using SPA with Angular 1. I am able to identify it and and i am able to set the focus - but the finally part of the event listener of the service method seems to fire to early to use my method, cause the focus is not set.

I have tried to use the "$scope.$on('$viewContentLoaded', function ()" that is contained in some views, but without luck - the function content will not be called.

Do you have a hint for me, how I can use event listeners that can call my function when everything is in place and loaded? Thank you very much!

Hi, I am trying to allow anoymous access to a Web API method. I have added "[AbpAllowAnonymous]" to the class and the method but the API throws "500 Internal Server Error" until sign in to the application or pass a valid auth token.

I am using the ASP.NET MVC 5.x, ASP.NET Web API and Angularjs 1.x based Single-Page Application (SPA) solution.

May I have to use [AbpAllowAnonymous] for all methods in the Core project that I reference from the app service method too? I also use repositories in the method.

Thank you very much.

Hi,

do you have clue why the LastModificationTime and LastModifierUserId fields are updated for a random set of rows, not only the row that has been edited? If someone edits data in one row an undefined count of rows LastModificationTime and LastModifierUserId fields will be updated to the same time (can be different on millisecond level) and the same user. That does not make any sense.

Thank you very much in advance!

Hi,

we have the problem that we cannot assign Roles to Users with umlauts (ä, ü, ö, ß) or "-"-signs (Peter Meier-Schmitz) in their usernames. Username xxx is not valid - the line UserManager.UpdateAsync throws the error "only letters and numbers are allowed".

I know that it is stupid that the admin has assigned usernames with umlauts and minus to users, but know we can see how to handle this. Could you please tell me if there is a possible workaround for this problem?

Thanks!

Hi,

what's best practise to include external javascript (e.g. <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>) - in which file should I include them?

Thanks!

Question

Hi,

is it possible to define user accounts with all kind of info (Full name, E-Mailaddress, Group-Assignments ...) before the users log in for the first time using LDAP Authentication with their AD usernamen and password? Is the only important thing to create the account with the exact Windows AD username? If so do I need to include the domainname (e.g. domain\username)?

Can I mix these LDAP accounts with accounts only existing in the ASP.NET Zero application database?

Is it possible to create the users in batch by inserting them directly into the ASP.NET Zero database and then assign the groups in the backend application?

Thank you very much in advance! Great product, great support!

Hi, is it somehow possible to insert a complete list (mapped with Automapper) within an application service method? Or is it only possible to iterate the list and use single insert of IRepository? Thank you very much!

Question

Hi,

I have a problem with a service I have added - unfortunately I have not chosen the correct naming convention while creating it, I missed to name it ...AppService, just named it ...Service. I read in your article about Dependency Injection that automatic registrations can only work if everything is named correct. I renamed it, but I can't get it to work (I have already implemented other ones without problems). I get the following exception:

"Can't create component 'MyDatabase.Infosheets.InfosheetAppService' as it has dependencies to be satisfied.

'MyDatabase.Infosheets.InfosheetAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`2[[MyDatabase.Infosheets.RequestInfosheet, MyDatabase.Core, Version=1.10.0.0, Culture=neutral, PublicKeyToken=null],[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' which was not registered.
"
exceptionType
:
"Castle.MicroKernel.Handlers.HandlerException"

Could you please help me?

Showing 1 to 10 of 15 entries