Base solution for your next web application

Activities of "thiago floriano"

Localization combo containing available languages is shown, but when I select a different language I'm sent to the home page but in the same previous language.

No error is logged.

Does somebody know how can I investigate this issue or have a tip?

Thanks!

Hi,

I'm having a strange problem.

In my application, I made login via ajax and, after successful login, I request a fresh copy of scripts (GetScripts) to check the permissions.

Chrome does it well, as alaways.

But in IE i only get updated permissions after refreshing the page.

Why does this happen?

Is it possible to minify the content returned by AbpScripts/GetScripts and the /api/AbpServiceProxies/GetAll (get proxies)?

Question

Hi,

Is it possible to break line in a cshtml file using localization? -> @L()

I'm using resource files.

Tried <br> in resource files, break line using shift + enter in the resource file. None worked.

Thanks.

Question

I have a class named User that inherits form AbpUser but I don't want to set CreatorUserId.

Since AbpUser inherits FullAuditEntity which implements ICreationAudited, it generates the CreatorUserId automatically. But the User class is used to register new users, for example when a user sign-up.

So, i get this error: The INSERT statement conflicted with the FOREIGN KEY SAME TABLE constraint "FK_dbo.AbpUsers_dbo.AbpUsers_CreatorUserId". The conflict occurred in database "OMC", table "dbo.AbpUsers", column 'Id'. The statement has been terminated.

How can i set CreaterUserId to null?

Thank you.

I have a page where I load logged user profile so the user can edit it.

I created a profile service: public interface IProfileAppService : IApplicationService { void CreateProfile(Profile input);

    Profile GetProfile(long userId);
}

and I'm trying to call the service using the proxy, this way: abp.ui.setBusy( //Set whole page busy until getTasks complete null, profileService.getProfile({ //Call application service method directly from javascript data: { userId: abp.session.userId } }).success(function (data) { vm.profile = data.profile; }) );

I got the services proxies through /api/AbpServiceProxies/GetAll and I have this for profileService: serviceNamespace.getProfile = function(userId, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/app/profile/GetProfile', type: 'POST', data: JSON.stringify(userId) }, ajaxParams)); };

Do I need to pass something as ajaxParams?

Hi!

Can you give an example of a Register controller to create new user?

Thank you!

Question

Hi Hikalkan!

First of all, congratulations for the great work here in ABP and Module Zero.

I'm building an application that has simple enterprise information at most. But, users will have an area to login and send Resumé.

You supplied us with a great sample using MVC login. But how can I deal with a login call from angular??

Thank you.

Showing 1 to 8 of 8 entries