Base solution for your next web application

Activities of "jasuha"

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

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 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.

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 5 of 5 entries