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

Activities of "drutter1954"

Is there no one that can provide assistance on this??

Both of those files are generated from AspNetZero's framework. Can you please fix it in the generation process? I have fixed it in my local code. Thanks for finding it.

How did you resolve the errors?? The items that are unresolved are the classes that are part of the base framework. That is the issue that I have been fighting and do not know how to get them resolved.

Good morning. I sent you the link to my solution last week. Have you received the solution and have you gotten it to work? Can you please update me on your progress?

I changed the method to a PostAsync but that doesn't make any difference because it never even gets to the call.

I am getting errors in the compile stating that several of the classes in the Core.Shared project are not able to be resolved. Also when I attempt to debug the app, I get messages that the proxies source files cannot be found. There is something wrong with the environment, solution or something that I cannot find the cause for.

Again even starting from scratch I cannot add in anything that resolves at runtime. IF you can tell me how to share my project with you I will be glad to do so. I have used your framework in the past and been happy with the results. This time I am at my wits end trying to get the simplest things to work.

using Abp.Application.Services.Dto; using simul_bcfo.Dto; using simul_bcfo.Expenses.Dtos; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks;

namespace simul_bcfo.Expenses { public class ProxyExpensesAppService : ProxyAppServiceBase, IExpensesAppService { public async Task CreateOrEdit(CreateOrEditExpenseDto input) { await ApiClient.PostAsync(GetEndpoint(nameof(CreateOrEdit)), input); }

    public async Task Delete(EntityDto<Guid> input)
    {
        await ApiClient.DeleteAsync(GetEndpoint(nameof(Delete)), input);
    }

    public async Task<PagedResultDto<GetExpenseForViewDto>> GetActiveForPatient(GetAllExpensesInput input)
    {
        return await ApiClient.GetAsync<PagedResultDto<GetExpenseForViewDto>>(GetEndpoint(nameof(GetActiveForPatient)), input);
    }

    public async Task<PagedResultDto<GetExpenseForViewDto>> GetActiveForUser()
    {
        return await ApiClient.GetAsync<PagedResultDto<GetExpenseForViewDto>>(GetEndpoint(nameof(GetActiveForUser)));
    }

    public async Task<PagedResultDto<GetExpenseForViewDto>> GetAll(GetAllExpensesInput input)
    {
        return await ApiClient.GetAsync<PagedResultDto<GetExpenseForViewDto>>(GetEndpoint(nameof(GetAll)), input);
    }

    public async Task<List<ExpenseCareEventLookupTableDto>> GetAllCareEventForTableDropdown()
    {
        return await ApiClient.GetAsync<List<ExpenseCareEventLookupTableDto>>(GetEndpoint(nameof(GetAllCareEventForTableDropdown)));
    }

    public async Task<List<ExpenseExpenseTypeLookupTableDto>> GetAllExpenseTypeForTableDropdown()
    {
        return await ApiClient.GetAsync<List<ExpenseExpenseTypeLookupTableDto>>(GetEndpoint(nameof(GetAllExpenseTypeForTableDropdown)));
    }

    public async Task<PagedResultDto<ExpensePatientLookupTableDto>> GetAllPatientForLookupTable(GetAllForLookupTableInput input)
    {
        return await ApiClient.GetAsync<PagedResultDto<ExpensePatientLookupTableDto>>(GetEndpoint(nameof(GetAllPatientForLookupTable)), input);
    }

    public async Task<PagedResultDto<ExpensePayeeLookupTableDto>> GetAllPayeeForLookupTable(GetAllForLookupTableInput input)
    {
        return await ApiClient.GetAsync<PagedResultDto<ExpensePayeeLookupTableDto>>(GetEndpoint(nameof(GetAllPayeeForLookupTable)), input);
    }

    public async Task<List<ExpensePaymentMethodLookupTableDto>> GetAllPaymentMethodForTableDropdown()
    {
        return await ApiClient.GetAsync<List<ExpensePaymentMethodLookupTableDto>>(GetEndpoint(nameof(GetAllPaymentMethodForTableDropdown)));
    }

    public async Task<PagedResultDto<ExpenseUserLookupTableDto>> GetAllUserForLookupTable(GetAllForLookupTableInput input)
    {
        return await ApiClient.GetAsync<PagedResultDto<ExpenseUserLookupTableDto>>(GetEndpoint(nameof(GetAllUserForLookupTable)), input);
    }

