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

Activities of "mahendra"

Hi,

  1. How to implement webhook in stripe payment subscription.
  2. How to create EndPoint URL in webhook . 3)Transaction have success requested with stripe but payment status return false always .
Answer

I always gets the 404 on the above URL. I am already signed with cxs-mahendra

Question

Hi there,

I am trying to import users from excel, but I am getting the below error: I am using ASPNetZero Version 8.0 with Angular.

POST http://localhost:22742/Users/ImportFromExcel 401 (Unauthorized)

Please assist...

Regards, Mahendra

Hi,

Which code do you require ? Page code where password control textbox is or the JS code where I am getting the error.

Basically, I am looking if my Attribute defined and attached to C# DTO should get converted to decorators in client code....

Hi there,

I have a Dto. on it's property, I have set a custom attribute like below

`public class CreateOrUpdateProductDto : iVendBaseDto { public string EntityId { get; set; }

    [AllowedExcelOperation(true, false)]
    public string Description { get; set; }
    .....
    .....`
    

Now in angular when I run the refresh.bat, I am not getting these attributes in the proxies being generated. See below:

export class CreateOrUpdateProductDto implements ICreateOrUpdateProductDto { entityId!: string | undefined; description!: string | undefined; ....... ....... . Am I doing something wrong here, or the attributes never get translated to proxies. If it never gets translated, then could you please let me know what is the best option to get the attribute defined in server side (like on a dto) to client side.

Question

Hi,

In AppService I am doing the following steps

  1. Start UOW
  2. First Insert using InsertAsync
  3. Second Insert using InsertAsync
  4. a SP called using _dbContextProvider.GetDbContext().Database.ExecuteSqlRawAsync(sqlQuery);
  5. and finally UOW SaveChanges.

Now if a see the SQL profiler, the query (essentially a SP) that I am executing in step 4 gets executed first instead of last. What mistake I am doing and how can I ensure the execution sequentially. Essentially, on the 4th step, I am trying to execute a stored procedure but this procedure should be executed only after step2 and step3 and all the three steps in a single transaction.

Please help....

Hi, I have done that and issue is resolved. I am getting another error in jquery.validate.js

settings = $.data( element.form, "validator" ).settings

I am getting my form input in elemet.form but $.data( element.form, "validator" ).settings is giving me undefined.

Can you please help.

Hi @maliming,

Yes my javascript code is executed before common-scripts.js

Hi,

I am using using Asp.Net core with JQuery. I am trying to implement password complexity on one of my textbox. I have below code in my my .cshtml

<script>
        $(document).ready(function () {
            var _passwordComplexityHelper = new app.PasswordComplexityHelper();
        });
    </script>

I am getting the below error when the page is rendered.

Showing 171 to 180 of 203 entries