---
title: ".net SDK 0.1.0-beta2"
description: ".net SDK 0.1.0-beta2"
canonical: "https://temporal.io/changelog/net-sdk-0-1-0-beta2.md"
source: "https://temporal.io/changelog/net-sdk-0-1-0-beta2"
date: "2023-10-30"
change_type: "Feature"
product_areas:
  - ".NET SDK"
---

# .net SDK 0.1.0-beta2

## Highlights

### Advanced Metrics Support

The Rust core that the .NET SDK uses has always provided metrics and a way to export via OpenTelemetry or Prometheus. This release improves the exposure of these metrics in few ways:

First, a `MetricMeter` property has been added to `TemporalRuntime`, `ActivityExecutionContext`, and `Workflow` for those wanting to record their own metrics using the core-based metrics (but it is often still more desirable to use one's own metrics implementation). The `Workflow.MetricMeter` has logic to ignore metrics recorded inside workflows.

Second, a Temporal runtime is the overall object created to power Temporal features (if not using the default) and its `MetricOptions` now have a `CustomMetricMeter` which accepts a `ICustomMetricMeter` implementation. If set, this interface will be used for all core-based metrics.

Finally a new extension project, `Temporalio.Extensions.DiagnosticSource`, has been created which contains an `ICustomMetricMeter` implementation that sends core metrics to an underlying `System.Diagnostics.Metrics.Meter` implementation. So with this extension, users can have all internal SDK metrics flow through traditional .NET metrics utilities, even though they originate in Temporal's Rust core.

### Several Minor Additions

- Added `Workflow.CurrentHistoryLength`_,_ `Workflow.CurrentHistorySize`, and `Workflow.ContinueAsNewSuggested`` `to help developers understand history sizes and when to continue as new
- Added `WorkflowInfo.LastFailure `and `WorkflowInfo.LastResult`` `for use by workflow retrying and schedules
- Added `TemporalConnectionOptions.KeepAlive`` `to support client keep alive, and defaulted it to 30s interval with 15s timeout
- Added `WorkflowOptions.StartDelay`` `to add a delay to the start of a workflow
- Added experimental support for [workflow update](https://docs.temporal.io/workflows#update), which is only available in bleeding edge open source server environments

### 💥 BREAKING CHANGES

Only a couple of barely visible, rarely used things were changed this release:

- Static methods on for creating activity definitions
  `Temporalio.Activities.ActivityDefinition`
  removed `cache `boolean parameter since caching of activity definitions is no longer that valuable ([#118](https://github.com/temporalio/sdk-dotnet/pull/118))
- Removed
  `Temporalio.Runtime.TelemetryOptions.Tracing`
  property and associated class since this was only for advanced internal support for core tracing (i.e. not related to actual Temporal/workflow tracing)

```

```

- [Release notes](https://github.com/temporalio/sdk-dotnet/releases/tag/0.1.0-beta2)
