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

Activities of "ramezani583"

Hi, I am trying to use Android platform to test the Project (sample development step by step Mobile (Xamarin)- https://aspnetzero.com/Documents/Develo ... ep-Xamarin), in this regard, when I want to run my sample, After launch Android Emulator(print screen Attached file) when Press F5 in solution, the visual studio messages that Deploy are Failed, although Error List is empty!

How to inject IAsyncQueryableExecuter and do?

hi, i can not change GetProvinces(same as getpeople method in step by step developing) to async!

when i changing "private readonly IRepository<Province.Province> _provinceRepository" to "private readonly IRepository<Province> _provinceRepository" i have error in build

and when changing "private readonly IRepository<Province> _provinceRepository" to "private readonly IRepository<Province.Province> _provinceRepository"

GetProvinces method have error!

--

List<Province>' does not contain a definition for 'GetAwaiter' and no extension method 'GetAwaiter' accepting a first argument of type 'List<Province>' could be found (are you missing a using directive or an assembly reference?)

public interface IProvinceAppService : IApplicationService { Task <ListResultDto<ProvinceListDto>> GetProvinces(GetProvincesInput input); Task CreateProvince(CreateProvinceInput input); Task DeleteProvince(EntityDto input); }


namespace SSoft.ResourceAssessmentsNetwork.BasicInfo.Provinces { [AbpAuthorize(AppPermissions.Pages_BasicInfo_Province)] public class ProvinceAppService : ResourceAssessmentsNetworkAppServiceBase, IProvinceAppService {

    private readonly IRepository&lt;Province.Province&gt; _provinceRepository;

    public ProvinceAppService(IRepository&lt;Province.Province&gt; provinceRepository)
    {
        _provinceRepository = provinceRepository;
    }
  
    [AbpAuthorize(AppPermissions.Pages_BasicInfo_Province_CreateProvince)]
    public async Task CreateProvince(CreateProvinceInput input)
    {
        var province = ObjectMapper.Map&lt;Province.Province&gt;(input);
        await _provinceRepository.InsertAsync(province);
    }
    [AbpAuthorize(AppPermissions.Pages_BasicInfo_Province_DeleteProvince)]
    public async Task DeleteProvince(EntityDto input)
    {
        await _provinceRepository.DeleteAsync(input.Id);
    }
  
    public async Task&lt;ListResultDto&lt;ProvinceListDto&gt;> GetProvinces(GetProvincesInput input)
    {
       var provinces = await _provinceRepository
            .GetAll()
            .WhereIf(
                !input.Filter.IsNullOrEmpty(),
                p => p.Name.Contains(input.Filter) 
            )
            .OrderBy(p => p.Name)
            .ToList();
        return new ListResultDto&lt;ProvinceListDto&gt;(provinces.MapTo&lt;List&lt;ProvinceListDto&gt;>());
    }
}

}

It's Solved.

hi, i want add new entity(province) same as Person I'm following the Development-Step-by-Step-Angular page, but I catch this error. i send client side code on "main.rar" file please check my code and tell me where I'm wrong.

no problem don't solve!

hi, I have the latest version! The problem was not that code I have transferred the solution to Microsoft TFS The root folder of the solution is in accordance with the attached image.

hi, my project type isASP.NET Core & Angular (V5.0.4)

Add-Migration "Added_Provinces_Table"

System.Exception: Could not find content root folder! at SSoft.ResourceAssessmentsNetwork.Web.WebContentDirectoryFinder.CalculateContentRootFolder() at SSoft.ResourceAssessmentsNetwork.EntityFrameworkCore.ResourceAssessmentsNetworkDbContextFactory.CreateDbContext(String[] args) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContextFromFactory(Type factory) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.<>c__DisplayClass14_0.<FindContextFactory>b__1() at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func1 factory) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType) at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_1.<.ctor>b__0() at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_01.<Execute>b__0() at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action) Could not find content root folder!

Question

hi, i set SMTP host to smtp.gmail.com & SMTP port to 465 & Use SSL for test Emai,l but give an error!

Should I set the "static class EmailSettingNames"? Where should I set thesender password?

no, How do i do it؟

Showing 41 to 50 of 85 entries