Posts

[MS] Gotcha: Don’t forget to shut down your dispatcher queues - devamazonaws.blogspot.com

If you need a Dispatcher­Queue , you can create a Dispatcher­Queue­Controller and then read the Dispatcher­Queue property to obtain the associated Dispatcher­Queue . But don't throw away that Dispatcher­Queue­Controller ! // C# DispatcherQueueController controller = DispatcherQueueController.CreateOnDedicatedThread(); DispatcherQueue queue = controller.DispatcherQueue; // C++/WinRT DispatcherQueueController controller = DispatcherQueueController::CreateOnDedicatedThread(); DispatcherQueue queue = controller.DispatcherQueue(); // C++/CX DispatcherQueueController^ controller = DispatcherQueueController::CreateOnDedicatedThread(); DispatcherQueue^ queue = controller->DispatcherQueue; // C++/WRL ComPtr<IDispatcherQueueControllerStatics> statics; THROW_IF_FAILED( GetActivationFactory(HStringReference( RuntimeClass_Windows_System_DispatcherQueueController).Get(), &statics)); ComPtr<IDispatcherQueueController> controller; THROW_IF_FAILED(...

[MS] MongoDB to Azure Cosmos DB for NoSQL Migration – Learnings from Java SDK V4 Micro-Optimizations - devamazonaws.blogspot.com

Image
The authors wish to thank Govind Kanshi (Principal PM Manager), Abinav Rameesh (Principal PM Manager) , Kushagra Thapar ( Principal Engineering Manager), Annie Liang (S r. Software Engineer) and Faiz Chachiya (S r. Cloud Solution Architect , CSU ) for their valuable insights, and contributions during the Proof-of-Concept ( PoC ). Introduction   Azure Cosmos DB is Microsoft’s premier fully managed NoSQL database for modern app development. It is ideal for solutions including artificial intelligence, digital commerce, Internet of Things, booking management and other types of use cases. It offers single-digit millisecond response times, automatic and instant scalability along with guaranteed speed at any scale. This blog post outlines the migration approach and Azure Cosmos DB for NoSQL Java SDK V4 micro-optimizations the team undertook while attempting to migrate an existing on-premises MongoDB database hosting a centralized Fraud Analytics platform to Azure Cosmos DB f...

AWS Amplify Hosting announces support for custom SSL certificates/TLS - devamazonaws.blogspot.com

AWS Amplify Hosting now supports custom SSL certificates for custom domains. This new feature allows developers to easily upload and use their SSL/TLS certificates for their web applications hosted on Amplify, offering improved flexibility and security. With this feature, developers can now leverage certificates they've obtained from third-party Certificate Authorities (CAs) or use certificates issued by AWS Certificate Manager (ACM) to have greater control over your domain and IT compliance needs. Post Updated on February 20, 2024 at 06:20PM

[MS] Microspeak: Closing out, duping out - devamazonaws.blogspot.com

Windows has gone through many defect tracking systems . The details may change, but the overall shape remains the same. I will defer details to this summary in the Azure DevOps documentation . One possible Reason for resolution is Duplicate , which means that the issue is already covered by another work item. The act of marking a work item as Duplicate is informally known as duping out . So you can say, "There are three new bugs today, but they are all the same issue as bug 31415, so I've duped them out ." Similarly, the act of marking a resolved work item as Closed is informally known as closing out . "Please look at your resolved bugs and close out the ones that no longer repro." ( Repro is a common abbreviation for reproduce .) In both cases, the out is optional. You can say that you have duped a work item ( to another work item), and you can say that you have closed a work item. I find it interesting that the preferred adverbial preposition for ...

[MS] Azure Cosmos DB design patterns – Part 7: Materialized Views - devamazonaws.blogspot.com

Image
We are thrilled to introduce the seventh installment of our blog series, focusing on design patterns in Azure Cosmos DB for NoSQL applications. This edition builds on real-world customer insights to guide you through the complexities of JSON-based NoSQL databases. In this segment, we explore a range of NoSQL patterns, ideal for newcomers to this type of database. Special attention is given to patterns unique to Azure Cosmos DB, highlighting strategies to leverage its unique features for resolving intricate architectural challenges.Top of Form These patterns, previously shared individually with customers, are now being made more widely accessible. We believe it's the right moment to broadly publish these insights, enhancing their discoverability among users. Thus, we've created Azure Cosmos DB Design Patterns — a GitHub repository filled with an array of examples. These samples are meticulously curated to demonstrate the implementation of specific patterns, assisting you in ad...

[MS] 如何将 .NET Aspire 应用程序部署到 Azure Container App  - devamazonaws.blogspot.com

Image
本篇翻译于Jiachen Jiang的 How to deploy .NET Aspire apps to Azure Container Apps 最近发布的用于构建云原生应用程序的 .NET Aspire 与 Azure Container App (ACA) 非常匹配。 .NET Aspire 旨在轻松管理由一系列相互依赖的微服务组成的应用程序。 Azure Container App 专为微服务量身定制 。 它基于云原生技术构建,这意味着 .NET Aspire 可以无缝集成到其中 - 开箱即用!   最重要的是, .NET Aspire 堆栈通过 Azure Developer CLI (AZD) 为 ACA 提供定制的部署体验,让您可以使用单个命令为 Aspire 解决方案创建、配置和部署 Azure 资源 。   在这篇博文中,我们讨论了在 ACA 中托管应用程序与非托管集群相比的优势。我们还将通过示例代码向您展示如何轻松上手 。   为什么选择 Azure Container App?   Azure Container App(ACA) 是一个用于运行容器优先应用程序和微服务的平台。它由 Kubernetes 提供支持,但对于普通开发人员来说使用和管理要简单得多。使用 ACA 的团队可以专注于构建应用程序并投入生产,而不必只是为了入门就必须去学习复杂的集群管理 。   如果你想要有灵活性并且最大限度地降低成本,这也是一个不错的选择。作为一种无服务器环境, ACA 既提供可扩展到零的按使用付费的消费托管,也提供具有固定价格和可靠性的专用计算托管。凭借对 Dapr 和 KEDA 等开源技术的全面支持 ,ACA 允许开发人员从更广泛的微服务生态系统中获取最佳实践和工具 —— 所有这些都来自一个平台 !   对于希望以最小的开销和复杂性在云端构建应用程序的开发人员来说,这些功能使 ACA 成为一个很好的选择。如果你感兴趣,请继续阅读 —— 我们将通过一些示例代码让您亲自了解将 .NET Aspire 解决方案部署到 ACA 是多么快速和容易 。   .NET 8、.NET Aspire 和 AZD...

Announcing Amazon EMR Serverless in the AWS GovCloud (US) Regions - devamazonaws.blogspot.com

Amazon EMR is excited to announce that Amazon EMR Serverless is now available in the AWS GovCloud (US-East, US-West) Regions. Post Updated on February 19, 2024 at 06:03PM