Base solution for your next web application

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 .
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 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 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.

I have download new code with Asp.net core MVC + Jquery and bulid in VS19. But getting some error in broswer . plz look in image .

One more issue don't have find libman.json and Restore Client-Side Libraries. have falid .

dotnet tool install -g Microsoft.Web.LibraryManager.CLI

Question

Hi,

We are using ASPNetZero 8.0 with Angular and .Net Core. When we enables the chat feature, it works well at localhost. But when we deploy the server and the client at Azure (as a WebApp), we are getting following CORS error in chat.

"The Same Origin Policy disallows reading the remote resource at http://ivendretail-server.azurewebsites.net//signalr-chat/ne…J7JkmqGyBT%2FCt7%2BGZNIlnt2Txn2BCsar4wse6e%2FBAbemkdwA%3D%3D. (Reason: expected ‘true’ in CORS header ‘Access-Control-Allow-Credentials’)."

Please advise..

Regards, Mahendra

Hi,

Please share codes of right side popup in metronic theme. i am sharing print screen below.

Regards, kaushal kishor

Question

Hi, I have following two entities: Product id, desc, price, productgroupid ProductGroup id desc

As you can see, product entity has a reference id of product group (that is productgroupid). Now I have created a GraphQL that returns me the products. In this graphQL output I need the ProductGroup.desc and not the productgroupid. I mean I wanted to have joins. I already have two AppService (One for Product and one for ProductGroup created.

Can you please throw some hint on how to write joins in GraphQL. Would appreciate if you could provide some sample code...

Many Thanks, Mahendra

Hi,

Please help us in metronic theme menu issue.

In metronic theme, whenever more menu added then menu blinking issue comming on sidebar menu mouse over, and topbar menu body scrooing comming.

Accordingly menu screens attached.

Regards, Kaushal kishor

Showing 61 to 70 of 80 entries