Microsoft Q&A

.NET

20,575 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,575 questions with .NET-related tags

Sort by: Updated
1 answer

issue in opacity of the parent form and panel

Hi , my other problem is there is a scenario in which i have a form named child which is opened inside a panel of a form named father . what i am trying is when i press F2 on my keyboard a new form opens asking for current date . at this moment i want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 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.
8,960 questions
asked 2023-09-23T11:43:45.1433333+00:00
Shaifali jain 200 Reputation points
commented 2023-09-23T12:13:49.5766667+00:00
Shaifali jain 200 Reputation points
1 answer

Opening the new form and closing the previous

Hi , In my project i am stuck at a point and can not figure out how to open a new form inside a panel of already opened form . So there is a form named father and it has a panel . i am using this panel to open all subsequent forms (children) . there are…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 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.
8,960 questions
asked 2023-09-23T11:35:39.78+00:00
Shaifali jain 200 Reputation points
answered 2023-09-23T12:02:10.0833333+00:00
KOZ6.0 310 Reputation points
2 answers One of the answers was accepted by the question author.

permanent footer row in datagridview

hi , is there a way by which our datagridview control could have a footer row below exactly after the 12 rows and if the rows in the datagridview increases , suppose by 2 . it should always be at last position but it always should be after 12 rows . the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 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.
8,960 questions
asked 2023-09-21T12:32:58.41+00:00
ankit goel 566 Reputation points
edited an answer 2023-09-23T11:35:51.1+00:00
KOZ6.0 310 Reputation points
2 answers

ASP.NET CORE WEBAPI Bearer Token

This api https://visitsapi.azurewebsites.net/api/Visits https://github.com/KalyanAllam/VisitsApi is called in the controller Visitsnew of https://github.com/KalyanAllam/PatientPortal Now I want to make the api…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,549 questions
asked 2023-09-23T04:54:58.3533333+00:00
Dotnet Engineer 240 Reputation points
answered 2023-09-23T11:30:07.67+00:00
1 answer

.net maui fully custom splash screen

I am working on . net maui splash screen but there are android 12 and later issues. So I can not set splash screen like make image like previous android versions. But I want and set it image that has contents on all screen. I have seen many splash…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,146 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,838 questions
asked 2023-09-22T18:15:18.9866667+00:00
Haider Ali Faizi 20 Reputation points
commented 2023-09-23T11:10:44.88+00:00
Haider Ali Faizi 20 Reputation points
1 answer

Output to Blazor backend from Azure deployed AI model

Hi, We need to get the output of an AI model that runs as a managed endpoint in Azure to our Blazor backend. What is the best way to do that? Is there a way to send the output from the AI model to the Blazor backend once it is ready? If yes, how exactly…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,078 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.
1,102 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
1,674 questions
asked 2023-09-21T17:14:52.9166667+00:00
Héðinn Steingrímsson 0 Reputation points
answered 2023-09-23T10:52:08.3166667+00:00
Krew Noah 0 Reputation points
0 answers

MAUI extensions not available on visual studio 2022

I have Visual Studio v 17.7.4 and Visual Studio Preview v 17.8.0 and have recently installed the MAUI suite.  I am not given the option to create multi-platform apps as I assume I would on VS or VSP. I have gone through previous iterations of the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,772 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,838 questions
asked 2023-09-17T23:15:46.5933333+00:00
Reabetswe Marumane Mogoswane 0 Reputation points
commented 2023-09-23T10:50:32.44+00:00
Reabetswe Marumane Mogoswane 0 Reputation points
1 answer

Visual Studio 2022 Xamarin iOS Cannot Automatically Restart App After Build

I use Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.6.4. I have created a new blank project and connected it with iMac 2012 Catalina xCode 12.4 and Mac Book Pro 2018 Ventura xCode 14.3.1. Everytime I Build the app, at the first…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,146 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,772 questions
asked 2023-09-22T05:36:28.29+00:00
Yohanes AI 0 Reputation points
answered 2023-09-23T10:47:40.6466667+00:00
Krew Noah 0 Reputation points
1 answer

How can I get the Material You design in my Maui app on Android?

When running my app on android, the controls are of Material design 2, while the latest is 3 - Material You. Can I in some way update the android part of the project to support the latest design?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,838 questions
asked 2023-09-22T12:15:07.9133333+00:00
Noam 0 Reputation points
answered 2023-09-23T10:44:26.0333333+00:00
Krew Noah 0 Reputation points
1 answer

In Blazor MAUI with a shared UI library, navigation doesn't work

In a shared blazor library, login page and sample page are defined. Here is the Minimum Reproducible Example: https://github.com/johnmangam/ShellNavigation/ Login.razor @page "/login" @inject NavigationManager navigationManager <button…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,838 questions
asked 2023-09-22T16:27:50.62+00:00
John Mangam 0 Reputation points
answered 2023-09-23T10:42:41.0333333+00:00
Krew Noah 0 Reputation points
1 answer

