I want to add my own properties in "IAbpSession" interface and i have taken this url <a class="postlink" href="https://gist.github.com/hikalkan/67469e05475c2d18cb88">https://gist.github.com/hikalkan/67469e05475c2d18cb88</a> for reference and below are my project details and i have few questions on this-
Project Details: i) Created Project Structure using Asp.Net Zero tool ii) Using Asp.Net Core iii) UI Angualr-5
Questions:
I have created all things as per given in above url. But i am not getting the definition for "CreateIdentityAsync" So where i need to exactly place this method . After adding new claims then how will we get the values in UI using AbpSession. How AbpSession Works in Asp.Net.Zero tool. How we will get the value using abpSession for newly added claim in angular-5 . Can any one provide the code snippet using angular-5 and asp.net zero tool.
9 Answer(s)
-
0
Hi,
For ASP.NET Core please refer to this document <a class="postlink" href="https://gist.github.com/ismcagdas/6f2a9a3b5d7b907cb8d94a72124d59a1">https://gist.github.com/ismcagdas/6f2a9 ... 72124d59a1</a>.
-
0
Hello,
Thanks for above solution. But we need to always inject "MyAppSession" class whenever we want to use and it is seems to be not working like "IAbpSession" any other possible solution rather than injection.
-
0
From the documentation on Replacing Built-In Services:
// using Abp.Configuration.Startup; Configuration.ReplaceService<IAbpSession, MyAppSession>();
-
0
for the others I created a wiki page for adding a new item to AbpSession <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/wiki">https://github.com/aspnetzero/aspnet-zero-core/wiki</a>
-
0
<cite>alper: </cite> for the others I created a wiki page for adding a new item to AbpSession <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/wiki">https://github.com/aspnetzero/aspnet-zero-core/wiki</a>
After clicking on link i am getting 404 not found error. Could you please resend me the link
-
0
It is a private repository. Go to <a class="postlink" href="https://aspnetzero.com/LicenseManagement">https://aspnetzero.com/LicenseManagement</a> and add your github user on github users tab.
-
0
<cite>ismcagdas: </cite> It is a private repository. Go to <a class="postlink" href="https://aspnetzero.com/LicenseManagement">https://aspnetzero.com/LicenseManagement</a> and add your github user on github users tab.
I clicked on link ><cite>ismcagdas: </cite>
It is a private repository. Go to <a class="postlink" href="https://aspnetzero.com/LicenseManagement">https://aspnetzero.com/LicenseManagement</a> and add your github user on github users tab.
I clicked on above link and i have login-ed with forum but i am not getting the option for git hub user. Could you please precise the steps.
-
0
-
0
Hi,
Could it be that I cannot access https://github.com/aspnetzero/aspnet-zero-core/wiki even though I have access to the private repository (the Wiki link is not visible).