4 Results for Category NET Development
Recently, a co-worker pinged me asking about the best way to handle transforms in a Sitecore 9+ PaaS environment. My response: "Transforms are the devil, and there are often zero reasons why you need them in a new Sitecore environment." Sitecore, of course, gives us rules-based configurations out of the box, which give us a lot of control over applying different configurations for different roles and environments, but what about modifications to the web.config? In my experience, most changes to the web.config are "one-time" changes that you can make (and document) as soon as an environment is provisioned. This includes managing assembly binding redirects, which is often something that changes each time you add a new NuGet reference to your project. Read on to learn how you can externalize your assembly binding redirects, instead of having to maintain a copy of the web.config file and/or transforms.
These days, software developers have a wide range of choices when it comes to database technologies while building modern applications. Requirements like the horizontal scalability, high availability and flexibility of a data model drive the need for database technologies designed to solve different set of problems than traditional relational databases. Azure Cosmos DB is Microsoft’s globally distributed, multi-model, fully managed NoSQL database.
In a recent project, I tackled the task of integrating OWIN (Open Web Interface for .NET) claims-based identity with an on-premise Active Directory. In this blog post, I will look into basic details of how to work with AD (Active Directory) Domain Services in a .NET application. System.DirectoryServices.AccountManagement namespace provides a set of APIs that can be used to access users, security groups and other directory objects stored in Active Directory, which I will demonstrate below.
While some developers don’t like unit testing and some even hate it, I think that most will agree that it’s a valuable discipline. In this blog, I give a brief overview and compare two commonly used unit-testing frameworks used for .NET, NUnit and xUnit.