Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "jasuha"

Merhabalar;

Bir sonra ki sorunumu ingilizce olarak açarım :)

Benim sanırım CurrentPrincipal içindeki "Identity" değerim uçuyor. web katmanında. core katmanı içindeki manager sınıfımda da böyle bir problemim var.

ClaimsAbpSession içindeki userId'yi ulaşmaya çalışırken claims'lerin uçtuğunu farkettim. var claimsPrincipal = Thread.CurrentPrincipal as ClaimsPrincipal;

Web katmanında AbpSession.UserId erişmek istediğimde hep null olarak karşıma çıkıyor. fakat application katmanında AbpSession.UserId dolu. UserId alanı nerede dolduruluyor bulamadım ve web katmanında bu bilgilere nasıl ulaşırım.

yardımlarınız için teşekkürler

Answer

Thank you :)

Question

Hi all;

i have 5 abp standart layer in my project

-Company.Application -Company.Core -Company.EntityFramework -Company.Web -Company.WebApi

After added new class library
-Company.Domain

I am trying to your Task manager example on my project. i created TaskManager class like that

     **public class TaskManager : DomainService, ITaskManager**

after i added the below code to application layer

public class TaskAppService : ApplicationService, ITaskAppService { private readonly ITaskManager _taskManager; ... ... ...

when the run project i am getting like that error

**An exception of type 'Castle.MicroKernel.ComponentActivator.ComponentActivatorException' occurred in Castle.Windsor.dll but was not handled in user code

Additional information: ComponentActivator: could not proxy Abp.WebApi.Controllers.Dynamic.DynamicApiController`1**

what i am doing wrong. thank you for our help

I solved. Thank you for help

i have two projects in my solution. i wanna call web api method other in project.

i don't wanna call like below code.

var client = new HttpClient() var addressResult = client.PostAsJsonAsync("http://localhost:5655/api/services/app/Address/GetAddressById", addressModel).Result;

Do you have any advice this situation?

Thank you for your help.

Merhaba;

Simple task system ile freamwork u birleştirdiğim de ekte gonderdıgım hata ıle karsılasıyorum. kendı ekledıgım bır sey yok.

Bu hatayı almamak ıcın tablolarımda nasıl bır degısıklıge gıtmelıyım.

Question

Hello,,

I want to use Isoftdelete filter but i am getting an error "SoftDelete filter not found" EntityFeramwork layer in EfUnitOf Work.cs

i added in AbpDbContext; modelBuilder.Filter(FSMDataFilters.SoftDelete, (ISoftDelete d) => d.IsDeleted, true);

and also added AbpKernelModule Configuration.UnitOfWork.RegisterFilter(FSMDataFilters.SoftDelete, false);

and entityModel like this public class Personnel : Entity, ISoftDelete

what i am doing wrong :(

Thank you for your help

Question

hello,

i don't wanna use codefirst,

i want to entity data model. does freamwork support entity data model?

if support : do you have any example or advice

Thx

Showing 1 to 9 of 9 entries