DDDianne De Jesusindiaanedev.hashnode.dev·Jun 2, 2024 · 2 min readWPF User / Application SettingsIf your application has custom settings, whether they be for the application as a whole or a customization for users, Microsoft already has a solution for you to store them. You can create these settings with the VS designer, just go to the propertie...00
DDDianne De Jesusindiaanedev.hashnode.dev·May 21, 2024 · 2 min readWhat does serializeUser & deserializeUser do?Looking at these methods in a simple and straightforward way, you can simply say that serializeUser stores the identifying data for the logged-in user inside the passport variable. Then deserializeUser uses that information to populate the request va...00
DDDianne De Jesusindiaanedev.hashnode.dev·May 20, 2024 · 1 min readModel.find() no longer accepts a callback in MongooseWhen updating Mongoose on an old practice project I got this error in reference to my passport deserializeUser. I found a reply on https://stackoverflow.com/questions/75655652/model-find-no-longer-accepts-a-callback-in-mongoose that worked well. Orig...00
DDDianne De Jesusindiaanedev.hashnode.dev·May 19, 2024 · 2 min readMongoStore cannot be invoked without 'new'When updating an old project I got this error, plus some deprecated warnings. The project was just an old practice project that uses Mongodb, Mongoose, Connect-Mongo and Express. I did some research and came across these pages: https://mongoosejs.com...00
DDDianne De Jesusindiaanedev.hashnode.dev·Feb 19, 2024 · 4 min readGraph SDK GraphServiceClientI used this page to create a template for connecting to the MS Graph API in C#. It creates a console application with everything you need to get started. These notes are my analysis of how the Graph API connection used in this template works. Feel fr...00