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)
Issue with move folder API in Microsoft Graph when Email ID contains "/"
When attempting to move a folder using the following endpoint: Endpoint: https://graph.microsoft.com/v1.0/me/messages/{EmailId}/move I'm encountering an error when the EmailId parameter contains a "/" symbol. Despite trying to encode the Email…
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
How to make UWP MediaElement to be loop mode when casting to a TV?
I find that when using UWP MediaElement (component name: video), it works well to be in loop mode when set as below: video.IsLooping = true; // method 1 video.MediaEnded -= Video_MediaEnded; video.MediaEnded += Video_MediaEnded; // method 2 private…
How to apply search in collection view with portion loaded data?
i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…
MS ResourceManagementClient.GetResources overload issue
I am new to C#. When I put following code in VS 2017 it shows error message: Error CS1503 Argument 2: cannot convert from 'int' to 'System.Collections.Generic.IEnumerable<string>' Error CS1503 Argument 3: cannot convert from 'string' to…
How to create a custom text editor VS2022
I am looking for some way to open a new window in visual studio that acts as a customizable text editor with the contents of a file (given by specified file path). I would then like to configure the features of the editor such as setting it to read only.…
Adding custom icons to files on desktop crashes explorer.exe
I have a Windows service application to add custom icons to files and directories using .Net Framework 4.5.2 SharpShell library. When I try to create a Microsoft Excel file on desktop, file icon moves to default file position on the desktop (top left).…
Visual Studio Code syntax errors not being highlighted for C#
I am creating a new console project in Visual Studio Code using "dotnet run new console -n 'name'", but syntax errors are not being highlighted anymore. Even when I forget to use a ";" or make a syntax error, I don't see error…
How to fix Add-Migration problem?
Hi, I am trying to add another entity to the database in my e-commerce solution which includes client and admin projects using Blazor WASM and Server, Asp.Net Core API, and data access projects. However, I am getting an error message as shown below: How…
.dll file working with windows 10 gets stuck on FileNotFoundException error with windows IoT Core.
Hello everyone, In the software that I created with Keyence image sensors, I run a .dll file and import the data from FTP to my program. In this software I created with Windows10 .Net Framework 4.8, the target version of the .dll file is 4.0.0. My…
Why "connection" is "Null"?
Dear all, Why "connection" is "Null"? string cConnectionString = "Data Source=(local); Initial Catalog=Tims; Integrated Security=True"; using (SqlConnection connection = new…
![](https://techprofile.blob.core.windows.net/images/qKhqojfiHkWW5CpW9MX16Q.png?8DA8FC)
How to create bootstrap Tab Menu in top of the heading on ASP.NET Home page
I have designed login page for my asp.net application. when user logging the application, in the home page, user want to see the settings of their menu's like below. On the top of the heading in right corner, user want to see the settings image. when…
SQL Mail Account Name not displaying properly while sending mail from ASP.NET Application
I am developing ASP.NET web application. In that, i am sending mail to end user from my SQL Mail profile. i have the below mail profile and account name and mail id. SQL Mail Account Name : IND GROUP MAIL E-mail ID : indteamsupport@jeevesteam.com We are…
How to export viewstate data to pdf in ASP.NET C#
I am developing asp.net application and i already done from viewstate to excel (not from gridview to excel). But, i am struggling to export pdf from viewstate. my viewstate columns is nearly having 20 to 25 columns. below is my code and correct me where…
Access members@delta from group delta query
Hi There, I'm trying to get the group member changes from group.delta query But i cant access "members@delta" any ideas ? This is what i'm trying to do string deltaLink = deltaPage.OdataDeltaLink.ToString(); var groupResult = await…
.Net Maui, use gestures on tabbed page
Hi, I have a tabbed page with 2 tabs, on one tab I have and image that I would like the user to be able to use touch to pinch zoom and pan the image around. I use this to show the image: <Grid x:Name="imageView"…
Problem passing a structure by reference
I have a class and in one of the functions Fcn_Task_Async() I have a parameter that is a structure called "ref StTask_Async". Inside the function, I need to create a Task passing "ref StTask_Async" to assign values in the…
Solution Parser not working in .Net8
Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…
Get Sql instances in .Net
How can I retrieve a DataTable from Sql Server instances in .Net? In the .Net Framework it was done this way: SqlDataSourceEnumerator instance = SqlDataSourceEnumerator.Instance; DataTable table = instance.GetDataSources(); string…
How to detect a device
Hi, I'm currently working on .net core web API project . There is a moment that I can't figure out. I had to detect the device which user used when signed in. I used "user-agent" first but this only says if its smartphone, Desktop etc. And only…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)