Asp.net Tutorials
11. HttpError is not found in Asp,net core project
By: Linda Ng : 2023-06-01
Description: In the newer versions of ASP.NET Core, the HttpError type is not available. Instead, you can handle the error response using the HttpResponseMessage object and extract the error message from the response content
12. Microsoft.Identity vs Microsoft.IdentityModel.Clients.ActiveDirectory
By: Linda Ng : 2023-06-01
Description: To work with the newer Microsoft.Identity package instead of the deprecated Microsoft.IdentityModel.Clients.ActiveDirectory, you can use the ConfidentialClientApplicationBuilder class to acquire a token
13. Getting values from appsettings.json ASP.NET
By: Linda Ng : 2023-06-01
Description: To access values from appsettings.json in an ASP.NET Core application, you can use the IConfiguration interface
14. Severity Code Description Project File Line Suppression State Error CS0308 The non-generic type 'List' cannot be used with type arguments.
By: Linda Ng : 2023-06-01
Description: Severity Code Description Project File Line Suppression State Error CS0308 The non-generic type 'List' cannot be used with type arguments.
15. Pagination in ASP.net core application
By: Linda Ng : 2023-06-01
Description: To display a read-only grid of records with pagination in an ASP.NET Core view, you can follow these steps:
16. Severity Code Description Project File Line Suppression State Error CS1061 'string[]' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'string[]' could be found (are you missing a using directive or an assembly reference?)
By: Linda Ng : 2023-06-01
Description: Severity Code Description Project File Line Suppression State Error CS1061 'string[]' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'string[]' could be found (are you missing a using directive or an assembly reference?)
17. Severity Code Description Project File Line Suppression State Warning Found conflicts between different versions of the same dependent assembly.
By: Niraj : 2023-06-01
Description: Severity Code Description Project File Line Suppression State Warning Found conflicts between different versions of the same dependent assembly.
18. One client credential type required either: ClientSecret, Certificate, ClientAssertion or AppTokenProvider must be defined when creating a Confidential Client. Only specify one
By: Niraj : 2023-06-01
Description: One client credential type required either: ClientSecret, Certificate, ClientAssertion or AppTokenProvider must be defined when creating a Confidential Client. Only specify one
19. Do we need to redeploy the webapp when appsettings.json change?s
By: Linda Ng : 2023-06-01
Description: No, you don't need to redeploy the web app when changes are made to the appsettings.json file. The appsettings.json file is typically read at runtime by the application, so any changes made to it will be picked up by the application without requiring a redeployment
20. Downloading and Installing the AWS SDK for .NET
By: Emiley J : 2023-05-03
Description: By default, the AWS SDK for .NET is installed in the Program Files directory, which requires administrator privileges. You can install the AWS SDK for .NET as a non-administrator if you choose a different installation directory.