Below source code are for Creating a basic plugin (testplugin.cs), and see how it is being called using prompt from Program.cs. This example uses Weather finding, such as “What is the weather in London on 18th June 2024?”, and it will always return a hard coded value of “29” degrees celsius. You can modify the function to do complex logic. testplugin.cs This is a very basic plugin, which I purposefully did not include any logic. Comments are added inline to explain what each line/function does. Program.cs appsettings.json I used this file to avoid hardcoding sensitive information in the source code…
-
-
-
Using Managed Identity to deploy azure resources is considered best practice as it reduces the overhead of keeping additional credentials (tokens/passwords) in config files. This article is about accessing Auzre KeyVault using Managed Identity. I am using .NET Framework 4.8 version for this tutorial. Step 1 – Create KeyVault and secrets First, just go to Azure Portal and create necessary secret values for testing. I would go with a “testkey” and a dummy value. (I am assuming you know the basics of Azure Portal and knows how to create an azure resource such as KeyVault) Also, please take a note…
-
Though I’ve wrote this function for Angular – ag-grid, this can be used as an independent method as well. Code:
-
While you will find multiple solutions for formatting a date in ag-grid on internet/stackoverflow and documentation, here is one method I found handy: { field: ‘DateUpdated’, valueFormatter: params => formatDate(params.value, ‘MMM, dd yyyy’, ‘en-US’) }
-
Read in detail here – https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-7.0 Disclaimer: this is an unethical practice so this is recommended only for development/debugging purpose
-
Here is a nice playlist for Spring Boot beginners videos from Java Brains – https://www.youtube.com/playlist?list=PLqq-6Pq4lTTbx8p2oCgcAQGQyqN8XeA1x
-
This is just a revision of my school memories. Language used is Java.
-
I just coded this for my personal use, but thought someone else also might be interested in – https://github.com/ninethsense/WordPronounce
-
Find my latest vlog on Power Platform series – the Power Apps