Hi,
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.
Hi,
In AppService I am doing the following steps
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.
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, 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