    public async Task<GetExpenseForEditOutput> GetExpenseForEdit(EntityDto<Guid> input)
    {
        return await ApiClient.GetAsync<GetExpenseForEditOutput>(GetEndpoint(nameof(GetExpenseForEdit)), input);
    }

    public async Task<GetExpenseForViewDto> GetExpenseForView(Guid id)
    {
        return await ApiClient.GetAsync<GetExpenseForViewDto>(GetEndpoint(nameof(GetExpenseForView)), id);
    }

    public async Task<FileDto> GetExpensesToExcel(GetAllExpensesForExcelInput input)
    {
        return await ApiClient.GetAsync<FileDto>(GetEndpoint(nameof(GetExpensesToExcel)), input);
    }

    public async Task RemoveImage1File(EntityDto<Guid> input)
    {
        await ApiClient.PostAsync(GetEndpoint(nameof(RemoveImage1File)), input);
    }

    public async Task RemoveImage2File(EntityDto<Guid> input)
    {
        await ApiClient.PostAsync(GetEndpoint(nameof(RemoveImage2File)), input);
    }

    public async Task RemoveImage3File(EntityDto<Guid> input)
    {
        await ApiClient.PostAsync(GetEndpoint(nameof(RemoveImage3File)), input);
    }
}

}

using System; using System.Threading.Tasks; using Abp.Application.Services; using Abp.Application.Services.Dto; using simul_bcfo.Expenses.Dtos; using simul_bcfo.Dto; using System.Collections.Generic;

namespace simul_bcfo.Expenses { public interface IExpensesAppService : IApplicationService { Task<PagedResultDto<GetExpenseForViewDto>> GetActiveForUser(); Task<PagedResultDto<GetExpenseForViewDto>> GetActiveForPatient(GetAllExpensesInput input); Task<PagedResultDto<GetExpenseForViewDto>> GetAll(GetAllExpensesInput input);

    Task&lt;GetExpenseForViewDto&gt; GetExpenseForView(Guid id);

    Task&lt;GetExpenseForEditOutput&gt; GetExpenseForEdit(EntityDto&lt;Guid&gt; input);

    Task CreateOrEdit(CreateOrEditExpenseDto input);

    Task Delete(EntityDto&lt;Guid&gt; input);

    Task&lt;FileDto&gt; GetExpensesToExcel(GetAllExpensesForExcelInput input);

    Task&lt;PagedResultDto&lt;ExpensePayeeLookupTableDto&gt;> GetAllPayeeForLookupTable(GetAllForLookupTableInput input);

    Task&lt;List&lt;ExpenseExpenseTypeLookupTableDto&gt;> GetAllExpenseTypeForTableDropdown();

    Task&lt;List&lt;ExpensePaymentMethodLookupTableDto&gt;> GetAllPaymentMethodForTableDropdown();

    Task&lt;PagedResultDto&lt;ExpensePatientLookupTableDto&gt;> GetAllPatientForLookupTable(GetAllForLookupTableInput input);

    Task&lt;List&lt;ExpenseCareEventLookupTableDto&gt;> GetAllCareEventForTableDropdown();

    Task&lt;PagedResultDto&lt;ExpenseUserLookupTableDto&gt;> GetAllUserForLookupTable(GetAllForLookupTableInput input);

    Task RemoveImage1File(EntityDto&lt;Guid&gt; input);

    Task RemoveImage2File(EntityDto&lt;Guid&gt; input);

    Task RemoveImage3File(EntityDto&lt;Guid&gt; input);

}

}

using Microsoft.AspNetCore.Components.Web.Virtualization; //using simul_bcfo.CareEvents; using simul_bcfo.Core.Dependency; using simul_bcfo.Core.Threading; using simul_bcfo.Expenses; using simul_bcfo.Expenses.Dtos; using simul_bcfo.Mobile.MAUI.Models.Expenses; using simul_bcfo.Mobile.MAUI.Shared; using simul_bcfo.Services.Navigation; //using Volo.Abp.Users;

namespace simul_bcfo.Mobile.MAUI.Pages.Expenses { public partial class Index : simul_bcfoMainLayoutPageComponentBase { protected INavigationService navigationService { get; set; } protected IExpensesAppService _expensesAppService { get; set; } //protected ICareEventsAppService _careEventsAppService { get; set; } protected List<ExpenseListModel> pendingExpenses = new List<ExpenseListModel>(); protected List<ExpenseListModel> approvedExpenses = new List<ExpenseListModel>(); protected List<ExpenseListModel> deniedExpenses = new List<ExpenseListModel>();

