How to validate textbox with empty field in wpf forms
Hi Team I have these two fields i want to validate, does anyone knows how to achieve this in wpf on the forms? The bottom seal and TopSeal fields, if empty it must prompt a window dialog message.
No more support for Web forms in Visual Studio 2022?
Hi, In new Visual Studio there is no more option to create Web Forms web application? Are MVC only future architecture Visual Studio will support for WEB pages? Thx
what is the most current Windows platform for .NET and C#
I see on the internet that MS has deprecated UWP. What do I need to add to my Visual Studio 2022 Community edition in order to program using the latest flavor of Windows for general Windows Apps? I'm getting frustrated trying to discern the myriad…
Error loading report.rdlc,Unable to copy bin\debug\
Good afternoon again, I have already searched for information online, but I have not been able to find the error. The error is the following: An error occurred during local report processing. The report definition has not been specified, the file is not…
Create, Reference and use a Razor class library.
Hello! I'm training on Microsoft Learn. My current stage is the following module: https://learn.microsoft.com/en-us/training/modules/blazor-build-reusable-components/3-create-razor-class-library First of all, this exercise starts saying that it uses…
Dynamically pass the B2C sign-in policy in .NET 8
I am developing the web application using .NET 8 with Asp.NET MVC and using Azure B2C tenant for Authentication. And it will be hosted in the Azure App services that configured with two domain urls. Based on the requested Urls, I wanted to pass the…
Blazor web app net 8 rendermode auto with API
I am creating a web application with blazor web app and net 8 with rendermode Auto. I have an api created in .net hosted on another server different from where the blazor web application will go. The api needs a token in each call, I am having problems…
Linq join of 3 tables
I have three tables with same fields. I can join 2 tables with following Linq. List<CommonPoints> lista = poso.assists.ToList(); List<CommonPoints> listp = poso.points.ToList(); List<CommonPoints> listg=poso.goals.ToList(); var…
How to fix this error: The package reference 'Microsoft.NETCore.Targets' should not specify a version.
I am reaching out to seek assistance with a challenge I've encountered during the migration of our projects to the .NET 8.0 isolated worker model and Azure Functions v4. Despite following the provided documentation closely, the build process is not…
Selection using Selection Rectangle
Can anyone please tell me how to make this kind of behaviour in our own WPF app. Right now i am making a File explorer kind of behaviour using the WPF datagrid. Can someone please help me with the logic or post some code. Here if we see the rows are…
EditForm in Blazor does not work on submit
Below is the source code, brand new blazor project vs2022 , Version 17.9.5 put a break point on string breakpointhere = "z"; examine xx variable - for the model, you will see that the MyTitle string is always null. Such basic stuff…
Strategies for Managing Custom Requests in .NET Core Projects
Hi everyone, My team and I are starting a new project. We plan to develop and sell this project to multiple companies. While we will be the sole developers, we'll incorporate requests from these companies into the project. The project will undergo a…
Custom ApiController Model Binding type conversion error
According to the Model Binding documentation: In an API controller that has the [ApiController] attribute, invalid model state results in an automatic HTTP 400 response. So when I send an invalid type in the request body (e.g. int instead of string),…
When pressing 'RUN' after entering code in .Net editor nothing happens
When pressing 'RUN' in .Net editor (in Microsoft Learn) after having entered some code nothing happens - the little round arrow simply keeps spinning around...?
VS 2022 ReportViewer Error: "The report cannot be displayed. The report viewer could not find a report definition."
Please help me with this problem I'm having. I'll start by explaining my problem: I need to load reports, and for that I'm using the native reports of VS 2022. Here's what I've done so far: I created my .xsd file called DataSetInformes.xsd I added my…
Fullscreen on Mac
I made it fullscreem for Windows. .ConfigureLifecycleEvents(events => { #if WINDOWS events.AddWindows(windows => windows .OnWindowCreated((window) => { …
How to solve the white page problem in blazor server.
When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …
how do I find the working area of my uwp app in .net using C#
This is a simple question but I'm having a rough time finding an answer. What I want to find is the working area of my application. I'm working in Visual Studio 2022 and have created the basic project. Searches on the internet result in many answers…
CTRL Commands Not Working with Winforms Web Browser
Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…
Column in grid overlapping when the data is updated at runtime
I am using a custom control with a frame(contains an entry and an icon in a horizontal grid) and a collection view in stack layout with vertical orientation as attached below. I am facing an issue wherein when a search text is typed matching lowest…