How to resolve CORS errors when running Blazor WASM alongside Blazor Server and ASP.NET Core Web API?
Hi, I have a solution having Blazor WASM, Blazor Server and Asp.Net Core Web API. When I try to run the applications, the Blazor server and API work without any problem but I get this error while running the WASM. Cross-Origin Request Blocked: The Same…
How can I open Microsoft Excel in Visual Basic.NET
I am using Visual Studio 2023 for using Visual Basic. I have latest version of Microsoft Office. I want to open Excel using Visual Basic (not VBA). Please tell me how to go about it. It is very important for me.
How to fix my slow internet only Microsoft store application
slow network connection in an only microsoft store application
Where has MapIcon gone in Windows MAUI Maps ?
Hi team. I try to migrate a custom renderer for Maps from Xamarin to MAUI. I need to show a custom icon on the Map in Windows platform (found multiple examples how to do that in IOs and Droid) In Xamarin there was a MapIcon class , derived from…
How can I trigger a method from the OrderConfirmation page in Blazor WASM?
Hi, I have a Blazor WASM Client e-commerce application where I'm showing cart counts in the NavMenu. I'm trying to call the GetCartCount() method from the OrderConfirmation razor page after payment has been completed to make the cart count zero, but I'm…
Disable local authentication for Application Insights
Hello, I have a .NET 8 Api App hosted in Azure that sends telemetry to Application Insights. This applications has some web jobs that are configured like this to connect to Application Insights: var connectionString =…
The project file cannot be opened. Version 7.0.410 of the .NET SDK requires at least version 17.4.0 of MSBuild.
Due to some issue my PC got reinstalled the OS. then after i have done the same setup IDE for my work related software's in the same PC. now I'm trying to open my previous application(Azure webjob app) appearing unloaded (files are not appearing) at…
How to identify usage of Azure SQL Database 2014-04-01 APIs
I have a very old windows forms project using azure database and I'm very unsure if this project is affected by the API retirement. The project uses DataSets, TableAdapters and the old library Microsoft.Practices.TransientFaultHandling. Is this going to…
How to disable push refresh on IOS .net maui?
Hi I have a scroll view with horizontal orientation. Couple frames in view. In android work perfect. But on IOS if touch or push down the refresh start. How can I disable this refresh?
Register close button in mac
Hi, In window i did, how to do it in mac ? builder .UseMauiApp<App>() .ConfigureLifecycleEvents(events => { #if WINDOWS events.AddWindows(windowsLifecycleBuilder…
System.Reflection.TargetInvocationException: "Expression 'dest => dest' must resolve to top-level member" when configuring AutoMapper profile
I'm encountering an exception when trying to configure AutoMapper in my ASP.NET Core application. The exception message is: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->…
Migrate .net6 project to the .Net8
Hi Team, I have some of the class library, console app WPF and WinUI projects developed using .net6 in my solution. Now i need to migrate all the projects in that solution from .net6 to the .net8. Could you please provide the guide or help link for this…
root is missing error, while making frontend using window form application in VS 2022 using C#
Root is missing error, while making frontend using window form application in VS 2022 using C#. How to troubleshoot this issue.
How to assign value from session upload file into upload posted file again
i am trying to save uploaded file after some big process. i am saving uploaded file in session to retain the file upload data. i.e : uploaded file will be saving into session variable. after saving to session upload file will be cleared. but, the upload…
Mitigation for Dll hijacking
Hello Team, I found dll injection in c#, .net and c++thick client applications. But to perform dll here I needed admin access. in this case I had admin access. So what will be the standard mitigation to prevent dll injection after even get the admin…
How to insert new,update, delete existing record in single row of gridview
I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…
Getting BitLockerRecoveryKey via GraphServiceClient returns wrong VolumeType
Hi, i recently installed the newest Graph.Beta 5.75.0-preview and noticed a bug with the according Microsoft.Graph.Beta.Models. I want to get all BitLockerRecoveryKeys in my tenant. this is my Code: var allBitlockerRecoveryKeys = await…
.net maui grouping data binding not working, displays blank lines.
My listview does not bind correctly, I'm getting blank lines. ( I'm missing something in the code) (in debug) the for each loop show there is data in the Items object but it does not show up in the listview. Xaml <?xml version="1.0"…
Will VS2022 17.9 get updated for .Net 8 and 6 servicing updates released on May 28?
Components installed with VS2022 (e.g., .Net 8, .Net 6) are not shown separately in Windows settings for Apps or control panel's Programs and Features. These components have been updated as needed through the monthly patch Tuesday updates to VS through…
Microsoft (R) Visual Basic Compiler asking the upgrade the version.
We are trying to Execute SSRS report using rs.exe and will store result in CSV file. For this We have prepared (.rss) file, and executed from command prompt with following command. rs -i filename.rss -s https://server_name/ReportServer -v…