Microsoft Q&A

.NET

21,821 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

21,821 questions with .NET-related tags

Sort by: Updated
5 answers One of the answers was accepted by the question author.

how to get live stream which push by obs?

I want to get live stream that obs(obsproject.com) push. how to get the live video stream and send it to users? do not use azure.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,772 questions
asked 2023-04-21T01:25:21.27+00:00
mc 3,221 Reputation points
answered 2023-12-05T17:46:17.58+00:00
emma olivia 0 Reputation points
0 answers

push notifications in Windows

Hi, I'm developing an application in MAUI, and I'm working with push notifications in Windows, what is the normal behavior of push notifications when the application is closed (not minimized)? When the app is open the notifications arrive and everything…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,183 questions
asked 2023-12-05T17:41:03.5466667+00:00
Luis Rodriguez 0 Reputation points
2 answers

Maui .net. RelayCommand when pressing button doesn't fire.

I have VS 2022 preview Version 17.5.0 Preview 1.0 In my project I installed CommuniToolkit.Maui v2.0 and CommunityToolkit.Mvvm V8.0 I created this MVVM test app and when I press the button it doesn't fire. <ContentPage…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,183 questions
asked 2022-11-29T18:16:09.833+00:00
Heinz Deubler 176 Reputation points
answered 2023-12-05T17:19:20.97+00:00
Vinay Kudtarkar 0 Reputation points
1 answer

CaptchaMvc.Mvc5 Captcha loading error

Hi, We are facing the captcha loading error if user browse the URL multiple times. here we are using CaptchaMvc.Mvc5 package. Note this issue is not showing in localhost. Please find the image for your reference.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,722 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
1,056 questions
asked 2023-12-04T06:47:43.5433333+00:00
Arutprakasam 241 Reputation points
commented 2023-12-05T17:09:05.79+00:00
Bruce (SqlWork.com) 48,711 Reputation points
1 answer

C# Allowing only one row to be selected in checkbox coloum in each datagridview on a form

Hi I'm still very new to C# and struggling with the following issue with DataGridViews in my windows forms app. I have a form that has two combo boxes (combo1 & combo2) and two datagridview (dgv1 & dgv2) controls on it. Both combo boxes have a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,738 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.
9,480 questions
asked 2023-11-29T16:22:26.6633333+00:00
Steve Williams 0 Reputation points
commented 2023-12-05T17:08:11.9133333+00:00
Steve Williams 0 Reputation points
0 answers

EF Core .Net 8 error after TLS 1.0 was disabled.

The admins where I work have disabled TLS 1.0 but now all of a sudden, my .Net 8 app is getting the following error: Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
632 questions
asked 2023-12-05T17:06:22.9333333+00:00
Lange Gregory 20 Reputation points
1 answer

How to convert node.js to C# code

I have this code in node.js and I need to convert it to C# code This method I have to implement it in my project to be consume from other platform. But it is coded in Node.js and I am using ASP.NET MVC and I do not have idea in node.js…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,311 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,722 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
752 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
1,056 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.
9,480 questions
asked 2023-12-05T11:46:11.3366667+00:00
mostafa ahmed 21 Reputation points
answered 2023-12-05T17:05:25.65+00:00
Bruce (SqlWork.com) 48,711 Reputation points
0 answers

Maui - publish msix with no internet in net 8

Hi, When publishing msix with internet the msix is working. But with no internet is not responsive at all . not open . Why ? dotnet publish -f net8.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,183 questions
asked 2023-11-28T11:20:44.2266667+00:00
דני שטרית 1,716 Reputation points
commented 2023-12-05T16:57:39.8733333+00:00
דני שטרית 1,716 Reputation points
0 answers

Memory is not releasing in dotnet6

I'm currently working on a .NET 6 Web API project, and I'm facing an issue with memory not being released properly. I have thoroughly analyzed the code and ensured that I'm not creating any memory leaks or holding onto unnecessary resources. However,…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
632 questions
asked 2023-12-05T14:48:57.93+00:00
usha 40 Reputation points
commented 2023-12-05T16:52:52.47+00:00
usha 40 Reputation points
1 answer One of the answers was accepted by the question author.

Why does Visual Studio create a solution not allow selecting .NET 8?

Hi; I'm trying to create a new Blazor Server app and want it to be .NET 8 so I get the ASP.NET Identity library version 8 in the created code (to see what has changed). Is there any way to do this? The dialog only allows.NET 6 and .NET 7. I do have .NET…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,772 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,097 questions
asked 2023-12-05T03:33:24.32+00:00
David Thielen 1,616 Reputation points
accepted 2023-12-05T16:50:15.5+00:00
David Thielen 1,616 Reputation points
0 answers

