Microsoft Q&A

.NET

20,605 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,605 questions with .NET-related tags

Sort by: Updated
2 answers

Runtime Error 424 when the module was running fine before.

Sub Report() Worksheets("Report").Activate Cells(41, 14).Select Dim baris, kira As Integer Dim Nama, ProperPath, Namafail As String baris = 41 kira = Cells(40, 17).Value Do While baris < kira + 41 Nama = Cells(baris,…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
905 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,042 questions
asked 2023-09-23T03:35:19.63+00:00
Chee Fong Cheng 0 Reputation points
answered 2023-09-24T05:57:45.9166667+00:00
Chee Fong Cheng 0 Reputation points
3 answers One of the answers was accepted by the question author.

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,550 questions
asked 2023-09-23T05:03:04.4733333+00:00
Anjali Agarwal 1,021 Reputation points
accepted 2023-09-24T04:18:30.0466667+00:00
Anjali Agarwal 1,021 Reputation points
0 answers

ComboBox Appears Black in Windows 10 Using .NET Framework 4.8

Hello, I'm currently facing an issue with a ComboBox in a Windows application I developed using .NET Framework 4.8 on Windows 10. The ComboBox is appearing black, making it difficult to see which item is selected. However, when I click on it, it…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,830 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-22T06:37:19.17+00:00
Woonsung Baek - 백운성 0 Reputation points
commented 2023-09-24T01:59:57.2833333+00:00
S.Sengupta 10,696 Reputation points MVP
1 answer

Recommendation for Blazor Server use for an application

I would like to know if Blazor Server would be recommended as the way to go for an application that does the following Needs to run on any device able to run .NET apps (i.e. Raspberry PI etc.) Needs to access IOT devices (JSON strings received or sent…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,550 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,103 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,922 questions
asked 2023-09-23T22:07:05.4433333+00:00
Robert Salasidis 111 Reputation points
edited a comment 2023-09-24T00:47:10.29+00:00
Robert Salasidis 111 Reputation points
0 answers

How to run AI model in a Blazor frontend

Hi, What is the best way to run a AI model (programmed in Python) that has been deployed in Azure as a managed endpoint in the Blazor frontend of each user of a Blazor website? Is there a way to run the AI model in the Blazor frontend in a simple and…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,078 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,921 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
93 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,103 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
131 questions
asked 2023-09-21T17:27:39.8233333+00:00
Héðinn Steingrímsson 0 Reputation points
commented 2023-09-24T00:07:28.6+00:00
Olive Sa 0 Reputation points
0 answers

system.drawing.icon from System.Windows.Shapes.Path

<Path x:Key="Icon.Path.ExpandAll" Style="{StaticResource Style.Path.Icon.Base}" StrokeThickness="0.2" Data="M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3…

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,475 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,962 questions
asked 2023-09-23T23:38:51.9566667+00:00
essamce 621 Reputation points
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,962 questions
asked 2023-09-23T11:43:45.1433333+00:00
Shaifali jain 200 Reputation points
edited an answer 2023-09-23T21:12:01.87+00:00
KOZ6.0 310 Reputation points
0 answers

Is there some way to get VS 2022 to stop closing my Maui app with no reason/no error in VS?

The last few days I am getting VS closing my app in the Android emulator for no apparent reason. If I plug in my phone and do testing from there I don't get the problem. I have gone thru the horrible process of trying to re-init the emulator but it…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-23T20:36:49.8033333+00:00
Lloyd Sheen 1,191 Reputation points
commented 2023-09-23T20:58:10.5233333+00:00
Lloyd Sheen 1,191 Reputation points
2 answers

.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,841 questions
asked 2023-09-22T18:15:18.9866667+00:00
Haider Ali Faizi 20 Reputation points
answered 2023-09-23T20:14:03.4266667+00:00
Haider Ali Faizi 20 Reputation points
1 answer One of the answers was accepted by the question author.

InvalidProgramException in Windows Forms application

Hello, I'm a developer of the desktop .NET Windows Forms application. I faced a strange exception thrown by .NET runtime on a single production PC. On a component initialization phase .NET throws the following: System.InvalidProgramException: Common…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,042 questions
asked 2023-08-29T18:10:10.3533333+00:00
Vadym Lenda 20 Reputation points
accepted 2023-09-23T18:39:27.5233333+00:00
Vadym Lenda 20 Reputation points
2 answers

How to Optimize Performance of Real-Time SignalR Applications in .NET Core?

I am developing a real-time application using SignalR in .NET Core and seeking advice on optimizing its performance for handling a large number of concurrent connections. What are the strategies and best practices for optimizing real-time SignalR…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:28:14.3966667+00:00
Bruce Barker 0 Reputation points
answered 2023-09-23T17:49:01.65+00:00
Bruce (SqlWork.com) 44,076 Reputation points
2 answers

Best Practices for Asynchronous Programming in .NET?

I am working with asynchronous programming in .NET and looking for best practices and patterns to write clean, efficient, and scalable asynchronous code. Can anyone share their experiences, tips, or resources on this topic?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:27:52.2+00:00
Bruce Barker 0 Reputation points
answered 2023-09-23T17:42:13.2266667+00:00
Brian Zarb 1,345 Reputation points
1 answer

WPF custom animation thread

Hello, I have a small simple WPF application (I am learing by doing). I made some custom drawing on a Canvas declared in XAML, by using code in the corresponding C# file. Now I want to access the canvas from another thread to be able to apply geometric…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 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,475 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
5,952 questions
asked 2023-09-16T17:21:29.6333333+00:00
Daniel Santos 0 Reputation points
commented 2023-09-23T17:12:15.59+00:00
Daniel Santos 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to Implement Real-Time Data Syncing in a .NET MAUI Application?

I am developing a .NET MAUI application where I need to sync data in real-time between multiple clients and a server. I am looking for guidance on the best practices and efficient ways to implement real-time data syncing in a .NET MAUI application,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T13:57:55.32+00:00
Martin Roberson 0 Reputation points
answered 2023-09-23T17:11:56.1366667+00:00
Bruce (SqlWork.com) 44,076 Reputation points
1 answer One of the answers was accepted by the question author.

How to Efficiently Manage State in a .NET Blazor Application?

I am working on a .NET Blazor application and am exploring different approaches to managing state efficiently across components. I am considering using a state container like Flux or Redux but am open to other recommendations. Can anyone provide…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T14:29:21.4033333+00:00
Martin Roberson 0 Reputation points
accepted 2023-09-23T16:57:42.36+00:00
Martin Roberson 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Optimize Performance in a .NET MAUI Blazor Application?

I am developing a cross-platform application using .NET MAUI Blazor and have noticed some performance issues, particularly when loading data and rendering components. Can anyone provide guidance, best practices, or resources on optimizing performance in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T14:27:52.3166667+00:00
Martin Roberson 0 Reputation points
accepted 2023-09-23T16:57:24.9633333+00:00
Martin Roberson 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to Implement Authentication and Authorization in a Blazor WebAssembly App?

I am developing a Blazor WebAssembly application and need to implement user authentication and authorization. I am considering using IdentityServer4 for this purpose. Can anyone provide guidance or recommend best practices for implementing secure…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T14:26:24.13+00:00
Martin Roberson 0 Reputation points
accepted 2023-09-23T16:57:09.48+00:00
Martin Roberson 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Integrate Azure Services with a .NET MAUI Application?

I am developing a cross-platform application using .NET MAUI and am looking to integrate various Azure services such as Azure Functions, Azure Logic Apps, and Azure Blob Storage. I am seeking guidance and best practices on integrating these services…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T14:24:58.0166667+00:00
Martin Roberson 0 Reputation points
accepted 2023-09-23T16:56:46.33+00:00
Martin Roberson 0 Reputation points
1 answer

How to Securely Handle User Sessions and Cookies in ASP.NET Core?

I am developing a web application using ASP.NET Core and need to manage user sessions and cookies securely. Can anyone provide recommendations or best practices for securely handling user sessions and cookies in ASP.NET Core?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:27:26.35+00:00
Bruce Barker 0 Reputation points
answered 2023-09-23T16:53:14.49+00:00
Krew Noah 0 Reputation points
1 answer

Strategies for Implementing CI/CD Pipelines in .NET Projects?

I am looking to set up Continuous Integration and Continuous Deployment (CI/CD) pipelines for my .NET projects. What are the recommended tools, strategies, and best practices for implementing CI/CD in .NET development?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:15:15.08+00:00
Bruce Barker 0 Reputation points
answered 2023-09-23T16:53:08.73+00:00
Krew Noah 0 Reputation points