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

Activities of "ashgadala"

Hi support,

When I login into app on desktop browswers there is no problem with the adfs. But, When i login using the mobile client -IPhone or IPad browsers, login fails with no log and just returns to login screen even though the session is valid. fyi.I was able to validate the cookie with the other app.

Can you please help.

Thank you Avi

Hi Support,

I am following this link and got this help from couple of users.

I was able to upgrade to newer version including the UI changes with the approach proposed by brandondjmurphy. I am trying to figure out downstream impacts by taking this approach and looking for an adivse.

Let us know, if you agree with either one of the approaches, infact any other approach from the discussion until streamline the upgrade process of UI. If you dont agree. listing the reason would be a great help me.

Apporach by brandondjmurphy

   `I have a master trunk, which only has the original ASPNET Zero source, and
                then a DEV branch which contains my modifications.

                After each release, download new release, copy over the master branch and
                commit. Then merge the updated master into the DEV branch. This is
                relatively painless and is only a little painful when for example the
                metronic folder structures are changed.

                I think there was a article on the forum covering this and this was the
                suggested method.

                B`

Approach by iamseanduffy

        `We have 2 GIT repositories:

        UPSTREAM : Contains the unmodified product that we download from the ASPNETZERO download page
        ORIGIN : Contains our modified version of ASPNETZERO.
        Repository ORIGIN is a FORK of repository UPSTREAM.

        When a new version of ASPNETZERO is released we:

        Delete ALL files from UPSTREAM.
        Re-download the most recent version of from the ASPNETZERO download page (using the same details as used in the original download)
        Check this version into UPSTREAM.
        Tag the version number.
        GIT Merge changes from UPSTREAM into ORIGIN.`
        

This might not be directly related to ASPNETZERO problem. I appreciate if some one can help.

Support, I got the result that i am expecting with below implementation. Is this the best way to handle it Or Do you recommend a better way ? Appreciate any help.

I was able to successfully implement the GetUserNames() task by following the documentation.

I modified the store procedure to include all columns in the UserlistDTO and would like to return all the columns.

Implementation from documentation

public async Task<List<string>> GetUserNames()
{
    EnsureConnectionOpen();

    using (var command = CreateCommand("GetUsernames", CommandType.storedProcedure))
    {
        using (var dataReader = await command.ExecuteReaderAsync())
        {
            var result = new List<string>();

            while (dataReader.Read())
            {
                result.Add(dataReader["UserName"].ToString());
            }

            return result;
        }
    }
}

My Implementation based on Stackoverflow thread

This stackoverflow Thread case to rescue.

Here is the my UserRepository.

public async Task&lt;IEnumerable&lt;object&gt;> GetUserNamesarray()
   {
              using (var command = CreateCommand("GetUsernames", CommandType.StoredProcedure))
        {
            using (var dataReader = await command.ExecuteReaderAsync())
            {
                var retObject = new List&lt;dynamic&gt;();
                while (await dataReader.ReadAsync())
                {
                    var dataRow = new ExpandoObject() as IDictionary&lt;string, object&gt;;
                    for (var iFiled = 0; iFiled < dataReader.FieldCount; iFiled++)
                    {
                            dataRow.Add(
                            dataReader.GetName(iFiled),
                            dataReader.IsDBNull(iFiled) ? null : dataReader[iFiled] // use null instead of {}
                        );
                    }

                    retObject.Add((ExpandoObject)dataRow);
                }

                return retObject;
            }
        }
    }
Question

I am using below link to create feature but from the attribute section, Application is throwing an error.

<a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Feature-Management">https://aspnetboilerplate.com/Pages/Doc ... Management</a>

I tried using the Chatfeature as a guide but it is not working for me. Is there any template that is available that has end to end feature implementation or a step by step guide?

Just wanted to begin the discussion on Razor Pages in ASP.NET Core version implementation.

<a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start?view=aspnetcore-2.1">https://docs.microsoft.com/en-us/aspnet ... etcore-2.1</a>

Also created github issue

I bet you guys are on top of this. Can you please let us know if this is impacting ASPNET zero and the possible resolution.

<a class="postlink" href="https://visualstudiomagazine.com/articles/2018/07/13/security-updates.aspx">https://visualstudiomagazine.com/articl ... dates.aspx</a>

I downloaded the latest version 5.5.2 core - JQuery and the runs successfully.

I started adding the entities using the RAD tool. The entity is created successfully and project builds successfully and when i run the everything loads successful and i am able to store the data into the table using the create button. I see the data in the database as well using the SSMS.

But the issues is, when i navigate to the View it does not return any data. all the columns are blank and data table error is thrown.

Here is the error: DataTables warning: table id=xxxx - Requested unknown parameter 'table.column' for row 0, column 1. For more information about this error, please see <a class="postlink" href="http://datatables.net/tn/4">http://datatables.net/tn/4</a>

FYI. in 5.4 version i did not have issues for the same entity type.

I know that issue is not with the datatables ,but the service is returning no data. I am not sure why this is. Can you please help.

I was testing WsFederation service.

Every thing works well as expected. But if we disable the user activation up on sign up. Once successfully registered. If the user tries to relogin before activating the account. Instead of the application throwing a message that account is still inactive it throws an exception "An unhandled exception occurred while processing the request. UserFriendlyException: Login failed! " at 711.

Not sure if this expected or if you were planning a message with account still inactive message. :?:

If this a bug i can report it on Git hub let me know.

default: throw _abpLoginResultTypeHelper.CreateExceptionForFailedLoginAttempt( loginResult.Result, externalLoginInfo.Principal.FindFirstValue(ClaimTypes.Email) ?? externalLoginInfo.ProviderKey, tenancyName ); }

Hi,

I noticed that you are md5'ing the username when the user register through the external login . Is there a reason why you are doing this ?

line 419 in account controller. model.UserName = model.EmailAddress.ToMd5();

Hi support,

I downloaded 5.5 version and upgraded the xamarin packages.

That said, Build was successful and upon trying to login the page redirects me to the login page <a class="postlink" href="http://localhost:62114/Account/Login">http://localhost:62114/Account/Login</a> and on the screen is below. UI is not loading

{"result":null,"targetUrl":"/Account/ResetPassword?UserId=1&ResetCode=E8582xx47F&ReturnUrl=%2FApp","success":true,"error":null,"unAuthorizedRequest":false,"__abp":true}

It looks like the default user is successfully logged in. Is there any thing that i need to load back the UI instead of Json.

Showing 11 to 20 of 23 entries