Microsoft Q&A

.NET

15,177 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,177 questions with .NET-related tags

Sort by: Updated
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,391 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,391 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,391 questions
asked 2023-05-29T12:20:51.45+00:00
Shirisha Siddamshetti 20 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,160 questions
asked 2023-05-17T10:57:19.1033333+00:00
Matthew Zoljan 20 Reputation points
commented 2023-05-29T12:06:56.6233333+00:00
Matthew Zoljan 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,124 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 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.
547 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 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,160 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
0 answers

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.
968 questions
asked 2023-05-29T11:34:21.9266667+00:00
sblb 976 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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,297 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
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,650 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 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.
968 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
0 answers

An error occurs when Blazor WASM is routed through Azure Front Door

I have implemented Blazor WASM app with AAD refer to the URL below. https://learn.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/hosted-with-azure-active-directory?view=aspnetcore-7.0 This worked fine, but An error occured when I created a…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,650 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
384 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.
968 questions
asked 2023-05-29T08:07:58.6866667+00:00
38997385 0 Reputation points
edited a comment 2023-05-29T11:21:10.2766667+00:00
38997385 0 Reputation points
1 answer

Cursor position wrongly updates when a colon is added to entry from coding.

Cursor position wrongly updates when a colon is added to entry from coding. Working fine in Xamarin Forms but not in MAUI. I have created a sample project which reproduces the issue. please download the project from this link

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,391 questions
asked 2023-05-25T10:35:03.17+00:00
Satya 60 Reputation points
answered 2023-05-29T11:03:49.5266667+00:00
Muhammad Ahmed 0 Reputation points
1 answer

Upgrading from .net 5 to .net 6 has broken the static files rendering in Development mode

We have web application hosted in kubernetes has issues rendering the static files when "ASPNETCORE_ENVIRONMENT" set to "Development". The same code works if the "ASPNETCORE_ENVIRONMENT" is set to "Production" The…

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,313 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 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,160 questions
asked 2023-05-27T07:45:36.03+00:00
Puneeth K 0 Reputation points
edited an answer 2023-05-29T10:55:13.6666667+00:00
Boris Von Dahle 1,201 Reputation points
2 answers One of the answers was accepted by the question author.

Updating the ASP.Net Application from .Net 4.5 to .Net 4.8

Am going to update my ASP.Net MVC/WebApi project from .NET4.5 to .NET 4.8 due to the server upgrade. Do I really need to update the nugetpackages since all are targeting the .Net4.5 framework?. Can anyone suggest what are the other things that I should…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 questions
asked 2023-04-28T14:59:30.5166667+00:00
Mathankumar Rajendran 0 Reputation points
accepted 2023-05-29T10:43:49.1+00:00
Mathankumar Rajendran 0 Reputation points
2 answers

how to remove \ in string?

how to remove the \ in string? there is string: {\"id\":1,\"value\":\"max\"} how to remove the \ but keep the "? {"id":1,"value":"max"} and also how to get the…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
504 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,124 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.
996 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 questions
asked 2023-05-28T05:57:48.0966667+00:00
mc 1,921 Reputation points
edited an answer 2023-05-29T09:43:44.1366667+00:00
Jerry Fu - MSFT 391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Colors are not working in maui release mode

I have migrated the Xamarin forms app to .NET MAUI. In Debug mode, app works fine but not in release mode.(Android API 33). Color, Text Color, Background Color etc, are not working in MAUI release mode. I have used/binded these properties through…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,391 questions
asked 2023-05-26T09:03:18.01+00:00
Satya 60 Reputation points
accepted 2023-05-29T09:39:46.3566667+00:00
Satya 60 Reputation points
1 answer

How to customize ToolTipProperties.Text for Image in .NET MAUI?

I added ToolTipProperties.Text for Image By default it is showing in top. But i need to show on left side. Target platform - Windows

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,391 questions
asked 2023-05-25T13:36:01.25+00:00
Sowndarrajan Vijayaragavan 60 Reputation points
edited an answer 2023-05-29T09:27:31.98+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 19,966 Reputation points Microsoft Vendor
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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 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,362 questions
asked 2023-05-29T00:59:20.6633333+00:00
William Liu 126 Reputation points
answered 2023-05-29T09:23:14.8+00:00
Hui Liu-MSFT 17,226 Reputation points Microsoft Vendor
0 answers

MAUI Label inside layouts are not aligning properly

I have to show two labels side by side which are centered in a layout based on dynamic text. It was working fine in Xamarin forms, but not in MAUI. Label is not centering and LineBreakMode is also not working. <?xml version="1.0"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,391 questions
asked 2023-05-29T09:22:17.62+00:00
Satya 60 Reputation points
1 answer

Carousel view setting default position not working in maui

Carousel view setting default position not scrolling to item on page load in maui. After data is loaded to carousel view, updating position not working. CarouselView.Position = index;

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,391 questions
asked 2023-05-22T06:10:51.5466667+00:00
Satya 60 Reputation points
commented 2023-05-29T09:17:52.91+00:00
Satya 60 Reputation points
2 answers

Error Microsoft.office.interop.outlook in c# asp.net

Using interop.outlook to send mail using asp net and works fine on local computer.but giving error on server like could not load file or assembly 'office, version=14.0.0.0, culture= neutral, publickeytoken.........' help me it's very urgent.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 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,160 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,001 questions
asked 2023-05-27T11:09:53.65+00:00
Poonam Wandhare 0 Reputation points
commented 2023-05-29T09:17:22.8433333+00:00
Lan Huang-MSFT 14,986 Reputation points Microsoft Vendor