Posts

KB:MSBuild Unable to Located Nested csProj files on remote SLN

There is a known limitation with MSBuild when there is a referenced project has nested referenced project from another solution, MSBuild will fail but the same SLN will work fine from the Visual Studio IDE since VS works a little differently.  This is an unfortunate behavior. We wish the behavior for a ProjectReference to a not-in-the-solution project was to inherit the Configuration of the project that references it, to avoid this confusion. However, this could result in confusing behavior of its own: the not-in-solution project could be built multiple times (in parallel) with different configurations. Since we currently build only once, adding the possibility of parallel builds (and just changing the configuration of the not-in-solution project) could break users, so we're unwilling to make this change now. The current behavior can be worked around by explicitly specifying the configuration using SetConfiguration metadata or by adding the referenced project to the solution. Refer...

KB:PowerCfg.exe SleepStudy

Image
The "Sleepstudy" option from the PowerCfg.exe cmd generates a pretty cool power state report for your machine where you can see how many times the machine went to sleep, the screen went offline, and much more... powercfg /sleepstudy https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options#option_sleepstudy

KB:Powershell PackageManagement and PowerShellGet

PackageManagement and PowerShellGet, which operate within Windows. PackageManagement acts as a framework for package delivery, while PowerShellGet is a module within PackageManagement specifically for managing PowerShell packages. Here's a condensed breakdown: PackageManagement : It's a framework for package delivery in Windows. Administered through PowerShell. Consists of PackageProviders (like package managers) and PackageSources (where providers get packages). PowerShellGet : A PowerShell module using PackageManagement for delivering PowerShell packages. Utilizes PSRepositories (virtual wrappers for PackageSources). Manages modules and scripts from sources like PowerShell Gallery. Facilitates package installation, updating, and publishing. Summary : PSRepository serves as a wrapper for PackageSource. PSRepository has custom properties for managing URIs. PowerShellGet uses PackageManagement in the background. PowerShellGet registers itself as a PackageProvider and interacts w...

KB:AKS Auditing

Investigate actions on Azure Kubernetes Service using Auditing https://itnext.io/whodunit-investigate-actions-on-aks-using-auditing-1db3ccf9ae86

KB:MS Graph Explorer

Graph Explorer is a developer tool that lets you learn about Microsoft Graph APIs. Use Graph Explorer to try the APIs on the default sample tenant to explore capabilities, or sign in to your own tenant and use it as a prototyping tool to fulfill your app scenarios. Here is the portal to the explorer:  https://developer.microsoft.com/en-us/graph/graph-explorer Ref:  https://learn.microsoft.com/en-us/graph/graph-explorer/graph-explorer-overview https://learn.microsoft.com/en-us/graph/graph-explorer/graph-explorer-features

KB: Policy as Code with Azure API Management (APIM) and OPA

Good Reads: https://www.styra.com/blog/policy-as-code-with-azure-api-management-apim-and-opa/ https://dev.to/permit_io/use-opa-for-application-level-authorization-from-rbac-to-abac-in-scale-36d7 https://docs.aws.amazon.com/prescriptive-guidance/latest/saas-multitenant-api-access-authorization/opa.html

KB: How to transfer Domain from Godaddy to another registrar

Image
If you like to transfer your domains from GoDaddy to another registrar follow these instructions. It is NOT necessary to call support (because they will do everything/anything to prevent you from doing any transfers!). And especially don't worry if your domain is going to expire next couple of days! Because if you call support they will insist that you have to renew your domain before doing the transfer so you don't lose it. It's NOT true, don't let them hold your domain hostage. - Login to your GoDaddy account Go to "My Domains" page. DO NOT select the domain yet. You'll have to set two options "Lock" and "Privacy" to off. From the list of domains you should see the "Lock" option, ensure the domain is unlocked Toggle the (Domain Locked) ensure it's OFF ( not locked ).  Click confirm on any scary/intimidating prompts. From the same page also Turn off Domain Privacy.  You may need to select the domain with a check box and s...