hi
So how can you assign a role without user information?
It is not possible. The UserManager/RoleManager needs the IdentityUser and IdentityRole.
we are try to add entry in abp user table only with email id then there some required fields which we have to insert password and all how we are going to insert information.
You can use the constant value for these properties.
In my computer:
var Icelandic = new CultureInfo("Icelandic");
Console.WriteLine(Icelandic.DisplayName);
Console.WriteLine("------------------");
var Iceland = new CultureInfo("Icelandic (Iceland)");
Console.WriteLine(Iceland.DisplayName);
Icelandic (Iceland) is an invalid culture identifier.
icelandic
------------------
Unhandled exception. System.Globalization.CultureNotFoundException: Culture is not supported. (Parameter 'name')
Icelandic (Iceland) is an invalid culture identifier.
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at Program.<Main>$(String[] args) in /Users/maliming/RiderProjects/ConsoleApp5/ConsoleApp5/Program.cs:line 10
hi
create any api project, then initialize abp module, then add authentication there with identity server token you will get same issue over there
Can you share this test api project via https://wetransfer.com/ ?
liming.ma@volosoft.com
Thanks.
hi
You can try to replace the ConventionalRouteBuilder service
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/ConventionalRouteBuilder.cs#L13
https://docs.abp.io/en/abp/latest/API/Auto-API-Controllers#version-3-x-style-route-calculation
hi
Do you mean localhost/api/users?skip-count=10&max-result-count=10?
hi
Thanks. I will check if this is possible.
hi
There is no such template. But you can check the console template code .
https://github.com/abpframework/abp/tree/dev/templates/console https://docs.abp.io/en/abp/latest/Startup-Templates/Console
hi
Abp doesn't have the event, you can create it and publish the event.
https://docs.abp.io/en/abp/latest/Event-Bus