Content
String interpolation using $ throws System.NullReferenceException on .Net7
We have in my team just upgraded to .net 7 from 6, but we have run into a issues with string interpolation using $"Text {sample}" We are all developing on Intel Macbook Pro's using both Visual Studio or JetBrains Rider. But since the upgrade…


How to convert xml to style so that browser can render html from xml when using RSS
I have downloaded a app called MessageBoard and trying to configure RSS Feed to output serialised data to browser. The result display a error message with code written in xml format. This XML file does not appear to have any style information associated…


Loop through Controls in ScrollView and Get the Data
Hi, In below XAML: <ScrollView x:Name="ScrollViewDetails" Grid.Row="1"> <VerticalStackLayout> <VerticalStackLayout x:Name="StackLayoutPhones"> <BindableLayout.ItemTemplate> …


Help with CommunityToolkit.MVVM
Hi, I am trying to use the CommunityToolkit.MVVM but when setting the two values in my sample vcard and color it's not getting Binded later on. the Popup as you can clearly see in the sample. https://www.softnames.com/temp/MVVMApp.zip Kindly…


Visual Studio giving errors about incompatible packages that are not installed
I have an ASP.NET Blazor server-side solution that I (and other team members) have been working on for months. I just pulled the code from source control onto my lap top. However, VS gives errors like this... Package Microsoft.Win32.Registry…


How to query the device twin graph using the built-in `LastUpdatedOn` property from the BasicDigitalTwin?
The BasicDigitalTwin holds a built-in property LastUpdatedOn. As a developer, I want to run a query to find all the stale or fresh twins, example: SELECT * FROM DIGITALTWINS WHERE LastUpdatedOn > '{yesterday}' This query is syntactically correct but…


Max size of System.IO.MemoryStream
Im trying to fetch a .bak file of 3GB size and upload to my blob storage using the SSH.NET package. I get an System.IO.IOException: stream was too long error! I cant find the max size of handeled streams for the System.IO.MemoryStream anywhere. Do…


error when I tried to findBy string in API
Hello, currently, I'm learning Swagger, when I tried to create find by username ,I got the below error [HttpGet] [Route("{fullname:string}")] public async Task<IActionResult> signIn([FromRoute] string…


error when I tried to findBy string in API
Hello, currently, I'm learning Swagger, when I tried to create find by username ,I got the below error [HttpGet] [Route("{fullname:string}")] public async Task<IActionResult> signIn([FromRoute] string…


How do I add HATEOAS support to a .NET Core 6 OData enabled API
Creating a .NET core 6 based Web API. Looking to support OData features such as $filter, $select, $orderby, $count, and to also provide HATEOAS links in responses. Having a hard time finding a good example of a code pattern that incorporates both OData…


How to remove shared permission individual wise from an external user using One drive API inc#
I have uploaded a file in one drive using MS graph one drive API. I have also shared this item to external users by using one drive API. These two external users also showing in the manage access section as Link User. i want to remove individual Link…


How to Remove Permission for shared item individually in One Drive API in C#
I have uploaded a file in one drive using MS graph one drive API. I have also shared this item to external users by using one drive API. These two external users also showing in the manage access section as Link User. i want to remove individual Link…


Best structure for a zero downtime simple ASP .NET / DB web app
This will be a pretty simple app with a lot being read from the DB, display on the web page; submit a web page, write to the DB. With some calls to some standard ML services as part of a query on the DB and evaluate what is submitted. It will be a…


How create a Xamarin Android distro than can be sideloaded?
I have done this before. I believe in Android Porject->Properties->Archive I used to be able to create an APK that could then be sideloaded from a shared Windows server onto an Android device. I am now on VS 2022 and it seems the only Archive…


Is there a Event handler available on .Net / c++ /c# for Wireless profile added event and deleted event?
I want to register a Windows app for listening to Wireless profile changes (Addition or Deletion) performed on Windows settings or by executing netsh commands from CMD. Is there any event handler available for the same? If yes, how to register for the…


Layout design for mobile and desktop (width, height and density)
I want to display data tables in an application on mobile as well as in the web browser or on the desktop and I want it to look appropriate. My idea is to show or hide the table columns depending on the width of the screen ( Note: I can open the row…


Layout design for mobile and desktop (width, height and density)
I want to display data tables in an application on mobile as well as in the web browser or on the desktop and I want it to look appropriate. My idea is to show or hide the table columns depending on the width of the screen ( Note: I can open the row…


Add-Migration CreateIdentitySchema
Having difficulty with the Add-Migration CreateIdentitySchema step in the tutorial. Any help would be appreciated: Tutorial:…


Add-Migration CreateIdentitySchema
Having difficulty with the Add-Migration CreateIdentitySchema step in the tutorial. Any help would be appreciated: Tutorial:…


No funcionan los breakpoint .net 2005 en win11
Recientemente actualice mi computadora a win 11, y tengo instalado el .net 2005, y ahora no funcionan los breakpoint en ningún website que tengo, no me marca ningun error simplemente no los reconoce. Ya intente todas las soluciones que he encontrado…