Microsoft Q&A

ASP.NET Core

2,850 questions

A set of technologies in the .NET Framework for building web applications and XML web services.

Browse all .NET tags

2,850 questions with ASP.NET Core tags

Sort by: Updated
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
887 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,607 questions
asked 2023-03-30T07:14:35.2433333+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
answered 2023-03-30T16:05:52.3633333+00:00
Bruce (SqlWork.com) 31,656 Reputation points
1 answer

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)] …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
asked 2023-03-30T12:26:48.4766667+00:00
Cenk 786 Reputation points
edited an answer 2023-03-30T15:12:04.0433333+00:00
AgaveJoe 20,226 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
744 questions
asked 2023-03-29T19:35:14.7966667+00:00
Anjali Agarwal 656 Reputation points
accepted 2023-03-30T12:07:04.7933333+00:00
Anjali Agarwal 656 Reputation points
3 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
asked 2022-08-04T08:08:26.98+00:00
Dondon510 221 Reputation points
commented 2023-03-30T11:16:25.6466667+00:00
2 answers One of the answers was accepted by the question author.

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", …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
asked 2023-03-29T07:33:31.9466667+00:00
Cenk 786 Reputation points
accepted 2023-03-30T10:49:45.7866667+00:00
Cenk 786 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,807 questions
asked 2023-03-20T13:49:46.3733333+00:00
BenT 5 Reputation points
edited the question 2023-03-30T10:16:56.6066667+00:00
BenT 5 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,757 questions
asked 2023-03-28T07:27:53.0066667+00:00
denesh neupane 121 Reputation points
edited the question 2023-03-30T08:36:44.26+00:00
Kael Yao-MSFT 24,591 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
asked 2023-03-28T12:34:00.33+00:00
tma9 21 Reputation points
edited a comment 2023-03-30T07:55:06.3733333+00:00
tma9 21 Reputation points
2 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
887 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,607 questions
asked 2023-03-29T18:05:28.51+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
answered 2023-03-30T06:47:13.1133333+00:00
Rena Ni - MSFT 1,941 Reputation points Microsoft Vendor
1 answer

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();

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
asked 2023-03-29T14:46:12.71+00:00
Jordan Halgunseth 1 Reputation point
answered 2023-03-30T06:44:16.7+00:00
Deepak-MSFT 2,151 Reputation points Microsoft Vendor
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,147 questions
asked 2023-03-29T08:16:19.6666667+00:00
Arwa Sami 0 Reputation points
commented 2023-03-30T05:59:29.13+00:00
Ashley Roy 0 Reputation points
0 answers

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 =>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
744 questions
asked 2023-03-27T20:06:49.5466667+00:00
Dean Everhart 926 Reputation points
edited a comment 2023-03-30T01:37:26.2466667+00:00
Farid Uddin Kiron MSFT 281 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
744 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
asked 2023-03-23T12:15:43.6866667+00:00
Juan A. Reyes Paulino 20 Reputation points
accepted 2023-03-29T19:12:26.49+00:00
Juan A. Reyes Paulino 20 Reputation points
0 answers

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 Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
206 questions
asked 2023-03-27T16:47:40.6366667+00:00
Mirko Mijanović 0 Reputation points
commented 2023-03-29T18:24:12.4166667+00:00
KarishmaTiwari-MSFT 12,036 Reputation points Microsoft Employee
2 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
asked 2023-03-29T06:04:25.7566667+00:00
Gani_tpt 1,261 Reputation points
answered 2023-03-29T15:14:56.5066667+00:00
Bruce (SqlWork.com) 31,656 Reputation points
3 answers

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#…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
81 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,808 questions
asked 2023-02-22T11:00:39.4466667+00:00
Bubba Jones 156 Reputation points
commented 2023-03-29T14:13:17.3466667+00:00
MuthuKumaranMurugaachari-MSFT 8,726 Reputation points
2 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,607 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
744 questions
asked 2023-03-29T02:31:41.36+00:00
Anjali Agarwal 656 Reputation points
edited a comment 2023-03-29T12:15:25.4933333+00:00
Arun Siripuram 816 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,289 questions
asked 2023-03-29T07:47:23.4333333+00:00
Kalpana 246 Reputation points
edited a comment 2023-03-29T09:28:29.9066667+00:00
Hui Liu-MSFT 16,106 Reputation points Microsoft Vendor
1 answer

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,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
744 questions
asked 2023-03-28T16:43:33.2166667+00:00
Dean Everhart 926 Reputation points
answered 2023-03-29T06:28:44.28+00:00
Chen Li - MSFT 401 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,850 questions
asked 2023-03-27T11:11:05.1166667+00:00
Salvatore Sanollo 20 Reputation points
accepted 2023-03-29T06:20:47.8866667+00:00
Salvatore Sanollo 20 Reputation points