Base solution for your next web application

Activities of "xitix"

Hello mr. Maliming,

Thanks for your support , Now i have installed suggested sdk . ie. net core 2.2.x SDK

On browser the error is same 'HTTP Error 502.5 ' On VIsual studio error is different.
Now its giving different error :

Kindly help. If possible, help by remote.

Project type : Asp.net Core +Angular [v. 7.0]

???

Is there any method to check user has logged out and new user logged in from angular , Acutally i want to remove local storage or session based on user login/logout.

Project Type : Aspnet.Core + Angular [Lates v.7.0]

Thanks

    public JObject repo_GetListOFAssetDash(int ZoneID, int AssetID, int AssetType, string LocationStatus, string ServiceStatus, string Status, int RetailerID, int DNNUserID, string Area, int PageNumber, int PageSize)
    {

        //LocationStatus = "";
        ServiceStatus = "";
        //Status = "";
        Area = "0";

        SqlConnection connection = null;
        //if (_session.UserId == 6 || _session.UserId == 8)
        //{
        //    connection = EnsureConnectionOpen_Frigo();
        //}
        //else
        //{
        //    connection = EnsureConnectionOpen_TNT();
        //}

        connection = EnsureConnOpen_ByTenantId(getTenantId());

        JObject result = new JObject();

        SqlCommand cmd = new SqlCommand();
        cmd.Connection = connection;
        cmd.CommandType = CommandType.StoredProcedure;
        cmd.CommandText = "usp_NG_Dashboard_Pagination_New1";

        cmd.Parameters.AddWithValue("@ZoneID", ZoneID);
        cmd.Parameters.AddWithValue("@AssetID", AssetID);
        cmd.Parameters.AddWithValue("@AssetType", AssetType);
        cmd.Parameters.AddWithValue("@LocationStatus", LocationStatus);
        cmd.Parameters.AddWithValue("@ServiceStatus", ServiceStatus);
        cmd.Parameters.AddWithValue("@Status", Status);
        cmd.Parameters.AddWithValue("@RetailerID", RetailerID);
        cmd.Parameters.AddWithValue("@DNNUserID", DNNUserID);
        cmd.Parameters.AddWithValue("@Area", Area);
        cmd.Parameters.AddWithValue("@PageNumber", PageNumber);
        cmd.Parameters.AddWithValue("@PageSize", PageSize);

        SqlDataAdapter adp = new SqlDataAdapter(cmd);
        DataSet ds = new DataSet();
        adp.Fill(ds);

        result = DataSetToJSon.WriteJson(ds, "ListOfAssets");

        cmd.Dispose();
        connection.Dispose();
        connection.Close();

        return result;

    }

Select * from AbpTenants where Id = 5

I want to get and use connection string in EntityFramework repository class from AbpTenant table from database.

NEED SAMPLE CODE

Problem is: when I am giving "Users", and "Roles" permission to the client side admin user. Then he is able to see settings pages as well.

He is able to see all pages on Permission modal and able to edit it also. [see image]

But He should see like this[See Image]

Showing 11 to 20 of 80 entries