Microsoft Q&A

.NET

15,183 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,183 questions with .NET-related tags

Sort by: Updated
0 answers

Visual studio unresponsive when debugging .net MAUI on Android Emilator

I have a .net MAUI app that works fine when it runs in debug mode. But when I put in a breakpoint in my code and wait for the debugger , Visual studio becomes unresponve and i keep getting the Visual Studio is busy popup But as soon as i close 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,138 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,392 questions
asked 2023-05-29T13:27:47.45+00:00
ArshadBadarKhan 0 Reputation points
commented 2023-05-29T17:35:55.6966667+00:00
ArshadBadarKhan 0 Reputation points
0 answers

Help with converting Blazor Entity Framework Sample App to use SQL Server instead of Sqlite

I am new to Blazor. I want to change the ASP.NET Core Blazor Server with Entity Framework Core (EF Core) Sample Application from Sqlite to SQL Server. I created the Contacts table in Sql Server based on the Contact.cs model. I modified the Program.cs…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
512 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.
969 questions
asked 2023-05-29T16:44:08.77+00:00
Tim Tankka 0 Reputation points
1 answer

How to deploy to a virtual Directory using GitHub action "azure/webapps-deploy"

Does anyone know how to deploy to a virtual Directory using GitHub action "azure/webapps-deploy"? I don't see the equivalent in the GitHub action. In Azure DevOps you were able to do this:

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,126 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,904 questions
asked 2023-05-20T01:53:04.4733333+00:00
Jean Paul Larach 31 Reputation points Microsoft Employee
commented 2023-05-29T16:28:19.7066667+00:00
ajkuma 14,856 Reputation points Microsoft Employee
1 answer

Azure is decoding characters in the URL before reaching the application

In our backend API, we have an endpoint with a path variable and we need to be able to support certain special characters. To accomplish this, we are encoding the path variable with UTF-8 before hitting the endpoint. This works for most special…

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.
205 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,904 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,126 questions
asked 2023-01-12T17:17:38.88+00:00
Jkuhl 10 Reputation points
answered 2023-05-29T15:53:10.1366667+00:00
Kruzel, Jacek 0 Reputation points
1 answer

why this Storyboard in DataTrigger introduce the runtime exception?

I am trying to complish a Custom Control which has a DataTrigger with animation in my project, but I always hit a InvalidOperationException failure. So I abstract the logic into this repo . I found the same animation works well in the EventTrigger, but…

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,362 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,142 questions
asked 2023-05-29T00:59:20.6633333+00:00
William Liu 126 Reputation points
commented 2023-05-29T15:51:41.75+00:00
William Liu 126 Reputation points
1 answer

How hosting and deploying my application in Folder?

Hi, I made an application with blazor wasm hosted .net6 core. I would like to publish it in local Folder and have acces to my app in my browser. Also, I would like that some users can use my app in browser. First I would like to know if it's…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
969 questions
asked 2023-05-29T11:34:21.9266667+00:00
sblb 976 Reputation points
answered 2023-05-29T15:42:15.1633333+00:00
Bruce (SqlWork.com) 35,641 Reputation points
1 answer

how to get how many client login using the same user?

I am using cookie authentication. one user can login in many clients. I want to know how many login using the same user.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,126 questions
asked 2023-05-29T13:25:23.2166667+00:00
mc 1,921 Reputation points
answered 2023-05-29T15:29:48.4433333+00:00
Bruce (SqlWork.com) 35,641 Reputation points
1 answer

Grocery list app

I am wanting to build a grocery app that automatically calculates what groceries you should buy and list the values on a separate content page. There is a registration page that askes the user questions like how many people in household, shopping…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,000 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,159 questions
asked 2023-05-17T10:57:19.1033333+00:00
Matthew Zoljan 20 Reputation points
commented 2023-05-29T15:15:17.9133333+00:00
David Alex 0 Reputation points
1 answer One of the answers was accepted by the question author.

angular Cors Response to preflight request

my system is angular client side and .net core backend. i'm trying to migrate the authentication process to azure AD to follow my corporate's SSO. after enabling Azure AD on client side using MSAL and on the backend following openID. from the client side…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,648 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,126 questions
asked 2023-05-28T15:41:34.7+00:00
Tarek, Taher 20 Reputation points
accepted 2023-05-29T15:02:45.05+00:00
Tarek, Taher 20 Reputation points
0 answers

How to fill color in a closed area in wpf

