Programming Tutorials

all Tutorials

1. Dynamically modify the option set in Dynamics 365 forms

By: Terrence : 2023-08-22

Description: To dynamically modify the option set in Dynamics 365 forms, either on Form Load or on a specific field OnChange event, we can replace the options in the option set with the allowed options. This will provide a consistent and reliable behavior.


2. Copy Power Automate Flows from one environment to another

By: Murali : 2023-07-27

Description: You can copy Power Automate flows from one environment to another environment using the "Export" and "Import" features. This allows you to move flows and their associated components, such as connectors, triggers, actions, and settings, from one environment (e.g., development) to another (e.g., production) without recreating them manually


3. Moving changes from a development environment (sandbox) to a production environment in Dynamics 365

By: Manoj : 2023-07-25

Description: By following this process, you can safely move changes from the development environment to the production environment in Dynamics 365 while minimizing the risk of affecting production data or settings. Always perform thorough testing and validation before deploying changes to the production environment.


4. AmbiguousMatchException: The request matched multiple endpoints.

By: Manoj : 2023-06-01

Description: The AmbiguousMatchException you encountered means that there are multiple endpoints in your code that match the incoming request. This can happen when you have multiple actions in a controller with the same name and same HTTP verb


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


6. Development Mode in IIS for Asp.net projects

By: Manoj : 2023-06-01

Description: Swapping to Development environment will display more detailed information about the error that occurred. To set the ASPNETCORE_ENVIRONMENT environment variable in IIS, you can follow these steps


7. Call an Action in a controller when user clicks a button in View

By: Manoj : 2023-06-01

Description: Let us assume you have a button in your view whose id is 'authorizeButton' and you want to submit to your Action named 'Authorize' in your controller named 'SandboxApi'. To call the Authorize action in the SandboxApiController when the user clicks the button, you can follow these steps


8. Button that is only clickable when the checkbox is checked

By: Niraj : 2023-06-01

Description: To implement a checkbox and a button that is only clickable when the checkbox is checked, you can use JavaScript/jQuery. Here's an example of how you can achieve this


9. Pass the same model to multiple views within the same controller

By: Niraj : 2023-06-01

Description: To pass the same model to multiple views within the same controller, you can make use of the ViewBag property or strongly typed views


10. Severity Code Description Project File Line Suppression State Error CS0103 The name 'Encoding' does not exist in the current context

By: Niraj : 2023-06-01

Description: Severity Code Description Project File Line Suppression State Error CS0103 The name 'Encoding' does not exist in the current context