duplicate request method names in .net proxy class + BizTalk

we have XSD published as service in BizTalk, the end point is getting called by .net technology . When .net team try to consume the service using add service reference it creates the service.cs class library which has all the classes and methods for the…

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
326 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,020 questions
asked 2023-09-22T17:41:31.92+00:00
bala gangadhar vallapu 1 Reputation point
answered 2023-09-23T10:16:07.53+00:00
Krew Noah 0 Reputation points
1 answer

How to display autocomplete result id on first line and name on second line and designation to third line instead of using slash ?

I work on asp.net MVC web API . I face issue when call web API using jQuery ajax request my issue is autocomplete result display separated by slash Id - Name - Designation but expected result I need to get is : Id : 121 Name : michel nicol Designation :…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
982 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.
241 questions
asked 2023-09-22T23:54:26.29+00:00
Ahmed Abd El Aziz 265 Reputation points
answered 2023-09-23T10:11:11.04+00:00
Krew Noah 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to create an undetermined amount of grid columns?

Source thread: How to create an undertermined amount of grid columns?, answered by Peter Fleischer. I have a text property bound to a TextBox. For each letter in the TextBox, I want to create a gird cell with a TextBlock inside it. So if I have a six…

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,474 questions
asked 2020-02-25T02:32:13.2+00:00
Charles He-MSFT 96 Reputation points Microsoft Employee
answered 2023-09-23T10:09:17.2766667+00:00
cacasdxdd 0 Reputation points
1 answer

How to include native GTK libraries in single-file dotnet executable?

I am trying to bundle a GT3 application into a single file dotnet executable. A minimal not working example is this: mkdir x cd x dotnet new gtkapp dotnet build dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,020 questions
asked 2023-09-23T06:55:41.2966667+00:00
Ivo Rogina 0 Reputation points
answered 2023-09-23T09:46:04.24+00:00
Krew Noah 0 Reputation points
1 answer

Android issue when compiling for 'deploy'

When compiling for deploy I get error (full log attached): "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb" -s emulator-5554 uninstall -k "com.companyname.randoPro" The -k option uninstalls the application while…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,772 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,838 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
164 questions
asked 2023-09-23T08:24:18.71+00:00
Eduard Kaufmann 191 Reputation points
answered 2023-09-23T09:41:19.7966667+00:00
Krew Noah 0 Reputation points
3 answers

calling REST API

I am trying to call a REST API on my local host for testing purposes. This is what I have in my controller: public class SMSController : ControllerBase { private readonly IWebHostEnvironment _webHostEnvironment; public readonly…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,549 questions
asked 2023-09-23T05:03:04.4733333+00:00
Anjali Agarwal 1,021 Reputation points
answered 2023-09-23T09:34:22.99+00:00
AgaveJoe 445 Reputation points
1 answer One of the answers was accepted by the question author.

Avoid repeatation of code

Hi , i have a project with 4 windows forms all of doing everything separate work . but they all a common thing in them . protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == (Keys.F2)) …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 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.
8,960 questions
asked 2023-09-23T07:16:21.7033333+00:00
Shaifali jain 200 Reputation points
accepted 2023-09-23T08:36:35.4533333+00:00
Shaifali jain 200 Reputation points
2 answers

How to create HTTP Error Handling for the PUT method?

Hi, I would like to know how create HTTP Error Handling for the PUT method and rendering the information to user in UI. I guess that it's also possible to make GLobal HTTP Error Handling for all methods! I've created the put method which, when two users…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,102 questions
asked 2023-09-20T15:57:55.88+00:00
sblb 1,141 Reputation points
edited an answer 2023-09-23T07:58:52.28+00:00
sblb 1,141 Reputation points
1 answer

How can I create a Complex View Like this one in WPF DataGridView C#?

I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly. I have SQL Server Database Named EmployeesDB that contains 4 Tables as following: 1.       Employees Table which is the Parent Table in this Example. 2.…

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,474 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,772 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.
10,919 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.
8,960 questions
asked 2023-09-20T09:04:32.94+00:00
Mesh Ka 140 Reputation points
commented 2023-09-23T07:16:26.19+00:00
Mesh Ka 140 Reputation points
2 answers

VS 2022 .net6 core C#. Application.StartupPath is different at run time.

Hi, I am trying to capture my project home directory: string exeFolder = Application.StartupPath; While i test app i am getting path with MyPath"bin\Debug\net6.0-windows". in result i cannot access my report folder with reports. Is there a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,549 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.
8,960 questions
asked 2023-09-23T00:46:59.4233333+00:00
Ed Januskis 46 Reputation points
answered 2023-09-23T06:36:54.49+00:00
KOZ6.0 310 Reputation points