Microsoft Q&A

.NET

20,602 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,602 questions with .NET-related tags

Sort by: Updated
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
1 answer

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.
904 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
commented 2023-09-23T17:49:09.11+00:00
Viorel 102.4K 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,474 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
5,950 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
1 answer

How to Implement Microservices Architecture in a .NET Core Application?

I am working on a large-scale .NET Core application and considering adopting a microservices architecture for better scalability and maintainability. Can anyone share insights, best practices, or resources on implementing microservices in a .NET Core…

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

How to Integrate Real-Time Features in a .NET MAUI Application?

I am building a cross-platform application using .NET MAUI and looking to integrate real-time features such as notifications and data syncing. What are the recommended approaches and technologies for implementing real-time functionality in .NET MAUI?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:05:07.88+00:00
Kevin Beasley 0 Reputation points
answered 2023-09-23T16:47:26.88+00:00
Krew Noah 0 Reputation points
1 answer

Best Practices for Managing Application State in Blazor WebAssembly?

I am developing a Blazor WebAssembly application and exploring different approaches to managing application state efficiently. Can anyone provide recommendations or best practices for state management in Blazor WebAssembly?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:04:45.95+00:00
Kevin Beasley 0 Reputation points
answered 2023-09-23T16:47:21.7966667+00:00
Krew Noah 0 Reputation points
1 answer

How to Optimize Database Interactions in Entity Framework Core?

I am using Entity Framework Core for database interactions in my .NET application. I am seeking advice on optimizing database queries and transactions for better performance and efficiency. Any tips or best practices would be appreciated.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:04:26.41+00:00
Kevin Beasley 0 Reputation points
answered 2023-09-23T16:47:15.6766667+00:00
Krew Noah 0 Reputation points
1 answer

Strategies for Securely Handling User Authentication in .NET Core?

I am working on a .NET Core project and need to ensure secure user authentication. Can anyone share insights, recommendations, or resources on implementing secure authentication mechanisms in a .NET Core application?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:04:09.2266667+00:00
Kevin Beasley 0 Reputation points
answered 2023-09-23T16:47:08.0033333+00:00
Krew Noah 0 Reputation points
1 answer

How to Implement Efficient Data Caching in .NET Applications?

I am developing a .NET application and looking for strategies to efficiently cache data to improve performance. What are the best practices, libraries, or frameworks available for implementing data caching in .NET?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T16:03:48.58+00:00
Kevin Beasley 0 Reputation points
answered 2023-09-23T16:47:01.6033333+00:00
Krew Noah 0 Reputation points
1 answer

How to Optimize Image Processing in a .NET Core Application?

I am working on a project that involves processing and manipulating images in a .NET Core application. I am seeking advice on optimizing image processing for better performance and efficiency.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T15:56:49.8766667+00:00
Hugo Windsor 0 Reputation points
answered 2023-09-23T16:44:55.7866667+00:00
Krew Noah 0 Reputation points
2 answers

Strategies for Implementing Real-Time Notifications in a .NET Blazor App?

I am developing a .NET Blazor application and exploring different strategies to implement real-time notifications. Can anyone share insights, recommendations, or resources on this topic?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,045 questions
asked 2023-09-23T15:56:24.41+00:00
Hugo Windsor 0 Reputation points
answered 2023-09-23T16:44:41.15+00:00
Krew Noah 0 Reputation points