With most systems transitioning to cloud-based environments, databases are often hosted across various cloud platforms. However, during the development cycle, there are occasions when having access to a local database environment becomes crucial, particularly for analyzing and troubleshooting issues originating in the production environment. Sometimes, it is necessary to restore the production database to a […]
Posts Tagged ‘.net’
.NET Core Renderings for XM Cloud finally gets some love
That is not a secret – Sitecore always used to prioritize Next.Js framework as the first-class citizen for XM Cloud. All the best and finest features tend to find their way to a given framework in the first place. However, recently, there has been much activity around the .NET Core Rendering Framework which makes a […]
API’d Like to Talk to You: A Dive into the OpenAI Assistant API
Recently, I’ve had time to sit down and wade into the my own little area of the digital Wild West, that being AI integration. With the explosion of AI, I wanted to give my apps the ability to tap into that vast potential. While it seems like every tech giant, startup, and their mother […]
DI-Y: Crafting Code with Multiple Services Using IEnumerable in Dependency Injection
Registering Services for IEnumerable Injection Service Registration Fundamentals Service registration is the process of telling the DI container how to create instances of a service, typically done at application startup. Registering Services for IEnumerable When services implement a common interface, you can register them in such a way that the DI container can provide an […]
Optimizely Configured Commerce – Customizing Elasticsearch v7 Index
The Optimizely configured commerce introduces Elasticsearch v7 for a better search experience. In the dynamic landscape of the Commerce world, there is always room for extended code customization. Optimizely offers detailed instructions on customizing Elasticsearch v7 indexes. There are a lot of advantages to using Elasticsearch v7. some are Improved Performance Security Enhancements Elasticsearch SQL […]
Not just Next.js! Making XM Cloud work with .NET Core Headless Renderings
Next.js is a wonderful framework and paired with its vendor platform (Vercel) it indeed provides exceptional capabilities for building natively headless applications. That unfortunately shadows out another great SDK for headless implementations – .NET Core Renderings, which in my opinion is undervalued. So, I decided to give it some more care by making it work […]
Why Is It Important to Upgrade to Optimizely CMS 12, Commerce 14, and .NET 6?
A new year means new projects and marketing strategies, but how do you want to improve your key systems in 2023? We’ve put together this overview to help every Optimizely CMS/DXP user think about the precious aspects. Released in November 2021, .NET 6 marks the latest update in the .NET Core product line. .NET 5 […]
Config-Per-Site in Optimizely Multi-Tenant Environments
Recently, I was given a task at work where we needed a multisite configuration. We all know that multi-environment is as easy as appsettings.<environment_name>.config. What about in multi-tenant environments? You can’t have appsettings.site1.config and appsettings.site2.config on your site! Well, not without a little extra work… Let me introduce AddKeyPerFile; this handy little function you set […]
The 1001st Piece in your 1000 Piece Puzzle: .NET Default Interface Functions
I recently worked with a client who wanted a reasonably large subsystem added to Optimizely that would add automated management to their content. While cutting the code for this, I found myself writing similar code across multiple classes. I had to write it that way: 1) The client was currently on CMS11 and didn’t have […]
Dependency injection in C# .NET
I’ve decided to write a tutorial on how to accomplish dependency injection in C# .NET, because the Microsoft documentation of dependency injection libraries is unfortunately way too sparse, and the Microsoft dependency injection tutorial is a little convoluted and complicated. Fortunately, C# .NET’s implementation of dependency injection is pretty straightforward. In my opinion, it’s way […]
How .NET Newest Version is and will Continue Helping New Generations to Start Programming Easily
Microsoft had its .NET Conf event from November 9 to 11, 2021, announcing .NET 6 and C# 10. Within all the new features and tools added for this release, you can find that .NET is clearly aiming to facilitate the way we collaborate when coding or hosting the applications of our organization. It seems that technology […]
APS.NET Core Web Application with React-Redux
Introduction React has gone viral among web developers. Compared to other mainstream JS libraries, thanks to JSX and virtual DOM, react has native advantages on DOM control. Redux is a handy way to manage state and React-Redux provides the glue between React and Redux. Going back to ASP.Net core, on VS 2017 Update 3, users […]