Base solution for your next web application

Activities of "huntethan89"

Hi, i am looking into <a class="postlink" href="https://www.aspnetzero.com/Documents/Developing-Step-By-Step-MPA#authorization-for-phone-book">https://www.aspnetzero.com/Documents/De ... phone-book</a> this link to add authorization for page. i have added same as described in documnet but the permission is not showing in permission tree. what is the possible reason behind this issue.

code added in AppAuthorizationProvider.cs

var phoneBook = pages.CreateChildPermission(AppPermissions.Pages_Tenant_PhoneBook, L("PhoneBook"), multiTenancySides: MultiTenancySides.Tenant); phoneBook.CreateChildPermission(AppPermissions.Pages_Tenant_PhoneBook_CreatePerson, L("CreateNewPerson"), multiTenancySides: MultiTenancySides.Tenant);

In AppPermissions class.cs

public const string Pages_Tenant_PhoneBook = "Pages.Tenant.PhoneBook";

Thanks Himanshu sharma

Question

Hi, I have sent you my github Username, but still permission is pending from your side. Please grant me permission so that i can process further with my project.

Thanks Himanshu sharma

Question

Hi, My github username is "hsharma89". i have recieved email from your side that i am invited to private repository. but when i try to download it shows error that this page doesn't exists. This is the link i am trying to access.

<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/releases/download/v1.10.0/metronic-v4.5.6.zip">https://github.com/aspnetzero/aspnet-ze ... v4.5.6.zip</a>

Thanks Himanshu sharma

Answer

Hi, Yes, now i got the mail and able to access pages.

Thanks Himanshu sharma

Question

Hi, I am working with ASPNET zero application. I have a full source code. i want full detailed features document which helps me to understand the process and all features of project. Please provide some document for this.

Thanks

Question

Hi,

I want to show data in jtable from database but not able to view data. i am able to retreive data from database but not able to show on browser, It stuck at loading bar.

i want to know what parameters we need to pass when calling the load method of jtable.

Thanks

Answer

Hi, It is showing loading image constantly, not showing the data from database.

code is as below:-

this is Index.js file code. to load data in grid.


var _$FileTable = $('#FileTable'); // div where we add the grid.

_$FileTable.jtable({ title: app.localize('File Tracking'),

        actions: {
            listAction: {
                method: _fileService.GetFiles
            }
        },

        fields: {
            id: {
                key: true,
                list: false
            },
            actions: {
                title: app.localize('Actions'),
                width: '30%',
                display: function (data) {
                    var $span = $('&lt;span&gt;&lt;/span&gt;');

                    if (_permissions.edit) {
                        $('&lt;button class=&quot;btn btn-default btn-xs&quot; title=&quot;&#39; + app.localize(&#39;Edit&#39;) + &#39;&quot;&gt;&lt;i class=&quot;fa fa-edit&quot;&gt;&lt;/i&gt;&lt;/button&gt;')
                            .appendTo($span)
                            .click(function () {
                                _createOrEditModal.open({ id: data.record.id });
                            });
                    }

                    if (!data.record.isStatic && _permissions.delete) {
                        $('&lt;button class=&quot;btn btn-default btn-xs&quot; title=&quot;&#39; + app.localize(&#39;Delete&#39;) + &#39;&quot;&gt;&lt;i class=&quot;fa fa-trash-o&quot;&gt;&lt;/i&gt;&lt;/button&gt;')
                            .appendTo($span)
                            .click(function () {
                                deleteRole(data.record);
                            });
                    }

                    return $span;
                }
            },
            displayName: {
                title: app.localize('FileName'),
                width: '35%',
                display: function (data) {
                    var $span = $('&lt;span&gt;&lt;/span&gt;');

                    $span.append(data.record.FileName + " &nbsp; ");

                    return $span;
                }
            },
            creationTime: {
                title: app.localize('CreationTime'),
                width: '35%',
                display: function (data) {
                    return moment(data.record.CreateDate).format('L');
                }
            }
        }
    });

function getRoles() { _$FileTable.jtable('load'); }

    getRoles();

FiletrackingAppservice.cs ( this is i am using to retireve data from database)

public ListResultDto<FileListDto> GetFiles(GetFileTrack input) { var files = _fileRepository .GetAll() .Include(p => p.User) .WhereIf( !input.Filter.IsNullOrEmpty(), p => p.FileName.Contains(input.Filter) || p.FilePath.Contains(input.Filter) || p.File_Status.Contains(input.Filter) ) .OrderBy(p => p.FileName) .ThenBy(p=>p.File_Status) .ToList();

        return new ListResultDto&lt;FileListDto&gt;(files.MapTo&lt;List&lt;FileListDto&gt;>());

    }

Thanks

Answer

Hi, Yes i have seen this document. Is there any other document related to code description and all features.

Thanks

Question

Hi, What should we needed to implement LDAP integration. i have done what is written in this link : <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide#enabling-ldap-active-directory-authentication">https://www.aspnetzero.com/Documents/De ... entication</a> , but in settings -> user management it shows only email confirmation option. i am attaching screenshot with this. Please tell me what are other things i need to done to implement LDAP.

Question

Hi, I have disabled multi tenancy option and login on browser with default admin user. It is logged in successfully. Now i go to User page :- <a class="postlink" href="http://localhost:6240/Mpa/Users">http://localhost:6240/Mpa/Users</a> .

After that i copy this URL (<a class="postlink" href="http://localhost:6240/Mpa/Users">http://localhost:6240/Mpa/Users</a> ) on other browser. Then my application crashes. But it should take me to the login page. i am attaching screenshot of crashed page.

Thanks

Showing 1 to 10 of 186 entries