Microsoft Q&A

.NET

14,122 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

14,122 questions with .NET-related tags

Sort by: Updated
1 answer

Javascript issue

Hi, It is showing "undefined" to the 1st column and can you help and check the project below? https://1drv.ms/u/s!Ai8CrEskdewXykrPvEzLNAv4XY7Z?e=CAEWAW

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
469 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,336 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
521 questions
asked 2023-03-31T09:30:27.8833333+00:00
Peter_1985 1,891 Reputation points
commented 2023-04-01T03:30:43.6266667+00:00
Peter_1985 1,891 Reputation points
0 answers

Looking for Help for generating .MSI on GITLAB Linux docker container

Hi All, Good Morning/Evening! As a part of User Story, I need to generate a .MSI out of 3 Projects in .net and facing Issues in GITLAB CI/CD Pipeline. GitLAB CI/CD pipeline will run these 3 Projects in GitLab runner and as we do no have ADMIN privileges…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
907 questions
asked 2023-04-01T02:12:18.6066667+00:00
venkata gourisetty 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Add the publisher to the trusted publishers store on all clients?

Hi, I have a problem adding a certificate to the trusted publisher store. I ran this command in cmd with admin rights but cmd said certmgr.exe not found: certmgr.exe -add certificate.cer -c -s -r localMachine TrustedPublisher If there is any solution or…

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,621 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
907 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
419 questions
Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
2,433 questions
asked 2023-03-29T03:45:50.2633333+00:00
365 timviec 40 Reputation points
accepted 2023-04-01T01:09:13.3066667+00:00
365 timviec 40 Reputation points
0 answers

Why is Maui's "Colors.xml" not found building with Visual Studio Mac but is with Visual Studio Windows?

Using VS Mac 17.6 Preview 2, building a MAUI application, it is responding with "Resource "Resources/Styes/Colors.xml" not found (XFC0124)" as an error. Building the exact same code, just copied to the Mac for its build, with VS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,111 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,815 questions
asked 2023-03-21T18:20:33.5833333+00:00
Marc George 66 Reputation points
commented 2023-04-01T00:12:09.7133333+00:00
Pedro s 1 Reputation point
1 answer One of the answers was accepted by the question author.

ID Card Template: Set background image of Card by clicking an image in Imagebutton in DataList

I have DataList that shows images from database; the images are contained in an Imagebutton. I also have a card on the web page, the card has labels and image controls. I want to be able to click on any of the Imagebuttons, and pass the clicked image as…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
469 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,336 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,621 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
907 questions
asked 2023-03-30T23:09:11.26+00:00
Donald Symmons 1,306 Reputation points
accepted 2023-03-31T23:50:38.5733333+00:00
Donald Symmons 1,306 Reputation points
0 answers

Upload file to users onedrive under same domain

we want to develop a web app from which we can upload files to student's one driver under our Azure domain ( Iwht out student credentials). for this we need a list of all students, then we upload particular files to each student depending upon their…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
907 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
187 questions
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
826 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
653 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,519 questions
asked 2023-03-31T22:53:44.2466667+00:00
Rehmuk 0 Reputation points
edited a comment 2023-03-31T23:07:40.77+00:00
Ed Harris 10 Reputation points
0 answers

Why does the .net maui title bar disappear on iOS when using shell.searchhandler?

I am developing a .net maui iOS app that uses shell.searchhandler. The app also uses shell.titleview, which appears above shell.searchhandler in the XAML. When you tap in the search box, the virtual keypad appears, but the shell.titleview disappears.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,111 questions
asked 2023-03-29T17:27:35.94+00:00
Kurt K 76 Reputation points
commented 2023-03-31T22:52:14.3133333+00:00
Kurt K 76 Reputation points
0 answers

ASPX Web page Calendar will not show the top < Month > bar

