Content
when connect to db2 database it balzor form hangs and stuck ?
I working on blazor web application working on two database sql server and db2 i face issue when connecting to db2 to get some data data retrieved slowly and some times hang and stuck so i need to make best idle case to handle connection issue to db2…


Required Query String Parameters in ASP.NET Core
Hello guys, I am trying to set the query string parameters required like below; [Authorize] [HttpGet] [ProducesResponseType(typeof(ReconciliationResponseDto),StatusCodes.Status200OK)] …
using custom font inside C# .net core application
I have the following code in my C# application that coverts text to image. In this code, I am using a custom font. I am specifying the path of the custom font, the custom font resides in my wwwroot folder. below is the code where I am using custom…


How to set multiple selected value and show them in dropdownlist with MVC?
How to set multiple selected value and show them in dropdownlist with MVC? my .cshtml <div class="col-6 mb-1"> <label class="form-label" for="">Members</label> <div…


How to add example value to 200 OK response in ASP.NET Core 6 Web API?
Hi, I have an ASP.NET Core 6 Web API, I am using Swagger UI. Is it possible to add an example value to 200 like the one in the 400? I want to add an example like this; { "referenceId": "732aa76f-6c9c-4598-adaf-775aef8a0f3d", …
VisualStudio debug services on Docker-Compose not starting
Hi, I try to debug 3 services using Docker-Compose in VS 2022. ServiceC depends on ServiceB which depends on ServiceA. All of these "depends*on" use condition: service_*healthy and every service has a healtcheck. VS will only start container A…
How to read the large data from serial port in visual c++/cli
i am trying to read the large file from serial port expected output 112 212 311 411 but i get new line between some data like output 112 212 /n 311 /n 411 I got some extra new line .how to solve it private: System::Void…


How to update appSetting for a Background Service (Service Worker) (.NET 6)
Hello, I came to ask you for your help, please. I have created a Worker Service which periodically deletes files in a folder. My path to the folder is stored in an App.config file, I read the value via ConfigurationManager. It works, but I want to be…
How to display and hide drop down lists based on condition drop down list ?
I work on blazor server side I have drop down list condition have 3 option server and database and owner . every option from these three options have one drop down list only so server have drop down list database have drop down list owner have drop down…


textbox cursor at top
i have this code to move to bottom of textbox It does not work //move carat to end of text textBox1.Select(textBox1.Text.Length, 0); textBox1.Focus(); textBox1.ScrollToCaret();


How to create query builder from dynamic multiple tables by ASP. Net Core?
I want to build a dynamic report by Asp.net core -EF-, that is received tables and columns names from user, and then create SQL query depended on theses inputs, to generate dynamic report, I searched how can create SQL query, but most ways were with one…


Viewing Embed Link (Thumbnail) that is the content of a property
I would like to be able to access an embed link that is the string content of a property in the same manner that the code below allows me to access a web link that is the string content of a property. <a href=@Html.DisplayFor(modelItem =>…


Access Control
Good morning, I am working on a .NET Core 6, SQL Server project and I need some idea of how to implement permissions by fields, let me explain: in a form, for example, that has [Name, Surname, Date, Address, Gender] to be able to assign in an access…


Service fabric application project not crated properly
Hi I need to set up service fabric for Uni project, and I run into an issue I will try to explain as clearly because I am not sure where does the problem come from: When I create Service Fabric Application project, VS2022 creates only Service Fabric…


ASP.NET Design Template with Bootstrap
I am developing many web application using ASP.NET. For that, i used Ajax,CSS,HTML,etc. We were not used in depth Bootstrap and other technologies with ASP.NET. I have the requirement and want to develop .NET Web application with Rich and user friendly…


Invoking azure functions server SignalR group functions from ASP.NET Core Client
I am trying to invoke azure functions server SignalR group functions from an ASP.NET Core client. The server side code that I am trying to invoke via an ASP.NET Core client can be found in this article. I have not found a single reference of a C#…


converting a text to an image
I am trying to convert a text to an image. When I see the converted image, the font family is changed. This is my code that works fine on my localhost, but when I deploy the code to the server. The font family family that I specified in the image…


WPF tutorials with .Net core and MVVM pattern
Hi I am not able to find any specific videos where I can learn WPF with .Net core using MVVM pattern. Am I not finding it properly ? If there are, could anyone please guide me to any of those tutorials. I see alot of MVC with .Net core or am I searching…


Multiple Column Pull Down Menu
How do I program the pull down menu below to display multiple columns? GitHub: https://github.com/DeanEverhart/ContosoUniversity1 Tutorial: https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=aspnetcore-6.0 Environment: Net Core 6,…


Custom configuration provider with sqlserver
Hi everyone, I need to create my own customized provider configuration with a sqlserver database in order to offer my client (who manages his website) to change some settings. My idea is to use the settings in the json file for the "system"…

