Base solution for your next web application

Activities of "ismcagdas"

Hi,

Sorry for the late response. Have you solved your problem ? If not, do you get any javascript console errors ?

Hi,

Please see this forum topic #785@6f2631bf-217f-4a12-82d4-9601d72aca06

Answer

Hi,

Your entity is deriving from FullAuditedEntity which includes Id field as primary key.

If you want to use AmslNo instead of this Id field as primary key, please check this issue <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/586">https://github.com/aspnetboilerplate/as ... issues/586</a>.

You can make customErrors mode Off on web config. If that does not work, you can take a look at windows event viewer.

Can you also share stacktrace for this exception ?

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);
Showing 12561 to 12570 of 12720 entries