Dragging in a simple calendar from the tool box (Vb not C#), I cannot seem to get the top < Month> bar to show on the calendar. Am I missing an Import code or web.config file code that tells this calendar what month this is? Never had this problem…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
469 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,336 questions
asked 2023-03-31T16:05:50.67+00:00
Chuck Vensel 0 Reputation points
commented 2023-03-31T21:36:39.2166667+00:00
Albert Kallal 3,451 Reputation points
1 answer

visual studio pair to mac stuck on connecting

I was able to connect Microsoft Visual Studio 2022 ver (17.5.3) to Ventura ver 13.3 Mac OSX running in docker image and I never used to have any issues until I had to reformat my pc, since then I have hit a bit of a wall. The iOS simulator launches in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
907 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,111 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
1,950 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
4,155 questions
asked 2023-03-31T02:28:59.3033333+00:00
Patrick Hume 0 Reputation points
commented 2023-03-31T21:19:51.08+00:00
Patrick Hume 0 Reputation points
1 answer

Post API gives error on sending the request

Hello, I tried to post to API but the C# code give me error "Failed to connect to localhost/127.0.0.1:7091" while if I tried to use Postman , it will work, for the recieved Json in APIService…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,111 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,621 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
171 questions
asked 2023-03-31T17:19:41.24+00:00
ahmed omar 121 Reputation points
commented 2023-03-31T18:32:09.7133333+00:00
Jaliya Udagedara 2,686 Reputation points MVP
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…

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,621 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,853 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.
890 questions
asked 2023-03-30T07:14:35.2433333+00:00
Ahmed Salah Abed Elaziz 105 Reputation points
commented 2023-03-31T18:19:19.02+00:00
Ahmed Salah Abed Elaziz 105 Reputation points
0 answers

Blazor WASM Hosted Azure AD Application crashes after receiving Token

I have a Blazor WASM Hosted App that is using Azure Active Directory using the MSAL nuget package. During the login process, after receiving the access token, the application crashes with a JSON Parsing error. Have worked through the online walk…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
890 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,678 questions
asked 2023-03-16T02:06:53.79+00:00
David Reckner 0 Reputation points
commented 2023-03-31T18:00:40.24+00:00
Bruce (SqlWork.com) 31,741 Reputation points
1 answer

Can SQLBulkCopy be nested transaction?

Hi, I like to archieve a single transaction commit after running Project A update statement and Project B SQLBulkCopy. Is it possible for SQLBulkCopy to be nested inside Project A transaction? I have try pass in Project A SqlTransaction and use inside…

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,621 questions
Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
231 questions
asked 2023-03-31T10:23:58.24+00:00
HAN MING ONG 21 Reputation points
answered 2023-03-31T17:39:59.7933333+00:00
Bruce (SqlWork.com) 31,741 Reputation points
1 answer

Android Google code scanner API bindings

Hello, recently Google upgraded the code scanner API from beta to GA. This is something we are really interested in our .NET 7 Android app. When can Microsoft release the C# bindings to access this library? What is the best place to request something…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,935 questions
asked 2023-03-31T04:22:22.2066667+00:00
Nikolayev, Alex 1 Reputation point
edited the question 2023-03-31T17:34:46.5533333+00:00
Rob Caplan - MSFT 4,237 Reputation points Microsoft Employee
0 answers

Blazor Server App crashes if DBContext is used

I have a Blazor Server App that runs fine in the VS Web Server but crashes hard when deployed to an IIS 10 Web Server running on a Windows Server 2022 Machine. I have reviewed my use of Entity Framework DBContexts and all are created and disposed very…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,853 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.
890 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
480 questions
asked 2023-03-31T17:31:54.6466667+00:00
Jim G 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to use NET MAUI releases with different NET versions

I am working on small tool using NET MAUI, but I am struggling to understand Microsoft's way of working on NET versions. While working on my tool, I have came up with certain bugs and reported them to Microsoft. Now they have fixed them. However I am…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,111 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,621 questions
asked 2023-03-26T14:31:48.4366667+00:00
mrw 181 Reputation points
commented 2023-03-31T17:29:26.4833333+00:00
mrw 181 Reputation points
1 answer

Problems with Android emulator V33

After a couple of deploys I am getting the following error. I am not doing anything unusual and V31 does not have this error. Severity Code Description Project File Line Suppression State Error ADB0060: Mono.AndroidTools.InsufficientSpaceException:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,111 questions
asked 2023-03-31T13:10:46.13+00:00
Lloyd Sheen 936 Reputation points
commented 2023-03-31T17:29:06.39+00:00
Lloyd Sheen 936 Reputation points
1 answer

Blazor WASM Authentication (MSAL) and profile editing

I setup a profile editing user flow in Azure AD B2C active directory. I successfully setup a Blazor WASM application to redirect the user to the Azure endpoint. The user can successfully change information in the Azure page, but I cannot setup the Blazor…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
890 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,678 questions
asked 2023-03-31T09:32:00.7266667+00:00
Roberto 1 Reputation point
answered 2023-03-31T17:28:57.3633333+00:00
Bruce (SqlWork.com) 31,741 Reputation points
1 answer

Windows version / .NET Framework

Hello, I want to know which Windows version is installed and which .NET Framework version. How and with which function can I read it? My system Win10, VS2019.

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,621 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
907 questions
asked 2023-03-31T16:55:35.1166667+00:00
Markus Freitag 3,101 Reputation points
answered 2023-03-31T17:27:56.9533333+00:00
Jaliya Udagedara 2,686 Reputation points MVP
1 answer

angular loop form problem

HI so i am trying to develop an attendance system in asp.net core web api and angular as front end now ill provide the code first First the form: <form [formGroup]="attendanceForm" (ngSubmit)="onSubmit()"> <section…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
469 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,336 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
171 questions
asked 2023-03-30T10:07:12.6+00:00
Asjad Butt 61 Reputation points
edited an answer 2023-03-31T17:21:01.39+00:00
Bruce (SqlWork.com) 31,741 Reputation points