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

Activities of "bilalhaidar"

Hi, I am trying to host an app on Windows Azure. I am getting an exception that you can check here: <a class="postlink" href="https://drc-greece.azurewebsites.net/">https://drc-greece.azurewebsites.net/</a>

Any idea? Thanks

Hello, I am trying to turn off dynamic proxy creation inside the application DbContext as follows:

public OnlineSystemsDbContext()
            : base("Default")
        {
            // Turn off Dynamic Proxy
            Configuration.ProxyCreationEnabled = false;
        }

For some reason I keep on getting those long IDs attached to entities.

Do you override this setting somewhere inside the framework?

Thanks

I understand, so if there is no need to check for errors, you simply don't cal l any update method?

Thanks

Actually ToListAsync is not available in my .Core, can you check on your side?

But one thing I noticed now, the GetAllListAsync() method on the repository accepts a Func where I can provide my query and not only return all the list.

Thanks

As a suggestion, why not make use of a suite like Telerik or DevExpress so that you don't have to include so many files for different controls? Isn't this better?

I can help with this task as I have knowledge in Telerik and now I am starting on with DevExpress and have licenses for both.

Just a suggestion

Regards Bilal

Thanks a lot Ismail!

And in case I want a list?

Hi, The problem was the plan I have limits the App Pool memory to 300 MB only.

Can you tell me how you monitor the demo memory usage?

What's basically this number? Memory used by app?

Thanks

Here you go:

[AbpAuthorize(AppPermissions.Pages_Administration_Users_Edit)]
        protected virtual async Task UpdateUserAsync(CreateOrUpdateUserInput input)
        {
            Debug.Assert(input.User.Id != null, "input.User.Id should be set.");

            var user = await UserManager.FindByIdAsync(input.User.Id.Value);

            //Update user properties
            input.User.MapTo(user); //Passwords is not mapped (see mapping configuration)

            if (input.SetRandomPassword)
            {
                input.User.Password = User.CreateRandomPassword();
            }

            if (!input.User.Password.IsNullOrEmpty())
            {
                CheckErrors(await UserManager.ChangePasswordAsync(user, input.User.Password));
            }

            CheckErrors(await UserManager.UpdateAsync(user));

            //Update roles
            CheckErrors(await UserManager.SetRoles(user, input.AssignedRoleNames));

            if (input.SendActivationEmail)
            {
                user.SetNewEmailConfirmationCode();
                await _userEmailer.SendEmailActivationLinkAsync(user, input.User.Password);
            }
        }

Hi, I am noticing that the libs bundle file is around 700KB, is there a way to optimize it and remove some unused files? My app is mvc 5 and angular js.

Thanks

Showing 281 to 290 of 635 entries