Base solution for your next web application

Activities of "mrvithan"

Can you provide the requested namespace ?

Ok i got more detail....

I am trying to use a HTML to PDF dll (<a class="postlink" href="http://www.nrecosite.com/pdf_generator_net.aspx">http://www.nrecosite.com/pdf_generator_net.aspx</a>), which run wkhtmltopdf execute file. And it auto install 2 files "msvcp120.dll" and another one into Web/Bin; which seems that the ABP loader can't load the DLL correctly. If i remove both DLL, the system run fine.

Any suggestion ?

I suddenly get this error "Could not load file or assembly 'msvcp120.dll' or one of its dependencies. The module was expected to contain an assembly manifest." at base.Application_Start(sender, e);

Any help ?

Solved. After running thru all source code, i found this LanguageManager !!!.

How to get the current selected language from Server-Side ?

For the first issue: here is the shot code snap:

I have a IInputDto class said :

public class TheaterUpdate : IInputDto { public int Id;

[Required] public string name; }

Then in a AppService said :

public class TheaterAppService: ITheaterAppService { public void AddOrUpdate(TheaterUpdate entity) { var obj = new Theater() obj.Id = entity.Id; obj.Name = entity.Name; _repo.InsertOrUpdate(obj);

} }

then i will get the Exception said there is already has the same entity key exists. And suggestion ??

For the second issue, i will try in couple days and will feedback asap.

I am trying to use InsertOrUpdate method in IRepository. I can insert an entity but not for update. It throws an error saying the same entity key is exists. Do you have any example how to use it ?

And another question. How to create 2 way-binding in Entity Framework ? for example, A task has a assigned person. but from person class, how to automatically has "Tasks" that the person is on. Now i have manual call ITaskIRepository.where(p => p.PersonId == id) to get the task list. I know this is quite not related with ABP, but a help is very appreciated.

PS. if you would like me to split into 2 question, please lets me know.

Thx for help

We just find out that when we pass a very long parameter into an AppService. The audit log will auto trim and insert '...' instead then insert the string into "Parameters" field. Are there any possible to turn this feature off ?

Thx for help.

I use AutoMapper and there are some fields that depend on 'Don't want' to output back to client. For example

public virtual string Exception {get;set;} public virtual bool IsSuccess { get { return string.IsNullOrEmpty(Exception); } }

I don't want to serialize Exception.

Solved already.

Showing 21 to 30 of 33 entries