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

Activities of "ramezani583"

my product version is asp.net core & angular(V5.0.4) database is okay.

Hi, Why does this occur in the program when changing language(dropdown list)? While there is no problem in the development environment?

<a class="postlink" href="http://s000.tinyupload.com/?file_id=40881151558947985289">http://s000.tinyupload.com/?file_id=408 ... 8947985289</a>

Hi, I copied the content of published folder, when browse website for Server Side(Web.Host), get this error: "HTTP Error 500.19" error when you open an IIS 7.0 Webpage

My server OS is "Windows Server 2016" My IIS version is 10.0

I separated web site for *.4Web.Host project and Angular project in iis. but i have 2 question: 1- What files should I copy for *.Web.Host project? 2- How do I configure appsettings.json and appconfig.json ? Do you have sample for configuration?

I install successfully "angular-cli" and run "ng build -prod" I copied all files in "dist" folder to root destination folder Now in destination folder has dist files and bin folder ( .\SSoft.ResourceAssessmentsNetwork.All\src\SSoft.ResourceAssessmentsNetwork.Web.Host\bin).

I created web site in target server's IIS and set physical path to destination folder When I set web site port property to 22742 then browse web site, I get this error "Failed to load resource: net::ERR_CONNECTION_REFUSED". And when set web site port property to 4200 then browse web site, I get this error "Failed to load resource: the server responded with a status of 404 (Not Found)".

Database successfully created. Where do I need to execute this command(ng build -prod) ? I run this command in "cmd" and "package manager console" , but is not recognise this command

1- I published server side & client side solution then copy SSoft.ResourceAssessmentsNetwork.Application.5.0.0.nupkg & SSoft.ResourceAssessmentsNetwork.AngularUI.1.0.0.nupkg to "Publish Folder" 2- copy all file in .\SSoft.ResourceAssessmentsNetwork.All\src\SSoft.ResourceAssessmentsNetwork.Web.Host\bin\Release\net461 to "Publish Folder" 3- move "Publish Folder" to target server 4- in target server create web site in IIS
5- set site port to 22742 5- Browse web site

but application not work! I can not load *.migrator.exe and *.migrator.exe.config Do not have a complete document (step by step) to publish the program?

hi, it's work, but i force to change Provinces entity to this:

namespace SSoft.ResourceAssessmentsNetwork.BasicInfo.Provinces { [Table("Provinces", Schema = "cmn")] public class Province : FullAuditedEntity { public const int MaxNameLength = 32; [Required] [MaxLength(MaxNameLength)] public virtual string Name { get; set; } [ForeignKey("CreatorUserId")] public virtual Authorization.Users.User CreatorUserName { get; set; } } }

Did I do the right thing?

Hi, I would like to show the creatorusername in UI If i define " public string CreatorUserName { get; set; }" in EntityListDto is enough? Will object-mapper it automatically do this?

public class ProvinceListDto : EntityDto<long>, IHasCreationTime
    {
        public string Name { get; set; }
        public DateTime CreationTime { get; set; }
        public string CreatorUserName { get; set; }
        public bool IsDeleted { get; set; }
      
    }

public async Task<PagedResultDto<ProvinceListDto>> GetProvinces(GetProvincesInput input)
        {
            var query = _provinceRepository
                .GetAll()
                .WhereIf(
                    !input.Filter.IsNullOrWhiteSpace(),
                    p =>
                        p.Name.Contains(input.Filter)
                );
            var provinceCount = await query.CountAsync();

            var provinces = await query
                .OrderBy(input.Sorting)
                .PageBy(input)
                .ToListAsync();

            var provinceListDtos = ObjectMapper.Map<List<ProvinceListDto>>(provinces);

            return new PagedResultDto<ProvinceListDto>(
                provinceCount,
                provinceListDtos
                );
        }

Hi, How to load all records(with soft deleted rows)?

Showing 21 to 30 of 85 entries