Base solution for your next web application

Activities of "alfar_re"

Answer

@ismcagdas,

The entire solution including all projects?

Answer

Hi,

Nothing has changed in locolization.

Question

Hi,

I recently added the timezone code to enable selection of timezone under settings. I also enabled hangfire successfully. However, everything on the system now displays with square brackets like so [Settings header info]

What would be the problem and how do I resolve?

Answer

This actually worked. Thank you.

Question

Hi,

I cannot seem to find the Timezone setting on the Host account. I would like to know how to set this up.

Hi,

Each time I make changes to the entity structure, all changes, including the code added to the services gets lost. How can I prevent this?

Hi,

I actually changed all filter methods and removed the ToString()where the property was a string and it worked well.

Allow me to close this now. Many thanks for the help. Cheers!

Hi,

InvoiceNumber is actually a string. And the same issue is occuring in almost all look up tables.

Here you go. That's the entire code block.

var query = _lookup_rentalInvoiceRepository.GetAll().WhereIf(
		!string.IsNullOrWhiteSpace(input.Filter),
	   e=> e.InvoiceNumber.ToString().Contains(input.Filter)
	);

var totalCount = await query.CountAsync();

var rentalInvoiceList = await query
	.PageBy(input)
	.ToListAsync();

var lookupTableDtoList = new List<TransactionRentalInvoiceLookupTableDto>();
foreach(var rentalInvoice in rentalInvoiceList){
	lookupTableDtoList.Add(new TransactionRentalInvoiceLookupTableDto
	{
		Id = rentalInvoice.Id,
		DisplayName = string.Format(rentalInvoice.InvoiceNumber?.ToString(), " - ", rentalInvoice.Description, "(", rentalInvoice.Status, ")")
	});
}

return new PagedResultDto<TransactionRentalInvoiceLookupTableDto>(
	totalCount,
	lookupTableDtoList
);

Hi,

What I was experiencing is that once I open that specific index page, I get that loading message and it stops there, loads no data. I was able to regenerate the entity and clean the solution and the index now displays the data as it should. However, this was after several attempts.

Showing 111 to 120 of 139 entries