0
morindo created
Hi,
I'm building a console app that will use my application services, core services and repositories to insert large amount of data into the database and Azure table storage. I would like to call the services directly, like a client/server app, and I don't want to do remote Web Api calls. I've looked at these samples, AbpWpfDemo and AbpEfConsoleApp but none of these are using authentication/authorization.
I would like to impersonate the host admin. I can't figure out how to do it.
Thank you,
1 Answer(s)
-
0
Ok, I found an example of an IAbpSession implementation for a console app.
Please see: [https://github.com/aspnetzero/aspnet-zero-samples/tree/master/PhoneBook/src/Acme.PhoneBook.ConsoleApp])