<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dapr Jobs .NET SDK on Dapr Docs</title><link>https://v1-18.docs.dapr.io/developing-applications/sdks/dotnet/dotnet-jobs/</link><description>Recent content in Dapr Jobs .NET SDK on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/developing-applications/sdks/dotnet/dotnet-jobs/index.xml" rel="self" type="application/rss+xml"/><item><title>How to: Author and manage Dapr Jobs in the .NET SDK</title><link>https://v1-18.docs.dapr.io/developing-applications/sdks/dotnet/dotnet-jobs/dotnet-jobs-howto/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/sdks/dotnet/dotnet-jobs/dotnet-jobs-howto/</guid><description>&lt;p>Let&amp;rsquo;s create an endpoint that will be invoked by Dapr Jobs when it triggers, then schedule the job in the same app. We&amp;rsquo;ll use the &lt;a href="https://github.com/dapr/dotnet-sdk/tree/master/examples/Jobs">simple example provided here&lt;/a>, for the following demonstration and walk through it as an explainer of how you can schedule one-time or recurring jobs using either an interval or Cron expression yourself. In this guide,
you will:&lt;/p>
&lt;ul>
&lt;li>Deploy a .NET Web API application (&lt;a href="https://github.com/dapr/dotnet-sdk/tree/master/examples/Jobs/JobsSample">JobsSample&lt;/a>)&lt;/li>
&lt;li>Utilize the Dapr .NET Jobs SDK to schedule a job invocation and set up the endpoint to be triggered&lt;/li>
&lt;/ul>
&lt;p>In the .NET example project:&lt;/p></description></item><item><title>DaprJobsClient usage</title><link>https://v1-18.docs.dapr.io/developing-applications/sdks/dotnet/dotnet-jobs/dotnet-jobsclient-usage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/sdks/dotnet/dotnet-jobs/dotnet-jobsclient-usage/</guid><description>&lt;h2 id="lifetime-management">Lifetime management&lt;/h2>
&lt;p>A &lt;code>DaprJobsClient&lt;/code> is a version of the Dapr client that is dedicated to interacting with the Dapr Jobs API. It can be
registered alongside a &lt;code>DaprClient&lt;/code> and other Dapr clients without issue.&lt;/p>
&lt;p>It maintains access to networking resources in the form of TCP sockets used to communicate with the Dapr sidecar and
implements &lt;code>IDisposable&lt;/code> to support the eager cleanup of resources.&lt;/p>
&lt;p>For best performance, create a single long-lived instance of &lt;code>DaprJobsClient&lt;/code> and provide access to that shared instance
throughout your application. &lt;code>DaprJobsClient&lt;/code> instances are thread-safe and intended to be shared.&lt;/p></description></item></channel></rss>