Cranberry
Cranberry
Explore posts from servers
NNuxt
Created by Cranberry on 4/21/2025 in #❓・help
feature flag implementation
hi people 🧑‍🤝‍🧑 . we are implementing feature flags but since nuxt's components are rendering in both server and client, how we can prevent users to manipulate flags. when we set page to server only, then client js does not work. there are experimental features we can utilize but i would like to ask you first if there is a better way. thank you in advance <3
5 replies
CC#
Created by Cranberry on 3/13/2023 in #help
❔ graph .net sdk email
Hello, I'm trying to send an email via graph .net sdk. Here is my code.
var message = new Message()
{
ToRecipients = new List<Recipient>()
{
new Recipient()
{
EmailAddress = new EmailAddress()
{
Address = "[email protected]",
}
}
},
Subject = "Test mail",
Body = new ItemBody()
{
ContentType = BodyType.Text,
Content = "Test mail content aşko kuşkoo"
},

};

await GraphServiceClient.Me.SendMail(message, true).Request().PostAsync();
var message = new Message()
{
ToRecipients = new List<Recipient>()
{
new Recipient()
{
EmailAddress = new EmailAddress()
{
Address = "[email protected]",
}
}
},
Subject = "Test mail",
Body = new ItemBody()
{
ContentType = BodyType.Text,
Content = "Test mail content aşko kuşkoo"
},

};

await GraphServiceClient.Me.SendMail(message, true).Request().PostAsync();
And here is the error message: Microsoft.Graph.ServiceException: Code: RequestBodyRead Message: The 'odata.nextLink' instance or property annotation has a null value. In OData, the 'odata.nextLink' instance or property annotation must have a non-null string value.
4 replies