Tag: C#
-
Demonstrating Microsoft’s Semantic Kernel
In this video I describe what’s Microsoft’s Semantic Kernel is all about, how it works and I show a demonstration of the semantic kernel in action, using a planner and a math plugin.
-
LoadTemplate and the ASP.NET Login controls
Recently I was trying to programmatically load the templates for the PasswordRecovery control. I thought it should be pretty straightforward: Put the contents of the template in an ascx file Assign passwordRecovery.UserNameTemplate to Page.LoadTemplate(“MyUserNameTemplate.ascx”) Should be a piece of cake right? Wrong. If the template is put directly in the ASPX page all works as…
-
Simplify Your Caching By Using a Generic Method
I needed to add caching to my data access routines to improve the performance of commonly accessed data. This is pretty straightforward: Check to see if the cache entry already exists If the cache entry does exist, return the cached value If the cached entry doesn’t exist, fetch the data and add it to the…