I'm experiencing problems with EF and SQL Server when running on Azure Webservice. The same code runs fine from VS with same db.
If I turn debugging on and connect my VS to the process, the error doesn't occur. Also I can run the code just fine from Visual Studio towards the same database. I do not Lazy Load. All Queries ens with ToFirstAsync() or ToListAsync() and has a Select to…
How to Detect Stylus Pen Sides (Pen Tip vs. Eraser) in WPF (C#)
Hello, I’m developing a WPF application in C# that interacts with a stylus pen on a Windows device. I need to detect which side of the stylus is being used—whether it’s the pen tip or the eraser side. Could someone guide me on how to achieve this…
Web App taking high CPU when I am loading a particular web page.
My web app CPU going high when I am uploading a web page while the copy of uploading page working fine without any issue of CPU. Actual Page = mpn Page Copy = mpn1 I don't know what's going on
Points displaying wrong
Hello I am sorry or not putting the framework correctly, but I cannot find WinUI The problem is that in the canvas my points are displaying correctly but when I go into guided mode to select my points they dont correspond I don't have point 1,…
Ram consuption above Threshold
Hi, In maui version 8 there is a problem when moving pages the memory not release. I would like to ask how to observe the RAM and if it pass threshold x it will be presanted in UI label in red color, otherwise in green color. Use MVVM…
How can I see why a project cannot use "Application Timeline"
I have two startup projects in a solution - both are WPF applications that produce an .exe output tied to an xaml application. I would like to use the Application Timeline feature to analyze my app and for one project I can select the feature, but for…
Is there a sample MAUI application to call c/c++ libraries that can be built from Windows and used on Windows, iOS and Android?
I am trying to convert my Xamarin.Forms mobile applications to MAUI. My applications depend on C libraries developed by government agencies (NOAA and USNO). For Xamarin.Forms I found a very good example for building a NuGet package from C library code…
Not Working SetWindowPos for "On Screen Keyboard". Is there a way to fix this?
I want to always open the on screen keyboard in the secondary screen when there are two screen. I tried the "SetWindowPos". But it didn't change the position of on screen keyboard. Is there a way to fix this?
Whenever i try to run my game program i get this error
See the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.************** Exception Text System.OutOfMemoryException: Insufficient memory to continue the execution of the program.at…
Whenever i try to run my game program i get this error
See the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.************** Exception Text System.OutOfMemoryException: Insufficient memory to continue the execution of the program.at…
WPF Cannot see SelectedItem in TreeView
I'm using WPF .Net 9.0, I cannot see the SelectedItem element of the TreeView. Anybody would know why ?
WPF Cannot see SelectedItem in TreeView
I'm using WPF .Net 9.0, I cannot see the SelectedItem element of the TreeView. Anybody would know why ?
How to invalidate .AspNet.ApplicationCookie Cookie in ASP.NET MVC 4.6.2
Hi Sir/Madam I have web application using ASP.NET MVC 4.6 version. In Startup, I am creating ApplicaitonCookie like below app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType = "ApplicationCookie", ExpireTimeSpan =…
Change the width of scrollbar in MAC
Hi, How to change the width of scrollbar in MAC ? Thanks,
Facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python
Hello, We are facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python. The main application (Python) and sub-application (ASP.NET) work together.The ASP.NET…
.NET for Android on new SDK style
I moved my android app form the original android style to the new SDK style, it compiles fine. However, this call no longer works: HttpClient webclient = new HttpClient(); webclient.MaxResponseContentBufferSize =…
Maui version 9.0.30
Hi, Maui version 9.0.30 does not come with Visual Studio updates, I have to manually set it to the project. <ItemGroup> <PackageReference Include="Microsoft.Maui.Controls" Version="9.0.30" /> Can you explain this ? …
ML.NET Time Series algorithms to predict future forecasts
I got the suggestion from github copilot , SSA timeseries algorithm from ML.NET I got NIFTY BANK csv from the below file and tried to run forescast. https://www.nseindia.com/reports-indices-historical-index-data The last record is Last Record:…
How to fix a cryptographic keys error
I have recently upgraded the my web app to .Net9. I am now getting this error message from a call to CosmosDB to get a specific record... System.Security.Cryptography.CryptographicException: The key {92c2f09a-14ff-4cea-8f15-e09dcec74987} was not found in…
.NET application not showing images after server updates on windows 2022
After server updates, .NET application running in IIS is not showing any images and unable to connect to any js, css resources