Setting PropertyBag Property without allowing custom scripts
We are setting Propery Bag values of a Sharepoint Online Web from an Azure Function using the Microsoft.SharePoint.Client (Microsoft.SharePointOnline.CSOM) Library with the SetPropertyBagValue. For setting a Property Bag value the "Allow Custom…
azure account and I want to set up a win2012r2 server,
I have an azure account and I want to set up a win2012r2 server, but there is no win2012r2 in the list. I know that the support has been discontinued and it causes security problems because it will no longer be updated, but I still want to set up a…
How to create an MS style documentation
We are currently looking for ways to automatically create a documentation for our whole codebase. There are many tools out there DocFX, Sandcastle, Doxygen. How does MS create its documentation. For us the style of the MS is very good, and we'd like…
XmlSerializer problem with namespace
Hello! I need to deserialize and serialize this XML. Unfortunately without success. Why, who can solve it? Where is the cause? Target <COM_1 xmlns="urn:biztalk-org:biztalk:biztalk_1"> <body> <doc:Z_COATING_ORDER…
ADFS retrieving claims using native client application
Hi, We are currently attempting to write a test application in C#, which needs to retrieve certain claims upon authorization. No matter what we have tried, it seems we only receive the same 10 claims from the ADFS server (see image for the received…
could not load file or assembly'Microsoft.data.sqlclient'
how to solve this error
How to set a fixed width for the header of TabViewItem in TabView
There is a TabWidthMode property for TabView to specify the width of the tabs. But I want to set a fix width for each tabs. So how to do it? I have a Style setting for the TabViewItem, but I don't know how to add the Width property into…
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
How to save a many to many relationship with Entity Framework
Hi, I have a many to many relationship between Flight and Journey, so I have created an intermediate table to create the relationship: the thing is, I have a list of flights and one Journey, so how can I create the code to make the assembly so I can…
webservice service System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
I am currently encountering an issue with a web service. The server-side field MinimumOrderAmount is of type double, and in my receiving program, I have defined it as decimal. When the server sends a value of 9999999999 for MinimumOrderAmount, my program…
SpeechSynthesizer sometimes plays speech depending on SpeechSynthesisOutputFormat
In a C# WPF application, I call this function to convert text to speech: SpeechSynthesisResult speechSynthesisResult = await speechSynthesizer.SpeakSsmlAsync(strSsml); The audio data is returned ok. BUT the function also sometimes plays the speech as…
Manage Bluetooth with an ASP.NET app
good evening, I find myself creating a web application with asp.net in windows 11 also targeting previous versions, for managing bluetooth. I tried to integrate Windows.Device.Bluetooth with the VS22 package, but I get error NETSDK1130. I would like to…
How to insert HTML to a Blazor WASM?
I am working on an e-commerce solution. The client side is a Blazor WASM .Net 6 project. I am trying to use a 3rd party payment gateway and unfortunately, their support is very poor. I am trying to progress by trial and error. On the checkout razor page,…
Error when building Unity+MRTK3.0 project: 'The type or namespace name 'EyesPose' could not be found'
I am building a project with Unity+MRTK3.0, and I am getting an error that states: 'The type or namespace name 'EyesPose' could not be found'. However, the script 'EyeCalibrationChecker' has 'using Windows.UI.Input.Spatial'. The error message shows:I am…
.Net Maui writing to Xaml file.
I would like the user to be able to modify the XAML to fit their visual needs for example make text larger. And then be able to save that setting and reload the XAML file for that particular user. I get a compiler Error saying the name 'XamlWriter' does…
Apply WSS to SOAP request
Hi, My Requirement is to apply outgoing WSS using RSA with SHA 256 using a certificate to the XML. Can you help me with how to achieve this? XML request is attached. xml request.txt
The data specified for the media type is invalid inconsistent or not supported by this object
Hi, I have an windows form application which is recording video by using Media Capture. This app is taking hundreds of record in a day but in a few days getting(once in 500-550 record) an error which below; "The data specified for the media type is…
Using Localization with DataAnnotation where do you put the ressources file and how to access it
I am using .Net Core 8 I succeed to use StringLocalizer and HtmlstringLocalizer I want to localized DataAnnotation the [Display(Name = "PhotoEpisode")] and the error message [Required(ErrorMessage = "Le sous-titre de l'épisode est…
Reading Emails from outlook in C#
Hi, hope you are well. Junior dev here. I am trying to figure out how to get my C# application to read emails from a certain address, if it matches then check if it has an attachment. IF it does extract the attachment and store it locally. I can not…
Error Verify Signature XML DGI UY always return false
I am working on validating the signature of an XML envelope in this case from Uruguay, but due to the signature verification method it always returns false using .Net C# The tests carried out with unsuccessful results, apply the following code that…
![](https://techprofile.blob.core.windows.net/images/BTjBG5WkqUaa1qdq6cLcJQ.png?8DA7A1)
Switching Between System Power Saving Mode in UWP app ,makes the app non-responded for a while
My UWP app was not responding for sometime, when switching between power Saving mode(windows settings) while App was running. To Reproduce the issue , Run the app Open Windows System Battery Settings -> Enable/Disable Power Saving Mode Now try to…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)