I drew arcs which generates several closed area. I'd like to fill color in the close area like following. How to do this?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,142 questions
asked 2023-05-29T14:37:40.13+00:00
JeffinAtl 161 Reputation points
3 answers

Keep entry focus on button click

Hi, I want to keep focus in an Entry control in order to keep the keyboard open when I press a button next to it. I've tried to do it by calling Entry.Focus() when I press the button but it causes the keyboard to move up and down. I would rather the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,000 questions
asked 2021-04-08T09:50:48.197+00:00
Niklas Blomstrand 1 Reputation point
edited an answer 2023-05-29T14:35:47.0333333+00:00
Jiří Matějka 1 Reputation point
0 answers

How To download from ftp site using http client

I cannot find a SIMPLE EXAMPLE anywhere that shows how to use (recommended) HTTPCLIENT to replace the now OBSOLETE WebCclient, WebRequest etc. I cannot find a SIMPLE EXAMPLE anywhere that shows how to use (recommended) HTTPCLIENT to replace the now…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,142 questions
asked 2023-05-29T14:03:53.55+00:00
HowardMontemurro-7208 20 Reputation points
0 answers

comment creer une application ou site web?

bonjour je cherche a faire une formation dans le développement informatique,  mon objectif c'est devenir capable de : developper un site web developper une application web developper une application mobile developper une application deskop …

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
845 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,126 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,475 questions
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.
548 questions
asked 2023-05-29T13:37:16.0866667+00:00
BENRADI Abdellah 0 Reputation points
0 answers

CollectionView template not support RTL

Hi, CollectionView template not support RTL. I attached the file:עברית.txt Please see the code: The results is: txt.עיברית <CollectionView ItemsSource="{Binding Data}"> <CollectionView.ItemTemplate> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,392 questions
asked 2023-05-29T12:48:07.0333333+00:00
דני שטרית 781 Reputation points
0 answers

how to custom title view in maui?

I am not using shell MainPage=new MainPage(); how to custom the title view and the closebutton?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,392 questions
asked 2023-05-29T12:42:59.1866667+00:00
mc 1,921 Reputation points
0 answers

autofac dependency injection in .net maui

HI, I am working on migrating xamarin forms application to .net MAUI application. In xamarin froms application i am using autofac dependency injection. can we use autofac dependency injection in .net MAUI. if YES how to re use that code?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,392 questions
asked 2023-05-29T12:20:51.45+00:00
Shirisha Siddamshetti 20 Reputation points
0 answers

how to validate hidden doms

I have a hidden value <input type="hidden" asp-for="ImageUrl" /> <span asp-validator-for="ImageUrl" /> how to validate it? jquery.validate will not validate the hidden doms.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,126 questions
asked 2023-05-29T09:27:54.4433333+00:00
mc 1,921 Reputation points
edited a comment 2023-05-29T11:51:16.1733333+00:00
AgaveJoe 22,626 Reputation points
1 answer

ERROR: How do I insert into an image column if no image is present in image control?

How do I save an empty image data into database if the image control has no image? But if the image control has image data, the it should save as well. The xample is that I have a web page that when the page loads, data is displayed from a database table…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,475 questions
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.
548 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,159 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,142 questions
asked 2023-05-27T08:27:35.76+00:00
Donald Symmons 1,926 Reputation points
edited a comment 2023-05-29T11:36:24.93+00:00
Donald Symmons 1,926 Reputation points
1 answer

Microsoft Graph .NET SDK with Delegated Access

Hello, I'm kind of overwhelmed by the whole Azure and Graph platforms and could use some advice for directions on where to look for my specific use case. What I'm trying to accomplish is to: Have a C# class library that will act as a Graph client for…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,648 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,142 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,298 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
879 questions
asked 2023-05-25T12:03:07.6833333+00:00
Jakub Pernica 25 Reputation points
answered 2023-05-29T11:33:19.4333333+00:00
Akshay-MSFT 5,596 Reputation points Microsoft Employee
0 answers

Host and deploy a blazor wasm application in Folder

Hi, I made an application with blazor wasm hosted .net6 core with standard identity Duende I want to publish it in local Folder and have acces to my app in my browser. First I would like to know if it's possible? I publish it to use Folder item; I run…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
969 questions
asked 2023-05-29T09:32:14.51+00:00
sblb 976 Reputation points
commented 2023-05-29T11:25:02.3366667+00:00
sblb 976 Reputation points