Base solution for your next web application

Activities of "ismcagdas"

Hi,

I think it is more related to azure settings. I couldn't find a clear solution but every topic on the internet refers to this post <a class="postlink" href="https://azure.microsoft.com/en-us/blog/new-configurable-idle-timeout-for-azure-load-balancer/">https://azure.microsoft.com/en-us/blog/ ... -balancer/</a>.

As far as I understand, long running web requests are not good for Azure. You might consider doing this in a background job if it satisfies your needs.

Hi,

All the errors and their stack trace should be logged the Log.txt file under Logs folder in web project directory. Does that work for you ?

Your solution is good enough, thank you for sharing. As a side note, if you are updating an entity, first get it from database, then map your dto to it.

Hi,

For your first case, do you see any exception message on chrome's developer console ?

for select2, you have to include select2 javascript & css files. On your page's document ready event just call select2 function on your html select element

$('#select2element').select2({
      placeholder: "Select",
      width: 'auto', 
      allowClear: true
   });

For datepicker or datetimepicker, you should do the same.

$('#yourDateInputElement').daterangepicker();

Hi,

I couldn't reproduce your problem. Can you comment this line and try again ?

await _phoneRepository.UpdateAsync(phoneToUpdate);

I have tried a similar scenario and it worked as expected for me. Can you share your Phone entity, so i can make a more realistic test.

No, I think it is not related to your Dtos. PartnerPhoneDto seems ok.

Is your "EditPartner" method in an application service ? Can you share it's latest version you have tried ?

Hi,

Have you tried like this ?

await _phoneRepository.InsertAsync(phone);
await CurrentUnitOfWork.SaveChangesAsync();

Hi,

Sorry for the late response. I have created a sample project to test your case.

I think you need to run below code in your cshtml after you include Login.js. You define CurrentPage, but you dont initialize it.

<script type="text/javascript">
    $(document).ready(function() {
        CurrentPage.init();
    });
</script>
Answer

Hi,

For the file upload, you can check ChangeProfilePicture action of ProfileController and changePicture.js for the client side. For the image gallery, if you are building a SPA, you can use somethin like this <a class="postlink" href="https://github.com/SchwarzwaldFalke/ngGallery">https://github.com/SchwarzwaldFalke/ngGallery</a>.

Showing 12621 to 12630 of 12775 entries