    private AddExpenseModal addExpenseModal { get; set; }
    private string showPending = "";
    private string showApproved = "hidden";
    private string showDenied = "hidden";

    public Index()
    {
        try
        {
            _expensesAppService = DependencyResolver.Resolve&lt;IExpensesAppService&gt;();
            navigationService = DependencyResolver.Resolve&lt;INavigationService&gt;();
        }
        catch(Exception ex)
        {
            Console.WriteLine(ex.Message);
        }
    }

    protected override async Task OnInitializedAsync()
    {
        await SetPageHeader(L("Expenses"));
        //await GetCareEventInfo();
        await GetList();
    }


    private async Task GetList()
    {
        await SetBusyAsync(async () =>
        {
            await WebRequestExecuter.Execute(
                async () => await _expensesAppService.GetActiveForUser(),
                (result) =>
                {
                    pendingExpenses.Clear();
                    approvedExpenses.Clear();
                    deniedExpenses.Clear();
                    foreach (var exp in result.Items)
                    {
                        if (exp.Expense.ApprovalStatus == Enums.CareEventStatuses.Pending)
                        {
                            ExpenseListModel expense = new ExpenseListModel()
                            {
                                Amount = exp.Expense.Amount,
                                Payee = exp.Expense.Payee,
                                ExpenseType = exp.Expense.ExpenseType,
                                ReceivedDate = exp.Expense.ReceivedDate
                            };
                            pendingExpenses.Add(expense);
                        }
                        else if (exp.Expense.ApprovalStatus == Enums.CareEventStatuses.Approved)
                        {
                            ExpenseListModel expense = new ExpenseListModel()
                            {
                                Amount = exp.Expense.Amount,
                                Payee = exp.Expense.Payee,
                                ExpenseType = exp.Expense.ExpenseType,
                                ReceivedDate = exp.Expense.ReceivedDate
                            };
                            approvedExpenses.Add(expense);
                        }
                        else
                        {
                            ExpenseListModel expense = new ExpenseListModel()
                            {
                                Amount = exp.Expense.Amount,
                                Payee = exp.Expense.Payee,
                                ExpenseType = exp.Expense.ExpenseType,
                                ReceivedDate = exp.Expense.ReceivedDate
                            };
                            deniedExpenses.Add(expense);
                        }
                    }
                    return Task.CompletedTask;
                });
        });
    }
}

}

using System; using Abp.AutoMapper; using simul_bcfo.Expenses.Dtos;

namespace simul_bcfo.Mobile.MAUI.Models.Expenses { [AutoMapFrom(typeof(ExpenseDto))] public class ExpenseListModel : ExpenseDto { public ExpenseListModel() { } public string AmountAsString { get { return Amount.ToString("$#,##0.00"); } } } } using simul_bcfo.Enums;

using System; using Abp.Application.Services.Dto; using Abp.Domain.Entities;

namespace simul_bcfo.Expenses.Dtos { public class ExpenseDto : EntityDto<Guid> { public decimal Amount { get; set; }

    public DateTime ReceivedDate { get; set; }

    public string CheckNumber { get; set; }

    public string ConfirmationNumber { get; set; }

    public string PaymentSequence { get; set; }

    public CareEventStatuses ApprovalStatus { get; set; }

    public string Note { get; set; }

    public Guid? PayeeId { get; set; }

    public Guid? ExpenseTypeId { get; set; }

    public Guid? PaymentMethodId { get; set; }

    public Guid PatientId { get; set; }

    public Guid CareEventId { get; set; }

    public long? SubmitterId { get; set; }

    public string CareEventTitle { get; set; }
    public string Payee { get; set; }
    public string ExpenseType { get; set; }
}

}

Here are the classes I added.

I tried it with JetBrains Rider and got the same result.

I have done that a couple times. The latest trial was on a brand new download of the base solution and just adding in the proxy and one page as a test. The app never goes to the page and just hangs after the constructor for the page. Nothing is working in my code.

I downloaded the starter project again from your website and added my proxy for Expenses into it, add the supporting files in the various projects (dto's and other needed files), added the page and the menu item to access it and it never hits the proxy. Is there some type of registration that has to happen for the proxy to work that I am missing??

Again, the proxy is never hit. I've restarted Visual Studio and ensured that all applicable patches have been installed. For some reason it doesn't appear to know about the proxy service. Confused and dazed.

Showing 1 to 10 of 18 entries