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

Activities of "muhittincelik"

Hi i created an entity and i can not click create, update and get datatable . SQLHost is entity name.

Console message is ;

index.js:3 jQuery.Deferred exception: Cannot read property 'getAll' of undefined TypeError: Cannot read property 'getAll' of undefined at HTMLDocument.<anonymous> (http://localhost:62114/view-resources/Areas/App/Views/SQLHosts/Index.js?v=NIbZ1rDJ5Biu__J4xSvkjRSicpHf_JmYsWGsyNSjmtQ:41:48) at mightThrow (http://localhost:62114/view-resources/Areas/App/Views/_Bundles/app-layout-libs.js?v=n3qVpC5qgi69sNBAtpB8JlDvlgqCfhO9A6tO3EBvioM:4017:29) at process (http://localhost:62114/view-resources/Areas/App/Views/_Bundles/app-layout-libs.js?v=n3qVpC5qgi69sNBAtpB8JlDvlgqCfhO9A6tO3EBvioM:4085:12) undefined

And In Application Project 

public async Task&lt;PagedResultDto&lt;GetSQLHostForView&gt;> GetAll(GetAllSQLHostsInput input)
     {

Hi

I can not go down at DropDownList at USerList Page Filter screen. List size is not enough and not scroolling the bottom of list.

Question

Hi,

Can you show me an api post example for your ConsoleApiClient application.

For example : /api/services/app/User/CreateOrUpdateUser

Thanks

Hi

Our web mvc project running and we can login.

But we can not authenticate from api client, we got invalid_grant , invalid_user_or_password error.

But username and password are correct, client id correct, address correct.

Do you have any idea ?

Muhittin

Question

Hi,

When i ran my project on local computer, after login process i got json result as text.

I can not view dashboard.

Muhittin

Question

Hi,

I want to create an input form which includes combobox (combobox gets data from another table).

I tried to write code but failed.

Is there any example code ?

[Table("Stage_SQLHosts")] public class Stage_SQLHost : FullAuditedEntity<Guid> , IMayHaveTenant { public int? TenantId { get; set; }

	[Required]
	[StringLength(Stage_SQLHostConsts.MaxHostnameLength, MinimumLength = Stage_SQLHostConsts.MinHostnameLength)]
	public virtual string Hostname { get; set; }
	
	public virtual bool Track { get; set; }

    public virtual InputSource InputSource { get; set; }

}

[Table("tbl_InputSources")] public class InputSource : FullAuditedEntity<Guid> , IMayHaveTenant {

    public int? TenantId { get; set; }


	[Required]
	[StringLength(InputSourceConsts.MaxNameLength, MinimumLength = InputSourceConsts.MinNameLength)]
	public virtual string Name { get; set; }
	

}

Hi,

I have a problem with list datas which have lookup records.

I have 2 table like below;

[Table("Stage_SQLHosts")] public class Stage_SQLHost : FullAuditedEntity<Guid> , IMayHaveTenant { public int? TenantId { get; set; }

	[Required]
	[StringLength(Stage_SQLHostConsts.MaxHostnameLength, MinimumLength = Stage_SQLHostConsts.MinHostnameLength)]
	public virtual string Hostname { get; set; }
	
	public virtual bool Track { get; set; }

    public virtual InputSource InputSource { get; set; }

}

AND

[Table("tbl_InputSources")] public class InputSource : FullAuditedEntity<Guid> , IMayHaveTenant {

    public int? TenantId { get; set; }


	[Required]
	[StringLength(InputSourceConsts.MaxNameLength, MinimumLength = InputSourceConsts.MinNameLength)]
	public virtual string Name { get; set; }
	

}

I have a Stage_SQLHostsAppService like below;

[AbpAuthorize(AppPermissions.Pages_Stage_SQLHosts)] public class Stage_SQLHostsAppService : SmartAppServiceBase, IStage_SQLHostsAppService { private readonly IRepository<Stage_SQLHost, Guid> _stage_SQLHostRepository; private readonly IRepository<InputSource, Guid> _stage_InputSourceRepository;

    public Stage_SQLHostsAppService(IRepository&lt;Stage_SQLHost, Guid&gt; stage_SQLHostRepository, IRepository&lt;InputSource, Guid&gt; stage_InputSourceRepository) 
	  {
		_stage_SQLHostRepository = stage_SQLHostRepository;
        _stage_InputSourceRepository = stage_InputSourceRepository;
    }

public async Task<PagedResultDto<GetAllStage_SQLHostsOutput>> GetAll(GetAllStage_SQLHostsInput input) { var query = (from o in _stage_SQLHostRepository.GetAll() join iso in _stage_InputSourceRepository.GetAll() on o.InputSource.Id equals iso.Id select new GetAllStage_SQLHostsOutput() { Stage_SQLHost = ObjectMapper.Map<Stage_SQLHostDto>(o), InputSource=iso.Name

					 })
					 .WhereIf(
						!string.IsNullOrWhiteSpace(input.Filter),
					    e => false  || e.Stage_SQLHost.Hostname.Contains(input.Filter)
						);

        var totalCount = await query.CountAsync();

        var stage_SQLHosts = await query
            .OrderBy(input.Sorting ?? "stage_SQLHost.id asc")
            .PageBy(input)
            .ToListAsync();

        return new PagedResultDto&lt;GetAllStage_SQLHostsOutput&gt;(
            totalCount,
            stage_SQLHosts
        );
     }

}

OUTPUT is;

public class GetAllStage_SQLHostsOutput { public Stage_SQLHostDto Stage_SQLHost { get; set; }

    public virtual string InputSource { get; set; }


}

My index.js is;

I got the unknown parameter error for InputSource column. Can you help me ofr resolution

{ targets: 1, data: "stage_SQLHost.hostname"
}, { targets: 2, data: "stage_SQLHost.InputSource" }, { targets: 3,

Question

Hi,

I downloaded my solution but i got the following erros when i build my solution;

Failed to run "D:\Projeler\Smart\src\Smart.Web.Mvc\Gulpfile.js"... cmd.exe /c gulp --tasks-simple 'gulp' is not recognized as an internal or external command, operable program or batch file.

and

Severity Code Description Project File Line Suppression State Warning MSB3245 Could not resolve this reference. Could not locate the assembly "System.ComponentModel.DataAnnotations". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Smart.Core.Shared C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 2041

Showing 21 to 28 of 28 entries