ComponentPro with MAUI not work when running as exe

Hi, I moved to Net 8 and publish my app as exe. I used https://www.componentpro.com/ => components dlls The dlls work in VS but not work when i run them as exe ? Why? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,183 questions
asked 2023-12-05T10:23:51.3533333+00:00
דני שטרית 1,716 Reputation points
commented 2023-12-05T16:49:01.4066667+00:00
דני שטרית 1,716 Reputation points
2 answers One of the answers was accepted by the question author.

Does ASP.NET Core Identity library have an option for CAPTCHA?

Hi; In the ASP.NET Core Identity library, is there a way to have it require a CAPTCHA when a new user is registering? thanks - dave

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,772 questions
asked 2023-12-05T00:22:06.3733333+00:00
David Thielen 1,616 Reputation points
accepted 2023-12-05T16:48:54.3633333+00:00
David Thielen 1,616 Reputation points
1 answer

How to fill a Form.RTF with a Controls.RTF

I need to fill a document RTF (System.Windows.Forms.RichtextBox) from a Richtextbox (System.Windows.Control.RichTextbox). This because for printing. Actually I've done a class for printing RTF (Forms) with texts and images but I don't know how to print a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,738 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,558 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.
9,480 questions
asked 2023-12-04T07:36:12.7133333+00:00
Paolo Mossa 121 Reputation points
edited a comment 2023-12-05T16:46:52.2333333+00:00
Paolo Mossa 121 Reputation points
0 answers

Radio Button and RadioButton.GestureRecognizers are not working

RadioButton.GestureRecognizers are not working with Android. I found a number of forums mentioning that RadioButton.GestureRecognizers is not working with Android. My questions it, is there an alternative? I tried Binding CheckedChanged and that doesn't…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,311 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,183 questions
asked 2023-12-04T18:17:22.7466667+00:00
Heinz Deubler 176 Reputation points
commented 2023-12-05T16:35:25.74+00:00
Heinz Deubler 176 Reputation points
1 answer One of the answers was accepted by the question author.

Refresh the DbContext,

private static void RefreshDbContext(DbContext dbContext) { var refreshableObjects = dbContext.ChangeTracker.Entries() .Where(e => e.Entity != null && e.State != EntityState.Detached) …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
632 questions
asked 2023-10-12T07:49:51.5633333+00:00
usha 40 Reputation points
accepted 2023-12-05T16:00:50.5166667+00:00
usha 40 Reputation points
0 answers

How the Frame border color set in xamarin forms Android?

Unable to see the Frame Control BorderColor in Xamarin.Forms Android and it is working in Xamarin.Forms UWP . Can anyone please help me Please check the below code snippet for refernce <Frame BackgroundColor="#2196F3"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,207 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.
9,480 questions
asked 2023-12-05T15:57:38.27+00:00
Sindhu Kalyanapu 21 Reputation points
0 answers

Oledb Connection issue 16.0

Erron :-Framework version : v4.0.30319 The process was terminated due to unhandled exception exception info =…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,078 questions
asked 2023-12-04T19:54:50.83+00:00
Sagar Pithadiya 6 Reputation points
edited a comment 2023-12-05T15:56:55.8933333+00:00
Sagar Pithadiya 6 Reputation points
1 answer

background image and nav bar

i know i'm close on this and got my background image and nav bar to overlay on the top. however when i first get testing this is the look i get: when i resize the window i get the correct look: trying to get the background image to auto size regardless…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,722 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,403 questions
asked 2023-12-05T01:01:01.2633333+00:00
Joseph Hedbon 121 Reputation points
commented 2023-12-05T15:34:37.9633333+00:00
Joseph Hedbon 121 Reputation points
0 answers

Retroactivly scaffolding identity into both my backend and frontend so that it all works

Hello! I've made 3 projects in my solution. one is my Api project, one is my blazor project and one is a class library for my Dtos. Both my backend and frontend reference the class library. I wanna retroactivly scaffold identity into my backend…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,772 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,208 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.
257 questions
asked 2023-12-05T15:25:56.6466667+00:00
!Programming-proffesional 0 Reputation points
0 answers

Changing Visual state of an Entry inside a collection view

I have a Collection view with entries , based on certain conditions , I will have to change the visual state to either disabled or normal . I have already defined them in styles.xaml. I tried it by binding isEnabled property of Entry but the background…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,183 questions
asked 2023-12-05T14:44:32.97+00:00
Manickam, Suraj 40 Reputation points