diff --git a/examples/dotnet/Examples/Examples.csproj b/examples/dotnet/Examples/Examples.csproj
index 09c74f5576..ea44453c08 100644
--- a/examples/dotnet/Examples/Examples.csproj
+++ b/examples/dotnet/Examples/Examples.csproj
@@ -20,7 +20,7 @@
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/examples/dotnet/Examples/WorkWithRealm.cs b/examples/dotnet/Examples/WorkWithRealm.cs
index a4b8229b13..ff4f4519c9 100644
--- a/examples/dotnet/Examples/WorkWithRealm.cs
+++ b/examples/dotnet/Examples/WorkWithRealm.cs
@@ -35,7 +35,7 @@ public async System.Threading.Tasks.Task Setup()
public async System.Threading.Tasks.Task LotsaStuff()
{
- string userEmail = "bob@bob.com";
+ string userEmail = "bob@example.com";
// :snippet-start: initialize-realm
var myRealmAppId = "";
@@ -73,6 +73,12 @@ await app.EmailPasswordAuth.CallResetPasswordFunctionAsync(
await app.EmailPasswordAuth.CallResetPasswordFunctionAsync(
userEmail, myNewPassword);
//:snippet-end:
+ // :snippet-start: resend-confirmation
+ await app.EmailPasswordAuth.ResendConfirmationEmailAsync("");
+ // :snippet-end:
+ // :snippet-start: retry-custom-confirmation
+ await app.EmailPasswordAuth.RetryCustomConfirmationAsync("");
+ // :snippet-end:
user = await app.LogInAsync(Config.EPCreds);
@@ -239,6 +245,8 @@ public void Notifications()
[Test]
public void ChangeSetCleared()
{
+ var config = new RealmConfiguration("");
+
myRealmAppId = Config.AppId;
var app = App.Create(myRealmAppId);
var realm = Realm.GetInstance("");
diff --git a/source/examples/generated/dotnet/WorkWithRealm.snippet.resend-confirmation.cs b/source/examples/generated/dotnet/WorkWithRealm.snippet.resend-confirmation.cs
new file mode 100644
index 0000000000..1d3867a0de
--- /dev/null
+++ b/source/examples/generated/dotnet/WorkWithRealm.snippet.resend-confirmation.cs
@@ -0,0 +1 @@
+await app.EmailPasswordAuth.ResendConfirmationEmailAsync("");
diff --git a/source/examples/generated/dotnet/WorkWithRealm.snippet.retry-custom-confirmation.cs b/source/examples/generated/dotnet/WorkWithRealm.snippet.retry-custom-confirmation.cs
new file mode 100644
index 0000000000..e324806d66
--- /dev/null
+++ b/source/examples/generated/dotnet/WorkWithRealm.snippet.retry-custom-confirmation.cs
@@ -0,0 +1 @@
+await app.EmailPasswordAuth.RetryCustomConfirmationAsync("");
diff --git a/source/sdk/dotnet/manage-users/manage-email-password-users.txt b/source/sdk/dotnet/manage-users/manage-email-password-users.txt
index 46f5ebbf47..5dc7138079 100644
--- a/source/sdk/dotnet/manage-users/manage-email-password-users.txt
+++ b/source/sdk/dotnet/manage-users/manage-email-password-users.txt
@@ -51,6 +51,30 @@ mehtod.
.. literalinclude:: /examples/generated/dotnet/WorkWithRealm.snippet.confirm-user.cs
:language: csharp
+Resend a Confirmation Email
+---------------------------
+
+To resend a confirmation email, call the
+:dotnet-sdk:`ResendConfirmationEmailAsync()
+`
+method with the user's email address.
+
+.. literalinclude:: /examples/generated/dotnet/WorkWithRealm.snippet.resend-confirmation.cs
+ :language: csharp
+
+Retry a User Confirmation Function
+----------------------------------
+
+To resend a confirmation email using a custom function, call the
+:dotnet-sdk:`RetryCustomConfirmationAsync()
+`
+method with the user's email address.
+
+.. literalinclude:: /examples/generated/dotnet/WorkWithRealm.snippet.retry-custom-confirmation.cs
+ :language: csharp
+
+For more information, refer to :ref:`` in the App Services documentation.
+
.. _dotnet-email-password-reset-password:
Reset a User's Password