Microsoft Workloads on AWS
Tag: .NET
.NET observability with Amazon CloudWatch and AWS X-Ray: Part 2 — Logging
Building a well-architected .NET application goes beyond just coding and deploying. You must monitor performance, trace transactions, collect logs, gather metrics, and trigger alarms when metrics breach thresholds. To achieve this, you can design and implement telemetry to enable observability capabilities. In the first part of this blog series, I covered the implementation of metrics. […]
.NET Observability with Amazon CloudWatch and AWS X-Ray: Part 3 – Distributed Trace
Building a well-architected .NET application goes beyond just coding and deploying. You must monitor performance, trace transactions, collect logs, gather metrics, and trigger alarms when metrics breach thresholds. To achieve this, you can design and implement telemetry to enable observability capabilities. In the first post of the series, I covered the implementation of metrics, and […]
.NET observability with Amazon CloudWatch and AWS X-Ray: Part 1 — Metrics
Building a well-architected .NET application goes beyond just coding and deploying. You must monitor performance, trace transactions, collect logs, gather metrics, and trigger alarms when metrics breach thresholds. To achieve this, you can design and implement telemetry to enable observability capabilities. This post is the first in a series of three posts in which I […]
Build, package, and publish .NET C# Lambda functions with the AWS CDK
CDK offers a high-level abstraction to define AWS resources using modern programming languages. Among its components, it provides aws-s3-assets, which is a high level construct that abstracts packaging AWS Lambda functions. The default behavior of this construct is to zip all the content into a folder and upload it to an Amazon Simple Storage Service (Amazon S3) bucket. That works great for Lambda runtimes like Python or Node.js, which do not require code compilation, but for .NET, Java, or Go, which requires code compilation, you’ll need extra steps to restore external dependencies, compile the code, and publish the binary. This post will explore how to streamline building, packaging, and publishing .NET Lambda functions using AWS CDK.
Accelerate .NET modernization with AWS Toolkit for .NET Refactoring
Today we are announcing the general availability of AWS Toolkit for .NET Refactoring, an extension for Visual Studio 2019 and Visual Studio 2022. This extension helps transform your legacy .NET Framework applications to a modern, cloud-optimized architecture, letting you fully leverage the benefits of reduced cost, increased uptime, and improved scalability.
Port legacy VB.NET applications to .NET 6.0 with Porting Assistant for .NET
Since its release in 2002, Visual Basic .NET (VB.NET) has been a popular choice for software developers creating Windows-based applications. With the release of .NET 6.0, some exciting changes are available for developers. This version of .NET boasts some amazing features that are sure to make your applications faster, more reliable, and easier to maintain. […]
How to load .NET configuration from AWS Secrets Manager
AWS Secrets Manager helps you protect secrets needed to access your applications, services, and IT resources. It enables you to easily rotate, manage, and retrieve secrets used by your application, eliminating the need to hard-code sensitive information in plain text. You can use the Secrets Manager client to retrieve secrets using AWS SDK for .NET. However, this would require code changes and add to the complexity of your code, as you need to invoke the client whenever you need to read data stored in Secrets Manager. Instead, you can use the .NET configuration system – an extensible API used to read and manage application secrets. This lets developers use a familiar API to access secrets in secure storage and reduce complexity by using a single code path for all environments. Additionally, the provider lets existing applications move to Secrets Manager without making any code changes.
Using AWS Services for distributed caching in ASP.NET Core Web Applications
Software development engineers invest thought and effort into optimizing the performance of the applications they build, often using strategies such as caching frequently used data, moving code closer to the users, optimizing code, optimizing data access and disk I/O, and response compression. In this blog post, we explore one such optimization – caching in ASP.NET […]
Building Windows containers with AWS CodePipeline on AWS GovCloud (US)
Many AWS GovCloud (US) customers and their partners use AWS CodePipeline and AWS CodeBuild to build Continuous Integration/Continuous Deployment (CI/CD) pipelines on AWS. Building on AWS GovCloud (US), however, introduces a few restrictions, not present in other AWS Regions, when implementing pipelines for Windows container applications. In this blog post, I will explain what these […]
How CoStar reduced compute costs by 90% through modernizing legacy .NET Applications with AWS Serverless
This is a guest post from Mark Osborn, Principal Software Engineer at CoStar Group. CoStar Group is the leading provider of commercial real estate information in the world. You might know some of our more famous online marketplaces like Apartments.com or LoopNet. Dealing with commercial real estate information means handling a lot of high-fidelity photographs, […]