Multiple App.Razor components
Hello, Is it possible to have an additional App.razor file that I can use for e.g. Admin area only? Currently, if I create a new folder named Admin and create a new layout there, it inherits from the existing App.razor and linked css files. Basically, I…
Update to latest runtime of .net 8 in mac
Hi, Problem:when running may app in .net 9 in debug it works but without debugging is not. error: Error: :XAML: .NET Runtime version currently executing is 8.0.5, but version 8.0.10 or later is required Diagnostic: % dotnet…
Calculating total sum of money between dates and displaying the result in label control
Hello, I have been trying to calculate the sum of a particular column in database and display the result in a label control. The column is set as Nvarchar(max). I also need to search for and display the sum based on two dates. I only have one date column…
Calculating total sum of money between dates and displaying the result in label control
Hello, I have been trying to calculate the sum of a particular column in database and display the result in a label control. The column is set as Nvarchar(max). I also need to search for and display the sum based on two dates. I only have one date column…
face registration and face authentication
hello, I am developing a app in .NETMaui. I am searching for a way where I can create a database for faces with face registration(taking picture of left profile, right profile and front face) and save it. Authenticate the user using this face database…
CommunityToolkit MVVM Command not Trigger .NET 9.0 and warning not gone
I am using CommunityToolkit MVVM to add and delete records. However, when I add records and navigate to another page as a popup, the command does not trigger. I have attached the project and a screenshot for your reference. <CollectionView…
Assistance Needed – Sending Direct Messages from My Teams App in a Multi-Tenant Setup
Hello, I’m developing a native integration between my SaaS platform and Microsoft Teams by building a custom Teams App. Goal of the Integration: When a user is mentioned in my SaaS (e.g., using @username), I want to send them a direct message on Teams…
When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.
Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak
When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.
Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak
Win11 Scaling Issues with .NET 4 WinForms Application
A WinForms application developed in .NET 4 is experiencing display issues when running on Windows 11 with a zoom level of 125%. The application does not properly support DPI scaling due to limitations in .NET 4. Attempts to use the Windows API function…
HttpClient // Timeout // The remote name could not be resolved
Hello, The remote name could not be resolved using (HttpClient client = new HttpClient()) { client.BaseAddress = new Uri(System.BaseAddress); client.Timeout = new TimeSpan(0, 0, System.Timeout); public void Exception(Exception ex, string…
How can I convert from SQL Server ORDER BY [Date] ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW to LinQ Query?
I have a SQL query and want to convert it to LINQ. It would be great if some experienced people could help. CREATE TABLE [dbo].[tbl_payment]( [Id] [int] IDENTITY(1,1) NOT NULL, [Companyid] [int] NULL, [Date] [datetime] NULL, [PaymentAmount]…
Performance issues in Session State
Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…
.net 3.5 install +0x80072EE2
Cannot install .NET 3.5. Go to control panel, "Turn Windows Features On or Off", check the checkbox, starts, end ends with 0x80072EE2 I have disabled the AV Defender, and am connected to internet. Same problem if I start from Offline…
Blazor get absolute URL from within the class
Hello, I have a class inside the Services folder. It contains a LogError(Exception ex) method in which I need the absolute URL in order to get the requested page. However, I am unable to access the HttpContext.Request.Url or any other method/extension…
IDX20803 When attempting to verify token
Our production environment started giving us the error below for seemingly no reason halfway through the day. The same code works when running on localhost (using the same tenant, clientId, etc.) Our production environment is running on AWS. Any advice…
Entity Framework with Dynamic Table Mapping Based on a Parameter (PostgreSQL Partitioning)
I am using Entity Framework with PostgreSQL and need a way to dynamically map a model to different tables based on a parameter. For example, I have a Cars model, and each company should have its own separate table: Cars_A for Company A Cars_B for…
VSCode debug dotnet: You may only use the Microsoft Visual Studio .NET/C/C++ Debugger (vsdbg) ...
I downloaded the Visual Studio Code for Mac, and use it on my Mac. Created a dotnet project and try to debug it, but I got this error message and the debugger cannot start: You may only use the Microsoft Visual Studio .NET/C/C++ Debugger (vsdbg) with…
Why does my app serve an .mp3 file correctly from localhost, but return a 404 when deployed to Azure?
I've a static web app created using Blazor in Visual Studio 2022. A static audio (.mp3) resource (located at wwwroot/audio/abc.mp3) is recognised and plays when using IIS Express / https localhost, but is not found in the Azure-deployed version. No…
DATE PICKER MINIMUM AND MAXIMUM DATES
In .NET MAUI 8 I have created a little test code to select a range of dates. <Grid Margin="10"> <Frame BorderColor="Black"> <Grid RowDefinitions="Auto,Auto,Auto"…