# \#dotnet-sdk

**URL:** https://community.temporal.io/tag/dotnet-sdk/127.md?page=1

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

**Page:** 2

---

## [Running Temporal Worker and Workflow and activities inside a single .NET Web Api without seperate Worker](https://community.temporal.io/t/running-temporal-worker-and-workflow-and-activities-inside-a-single-net-web-api-without-seperate-worker/11258)

<div class="topic-metadata">

**Author:** [@George\_Kal](https://community.temporal.io/u/George_Kal)\
**Replies:** 5\
**Last updated:** [November 29, 2024, 4:07pm UTC](https://community.temporal.io/t/running-temporal-worker-and-workflow-and-activities-inside-a-single-net-web-api-without-seperate-worker/11258 "2024-11-29T16:07:06Z")

</div>

Hi all, I currently developing a dotnet 8 Web Api project with minimal api endpoints that trigger workflow execution and a seperate worker using Temporal hosting (AddHostedTemporalWorker) where all my activities and wo…

---

## [Catch exception for dotnet temporal hosting](https://community.temporal.io/t/catch-exception-for-dotnet-temporal-hosting/14681)

<div class="topic-metadata">

**Author:** [@taidang](https://community.temporal.io/u/taidang)\
**Replies:** 5\
**Last updated:** [November 26, 2024, 6:27pm UTC](https://community.temporal.io/t/catch-exception-for-dotnet-temporal-hosting/14681 "2024-11-26T18:27:38Z")

</div>

I used dotnet nuget package Temporalio.Extensions.Hosting to create hosted Temporal worker by: services.AddHostedTemporalWorker() Using this will cause the app crash when the Temporal service is stopped. Is it possible…

---

## [DAG-like Workflow Visualization](https://community.temporal.io/t/dag-like-workflow-visualization/15080)

<div class="topic-metadata">

**Author:** [@Oleg\_Shilo](https://community.temporal.io/u/Oleg_Shilo)\
**Replies:** 1\
**Last updated:** [November 12, 2024, 1:16pm UTC](https://community.temporal.io/t/dag-like-workflow-visualization/15080 "2024-11-12T13:16:30Z")

</div>

Temporal (out of the box) only offers the WF visualization for the already executed steps - Timeline View. This creates a capability gap for the UI scenarios when it is beneficial to see the whole WF regardless of how f…

---

## [Temporal mTLS .NET](https://community.temporal.io/t/temporal-mtls-net/14965)

<div class="topic-metadata">

**Author:** [@OhMyDeera](https://community.temporal.io/u/OhMyDeera)\
**Replies:** 12\
**Last updated:** [November 6, 2024, 4:05pm UTC](https://community.temporal.io/t/temporal-mtls-net/14965 "2024-11-06T16:05:47Z")

</div>

Hey folks, I was wondering if someone could answer a couple of questions I’ve got regarding mTLS setup + .NET SDK. I’ve got a CA cert for temporal and have generated and signed cluster and client certs. The communicatio…

---

## [.NET SDK Activity Cancellation Logic](https://community.temporal.io/t/net-sdk-activity-cancellation-logic/14755)

<div class="topic-metadata">

**Author:** [@sdonovan](https://community.temporal.io/u/sdonovan)\
**Replies:** 4\
**Last updated:** [October 24, 2024, 9:32pm UTC](https://community.temporal.io/t/net-sdk-activity-cancellation-logic/14755 "2024-10-24T21:32:33Z")

</div>

(Editor: you don’t appear to have a dotnet-sdk tag). Imagine you have a long-running activity, and you want to stop it running when the parent is cancelled. With the Java SDK: the intention is that you heartbeat to det…

---

## [PermissionDenied using .Net SDK and CLI works just fine](https://community.temporal.io/t/permissiondenied-using-net-sdk-and-cli-works-just-fine/14507)

<div class="topic-metadata">

**Author:** [@JR\_Bancel](https://community.temporal.io/u/JR_Bancel)\
**Replies:** 3\
**Last updated:** [October 11, 2024, 8:48pm UTC](https://community.temporal.io/t/permissiondenied-using-net-sdk-and-cli-works-just-fine/14507 "2024-10-11T20:48:20Z")

</div>

I have deployed Temporal on Kubernetes using the Helm chart and the default settings. When I use the CLI it works: \> temporal env set alp.address \<HOST\>:443 \> temporal operator cluster health --env alp --tls …

---

## [Streamlining Insurance Workflows with Temporal and .NET](https://community.temporal.io/t/streamlining-insurance-workflows-with-temporal-and-net/14300)

<div class="topic-metadata">

**Author:** [@temporal](https://community.temporal.io/u/temporal)\
**Replies:** 1\
**Last updated:** [October 9, 2024, 1:38pm UTC](https://community.temporal.io/t/streamlining-insurance-workflows-with-temporal-and-net/14300 "2024-10-09T13:38:58Z")

</div>

I recently wrote about using Temporal for use cases in Insurance, along with an extremely simplified architecture built using the dotnet-sdk and utilizing child workflows, signals etc. Might be helpful for anyone starti…

---

## [Creating 10m+ workflows Best Practices](https://community.temporal.io/t/creating-10m-workflows-best-practices/13755)

<div class="topic-metadata">

**Author:** [@workflowninja](https://community.temporal.io/u/workflowninja)\
**Replies:** 3\
**Last updated:** [October 3, 2024, 8:27pm UTC](https://community.temporal.io/t/creating-10m-workflows-best-practices/13755 "2024-10-03T20:27:41Z")

</div>

I am planning on transitioning our company’s architecture to utilize temporal, for bullet-proof resiliency. For starters, we will self-host the temporal server on our side. Use Case/Architecture: We have a micro-servic…

---

## [Temporal Workflow/Activity cancellation non determinism](https://community.temporal.io/t/temporal-workflow-activity-cancellation-non-determinism/13707)

<div class="topic-metadata">

**Author:** [@OhMyDeera](https://community.temporal.io/u/OhMyDeera)\
**Replies:** 6\
**Last updated:** [October 3, 2024, 8:55am UTC](https://community.temporal.io/t/temporal-workflow-activity-cancellation-non-determinism/13707 "2024-10-03T08:55:28Z")

</div>

Looking at the documentation regarding workflow/activity cancellation for the .NET SDK and I noticed that it creates a new CancellationTokenSource to create a token detached from the original workflow token since it has …

---

## [Error in Temporal for .NET SDK on Docker](https://community.temporal.io/t/error-in-temporal-for-net-sdk-on-docker/7755)

<div class="topic-metadata">

**Author:** [@mahdiakhi](https://community.temporal.io/u/mahdiakhi)\
**Replies:** 14\
**Last updated:** [September 24, 2024, 1:20pm UTC](https://community.temporal.io/t/error-in-temporal-for-net-sdk-on-docker/7755 "2024-09-24T13:20:54Z")

</div>

Hi everyone, I have a problem with Temporal and .NET on Linux(Docker). I use Temporal for my messaging operation(SMS, Email, and Slack). On my computer(OS win 11, .NET core 6) everything is ok. But when I deploy to the …

---

## [Missing information in objected returned from Workflow when Activity failes](https://community.temporal.io/t/missing-information-in-objected-returned-from-workflow-when-activity-failes/13309)

<div class="topic-metadata">

**Author:** [@gcevalhos](https://community.temporal.io/u/gcevalhos)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 7:24am UTC](https://community.temporal.io/t/missing-information-in-objected-returned-from-workflow-when-activity-failes/13309 "2024-08-28T07:24:24Z")

</div>

Hello all, I’m working on a PoC for using Temporal .NET SDK (version 1.2.0) in one of our flows and I started implementing some tests for it. While working on the tests for scenarios where Activities fail, I noticed the…

---

## [Triggering a workflow on another service from a workflow/ activity](https://community.temporal.io/t/triggering-a-workflow-on-another-service-from-a-workflow-activity/13109)

<div class="topic-metadata">

**Author:** [@OhMyDeera](https://community.temporal.io/u/OhMyDeera)\
**Replies:** 6\
**Last updated:** [August 8, 2024, 3:00pm UTC](https://community.temporal.io/t/triggering-a-workflow-on-another-service-from-a-workflow-activity/13109 "2024-08-08T15:00:51Z")

</div>

I’ve been working on a PoC to see if Temporal can be used in our infrastructure using .NET 8. I’ve been able to create a worker, workflow and activities, but seem to be getting stumped on triggering another workflow fro…

---

## [System Architecture with Dotnet SDK](https://community.temporal.io/t/system-architecture-with-dotnet-sdk/12811)

<div class="topic-metadata">

**Author:** [@Jakenuts](https://community.temporal.io/u/Jakenuts)\
**Replies:** 2\
**Last updated:** [July 16, 2024, 6:12am UTC](https://community.temporal.io/t/system-architecture-with-dotnet-sdk/12811 "2024-07-16T06:12:18Z")

</div>

All the examples I’ve found using the dotnet SDK reference the workflow (and activities) in both the workers and the client code that initiates new workflows. I was under the impression that you could build a decoupled …

---

## [Dealing with non-critical errors](https://community.temporal.io/t/dealing-with-non-critical-errors/12655)

<div class="topic-metadata">

**Author:** [@Viper](https://community.temporal.io/u/Viper)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 12:43pm UTC](https://community.temporal.io/t/dealing-with-non-critical-errors/12655 "2024-06-28T12:43:24Z")

</div>

Good afternoon, I am trying to find out a way to deal with what we can call “non-critical” errors. In this example: We have 3 tasks that run in parallel, I want it so that if task 2 throws an error for whatever reaso…

---

## [Task.WhenAll in .NET for Parallel Activities](https://community.temporal.io/t/task-whenall-in-net-for-parallel-activities/8995)

<div class="topic-metadata">

**Author:** [@daniel](https://community.temporal.io/u/daniel)\
**Replies:** 1\
**Last updated:** [August 16, 2023, 5:41pm UTC](https://community.temporal.io/t/task-whenall-in-net-for-parallel-activities/8995 "2023-08-16T17:41:01Z")

</div>

The .NET SDK provides Workflow.WhenAnyAsync, but does not supply an equivalent to Task.WhenAll. I would like to run several activities in parallel during a workflow and await the completion of them all. I have consider…

---

## [Custom Data Converter (Encryption) With Dependency Injection Worker](https://community.temporal.io/t/custom-data-converter-encryption-with-dependency-injection-worker/12585)

<div class="topic-metadata">

**Author:** [@Viper](https://community.temporal.io/u/Viper)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 7:11pm UTC](https://community.temporal.io/t/custom-data-converter-encryption-with-dependency-injection-worker/12585 "2024-06-20T19:11:43Z")

</div>

I was reading through: https://docs.temporal.io/develop/dotnet/data-encryption and want to implement custom encryption in our workflows, we are currently using AddHostedTemporalWorker to allow for DI but cannot see how w…

---

## [AWS Lambda (dotnet 8) - connection/certificate issue](https://community.temporal.io/t/aws-lambda-dotnet-8-connection-certificate-issue/12369)

<div class="topic-metadata">

**Author:** [@Andrew\_Radford](https://community.temporal.io/u/Andrew_Radford)\
**Replies:** 4\
**Last updated:** [June 10, 2024, 3:41am UTC](https://community.temporal.io/t/aws-lambda-dotnet-8-connection-certificate-issue/12369 "2024-06-10T03:41:27Z")

</div>

Greetings - we’ve just created an AWS Lambda which runs some dotnet 8 code that signals workflows with the Temporal Dotnet SDK. However I think we’ve hit a rust/platform issue. The Temporal client fails to connect with t…

---

## [UpdateWorkflowExecution operation is disabled on this namespace](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630)

<div class="topic-metadata">

**Author:** [@buzz](https://community.temporal.io/u/buzz)\
**Replies:** 4\
**Last updated:** [June 4, 2024, 7:08pm UTC](https://community.temporal.io/t/updateworkflowexecution-operation-is-disabled-on-this-namespace/10630 "2024-06-04T19:08:44Z")

</div>

Hi all. I am running into this error with the dotnet-sdk: UpdateWorkflowExecution operation is disabled on this namespace Which happens with I try to call a update method: \[WorkflowUpdate\] public asyn…

---

## [.NET SDK Developer's Guide](https://community.temporal.io/t/net-sdk-developers-guide/12253)

<div class="topic-metadata">

**Author:** [@Viper](https://community.temporal.io/u/Viper)\
**Replies:** 1\
**Last updated:** [May 28, 2024, 11:29am UTC](https://community.temporal.io/t/net-sdk-developers-guide/12253 "2024-05-28T11:29:19Z")

</div>

Hi all, do we have a potential timeline on when the developer’s guide might be released for the .NET SDK to ease with the adoption of temporal when using .NET?

---

## [Dependency Injection: Converting existing DI code to work with Temporal](https://community.temporal.io/t/dependency-injection-converting-existing-di-code-to-work-with-temporal/8302)

<div class="topic-metadata">

**Author:** [@Liad\_Davidson](https://community.temporal.io/u/Liad_Davidson)\
**Replies:** 4\
**Last updated:** [May 22, 2024, 12:12pm UTC](https://community.temporal.io/t/dependency-injection-converting-existing-di-code-to-work-with-temporal/8302 "2024-05-22T12:12:34Z")

</div>

Hi All, I was trying to convert some of our existing code to work with Temporal and run into a dead-end when needing to deal with Dependency Injection. Our code is a ASP.NET Core web API with various \[injected\] service…

---

## [Problems Running Temporal Workflow from .NET WebAPI](https://community.temporal.io/t/problems-running-temporal-workflow-from-net-webapi/12127)

<div class="topic-metadata">

**Author:** [@Viper](https://community.temporal.io/u/Viper)\
**Replies:** 5\
**Last updated:** [May 15, 2024, 9:12pm UTC](https://community.temporal.io/t/problems-running-temporal-workflow-from-net-webapi/12127 "2024-05-15T21:12:45Z")

</div>

I’m trying to do some internal demos of the temporal dotnet-sdk for a project but am having issues triggering a workflow from an API call. I am sure I am just going about things the wrong way but would appreciate some gu…

---

## [C# - No DI - so how to pass IOptions into WF?](https://community.temporal.io/t/c-no-di-so-how-to-pass-ioptions-into-wf/12060)

<div class="topic-metadata">

**Author:** [@Travis](https://community.temporal.io/u/Travis)\
**Replies:** 1\
**Last updated:** [May 10, 2024, 2:01pm UTC](https://community.temporal.io/t/c-no-di-so-how-to-pass-ioptions-into-wf/12060 "2024-05-10T14:01:48Z")

</div>

I have a workflow and I want to use IOptions from C# which a common practice to do in your services. However, it’s advised not to do that. How does one propose passing IOptions into Workflow? I could get them in progr…

---

## [Using signalwithstart in .NET](https://community.temporal.io/t/using-signalwithstart-in-net/11898)

<div class="topic-metadata">

**Author:** [@martinm](https://community.temporal.io/u/martinm)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 6:03pm UTC](https://community.temporal.io/t/using-signalwithstart-in-net/11898 "2024-04-24T18:03:55Z")

</div>

Hi I was wondering how would you start a workflow using signalWithStart in .NET? I checked the quickstartguide: GitHub - temporalio/sdk-dotnet: Temporal .NET SDK but there was not a clear example of how to execute it.

---

## [Creating new namespace programmatically using the dotnet framework](https://community.temporal.io/t/creating-new-namespace-programmatically-using-the-dotnet-framework/10772)

<div class="topic-metadata">

**Author:** [@Nilzzz](https://community.temporal.io/u/Nilzzz)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 3:16pm UTC](https://community.temporal.io/t/creating-new-namespace-programmatically-using-the-dotnet-framework/10772 "2024-01-24T15:16:56Z")

</div>

Hi Community, is there a way to create a namespace programmatically using the dotnet framework. The samples only use the „default“ namespace? I know it is recommended to used tctl. How can I check in dotnet if the nam…

---

## [No log is emitted with serilog](https://community.temporal.io/t/no-log-is-emitted-with-serilog/10597)

<div class="topic-metadata">

**Author:** [@offbyone](https://community.temporal.io/u/offbyone)\
**Replies:** 0\
**Last updated:** [January 8, 2024, 11:48am UTC](https://community.temporal.io/t/no-log-is-emitted-with-serilog/10597 "2024-01-08T11:48:28Z")

</div>

I’ve added serilog and configured temporal like this: services.AddTemporalClient().Configure((TemporalClientConnectOptions options, ILoggerFactory loggerFactory) =\> { options.TargetHost = "lo…

---

## [When the .Net SDK Becomes Beta/GA?](https://community.temporal.io/t/when-the-net-sdk-becomes-beta-ga/8715)

<div class="topic-metadata">

**Author:** [@jingpingw](https://community.temporal.io/u/jingpingw)\
**Replies:** 3\
**Last updated:** [December 14, 2023, 7:25pm UTC](https://community.temporal.io/t/when-the-net-sdk-becomes-beta-ga/8715 "2023-12-14T19:25:12Z")

</div>

Any plan when the .Net SDK will becomes Beta version or GA release? We are starting a new project and weighing the options. Thanks!

---

## [DeleteWorkflowExecution with Dotnet SDK?](https://community.temporal.io/t/deleteworkflowexecution-with-dotnet-sdk/9869)

<div class="topic-metadata">

**Author:** [@123](https://community.temporal.io/u/123)\
**Replies:** 4\
**Last updated:** [October 23, 2023, 5:58pm UTC](https://community.temporal.io/t/deleteworkflowexecution-with-dotnet-sdk/9869 "2023-10-23T17:58:35Z")

</div>

Hello, is programmatic workflow deletion supported with the dotnet sdk? I tried running the following code: var client = await TemporalClient.ConnectAsync(new TemporalClientConnectOptions { TargetHost = temporalAdd…

---

## [Help with Running Temporal Workers on ASP.NET (Core) Web Application](https://community.temporal.io/t/help-with-running-temporal-workers-on-asp-net-core-web-application/9756)

<div class="topic-metadata">

**Author:** [@npinti](https://community.temporal.io/u/npinti)\
**Replies:** 2\
**Last updated:** [October 11, 2023, 6:06pm UTC](https://community.temporal.io/t/help-with-running-temporal-workers-on-asp-net-core-web-application/9756 "2023-10-11T18:06:21Z")

</div>

Hi, I am currently building an AspNet (Core) website which aims to trigger long running workflows. I tried following the examples here, however, I am having a hard time in getting things to run, so any insight on what I…

---

## [.NET SDK in beta](https://community.temporal.io/t/net-sdk-in-beta/8957)

<div class="topic-metadata">

**Author:** [@loren](https://community.temporal.io/u/loren)\
**Replies:** 2\
**Last updated:** [October 11, 2023, 12:46am UTC](https://community.temporal.io/t/net-sdk-in-beta/8957 "2023-10-11T00:46:10Z")

</div>

Our .NET SDK is now in beta :partying\_face: This means that the SDK, after months of hard work and feedback, is beta quality. The SDK has been well tested, and most major API changes have been settled. We will try not t…

---

## [Temporalio .net SDK](https://community.temporal.io/t/temporalio-net-sdk/9629)

<div class="topic-metadata">

**Author:** [@Umit\_Kepoglu](https://community.temporal.io/u/Umit_Kepoglu)\
**Replies:** 1\
**Last updated:** [September 27, 2023, 3:29pm UTC](https://community.temporal.io/t/temporalio-net-sdk/9629 "2023-09-27T15:29:17Z")

</div>

hi, I would like to thank everyone who contributed to the .net sdk. What I want to know is, is there SAGA support in the current prerelease?

[Previous page](https://community.temporal.io/tag/dotnet-sdk/127.md?match_all_tags=true&tags%5B%5D=dotnet-sdk)

[Next page](https://community.temporal.io/tag/dotnet-sdk/127.md?match_all_tags=true&page=2&tags%5B%5D=dotnet-sdk)
