25,604 questions with .NET-related tags

Sort by: Updated
1 answer

Programmatically assign a UserControl to a DataTemplate

I'm trying to create a datagrid only by using c# without xaml because at compile time i don't know anything about the data that i will receive. So i need to use the only DataGridTemplateColumn but to archieve this i need to assign a value to the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
asked 2024-09-19T11:04:16.69+00:00
Luca Iovene 0 Reputation points
answered 2024-09-19T14:36:51.17+00:00
Jiale Xue - MSFT 44,751 Reputation points Microsoft Vendor
1 answer

Scale out Blazor Server App using Azure cache Redis as backplane

I am current hosting Blazor server app in Azure App Service. I found an issue when my application scale out. So i change to use Azure cache Redis for SignalR backplane. I also enable session affinity with my App Service configuration. Most of the time I…

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,559 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
250 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
asked 2024-09-18T10:05:25.38+00:00
Kevin Seng 0 Reputation points
commented 2024-09-19T14:33:53.41+00:00
Sai Raghunadh M 150 Reputation points Microsoft Vendor
0 answers

Title in flyout doesn't show

Hello @Anonymous Do you remember this post https://learn.microsoft.com/en-us/answers/questions/1637791/transparent-flyout-items Where you told me that y flyout items are transparent, because I have to wait for the items to be ready. Well, I have a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-15T18:24:06.01+00:00
Eduardo Gomez Romero 405 Reputation points
edited a comment 2024-09-19T13:30:44.27+00:00
Eduardo Gomez Romero 405 Reputation points
0 answers

How to Highlight Arabic text after search with continuity in MAUI

I am using Visual studio 2022 MAUI 8.0 API 33 I am using WebView and label as shown below where WebView is properly highlighting arabic text after search with searched item while label is not showing highlighted text properly. <WebView …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-18T16:36:29.26+00:00
Faiz Quraishi 105 Reputation points
commented 2024-09-19T13:28:32.7666667+00:00
Faiz Quraishi 105 Reputation points
0 answers

Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio

I have my SharePoint 2010 application code in Visual Studio. I did clean, rebuild and deploy solution. I have done "Attach to Process" w3wp.exe files in the debug, but debugger is not hitting breakpoint when trying to work on UI. IIS reset is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,598 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,948 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
991 questions
asked 2024-09-19T11:25:46.3666667+00:00
VG 0 Reputation points
commented 2024-09-19T13:23:22.8466667+00:00
AgaveJoe 28,056 Reputation points
3 answers

how to return value from popup table to the C# asp.net code

Hi, On clicking a button on UI, we have to show a dialog or Popup Table on the center of the screen asking user to enter integer value of area(Mandatory) when one condition is met, then user clicks Ok(which has captureAreaVal() function in my script as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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.
10,858 questions
asked 2024-08-29T14:32:28.9533333+00:00
VG 0 Reputation points
commented 2024-09-19T12:57:17.04+00:00
VG 0 Reputation points
0 answers

Splash screen in between navigation.

While navigating back async from one page to another page i can able to see the splash screen in between navigation. FYI - im using default navigation provided by maui This is happing while doing Navigation.PopAsync(); Thanks Vabihva Methuku

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-19T12:06:37.2933333+00:00
Vaibhav Methuku 80 Reputation points
0 answers

ASP.NET Core authenticate with existing authentication ticket in OAuth provider OnCreatingTicket event callback

I have cookie authentication with 2 OAuth2 providers set up. The way it works is the user creates an account on my website with Discord OAuth2 and can then link their ExampleSite account with OAuth2 as well. This is my authentication set…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
asked 2024-09-19T11:14:42.4466667+00:00
iKingNinja 60 Reputation points
2 answers One of the answers was accepted by the question author.

MacCatalyst: Tooltips are not functional

Hi, I'm in net 8. and i'm using ToolTipProperties.Text and is work after long time and not work when I change it runtime. Thanks, .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-08-29T11:06:25.1533333+00:00
Dani_S 3,746 Reputation points
commented 2024-09-19T10:49:30.32+00:00
Dani_S 3,746 Reputation points
1 answer

How to format USB & CD-Rome

Hi, I'm using net 8, I would like to format. 1.USB include bit locker. 2.CD-Rome Can you supply full coe how to do it? Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,592 questions
asked 2024-07-30T11:01:04.0133333+00:00
Dani_S 3,746 Reputation points
commented 2024-09-19T10:45:58.54+00:00
Dani_S 3,746 Reputation points
2 answers One of the answers was accepted by the question author.

How to close MY TOKEN

Hi, I used maui app in mac + vs code in net 8. I used custome token that i get from our system to make call to our custom website. Aim: Before closing the app i need to close the token. Limitations: I can't override the window bacgrounding since all my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-05T11:57:54.2766667+00:00
Dani_S 3,746 Reputation points
accepted 2024-09-19T10:44:20.2433333+00:00
Dani_S 3,746 Reputation points
1 answer

Maui app issue

Hi, How to verify .Net Maui App is fine to work within Android? Any example?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-09T08:29:11.0866667+00:00
Peter_1985 2,666 Reputation points
commented 2024-09-19T10:18:39.81+00:00
Peter_1985 2,666 Reputation points
1 answer

Union between two lists doesn't work

Union between two lists doesnt work getting error in unionlist= groupsa.Union(groupsb); @page "/SetTheory" @using System.ComponentModel.DataAnnotations; <PageTitle>Set Theory</PageTitle> <div> SET A …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-18T10:39:39.0766667+00:00
Kalyan A 125 Reputation points
commented 2024-09-19T09:44:27.1833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,746 Reputation points Microsoft Vendor
0 answers

.NET MAUI: The App is breaking with custom WebView on the iOS Platform

We are using a webview to show the HTML data on the UI. We add a custom webview to increase the font size of the html data in ios platform. MyWebView public class MyWebView : WebView { public static readonly BindableProperty UrlProperty =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-12T11:24:04.86+00:00
Sreejith Sreenivasan 896 Reputation points
commented 2024-09-19T09:37:31.7633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,746 Reputation points Microsoft Vendor
1 answer

OnBackButtonPressed() is not triggering.

I'm working with the Android - Maui application, I had overridden the OnBackButtonPressed() method in the page, unfortunately on clicking on hardware back button in android the method is not getting triggered and the application is closing. Thanks. …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-19T04:44:04.6333333+00:00
Vaibhav Methuku 80 Reputation points
commented 2024-09-19T08:39:29.4933333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,641 Reputation points Microsoft Vendor
0 answers

Problems with binding Google's TapAndPay SDK on .NET MAUI

Has anyone had any luck integrating Google's TapAndPay SDK with .NET MAUI? I'm looking to support in-app card provisioning from my MAUI app to Google Pay Following the standard project setup does not map the methods correctly. I've tried mapping the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-19T00:47:32.76+00:00
jsidri 0 Reputation points
commented 2024-09-19T08:31:26.8533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,641 Reputation points Microsoft Vendor
1 answer

Replicating ASP.NET Request Validation Behavior in .NET 8 for Automatic Input Validation ?

In our current ASP.NET Framework 4.7.2 application, we utilize request validation to automatically check for potentially malicious input by setting requestValidationMode to 4.0 in the web.config file. This ensures that requests are validated for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
asked 2024-09-17T11:42:05.3466667+00:00
Kirankumar Bharsadiya 40 Reputation points
edited the question 2024-09-19T06:47:02.6433333+00:00
ajkuma 25,791 Reputation points Microsoft Employee
1 answer

Replicating ASP.NET Request Validation Behavior in .NET 8 for Automatic Input Validation ?

In our current ASP.NET Framework 4.7.2 application, we utilize request validation to automatically check for potentially malicious input by setting requestValidationMode to 4.0 in the web.config file. This ensures that requests are validated for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
asked 2024-09-17T11:42:05.3466667+00:00
Kirankumar Bharsadiya 40 Reputation points
edited the question 2024-09-19T06:47:02.6433333+00:00
ajkuma 25,791 Reputation points Microsoft Employee
1 answer

Camera option didn't appeared on MAUI android .net 8.0 WebView

My WebView does not show the camera functionality when the user interacts with the web page. This issue affects the ability to capture or upload images from the page. I have already added the necessary camera-related permissions to the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-09T09:07:17.1933333+00:00
Ei Ei Phyu 0 Reputation points
edited an answer 2024-09-19T06:32:54.7166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,641 Reputation points Microsoft Vendor
4 answers

.net maui 8 - how to implement a button that fills its horizontal space, and has conents left justified?

Id like to create a button that fills its horizontal space (width of parent) , and has its own contents left justified. It seems this was what StartAndExpand did, but it is now deprecated. I can ofcourse implement my own button using a Border/frame…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-05T10:16:06.29+00:00
Søren Kurgan Jacobsen 0 Reputation points
answered 2024-09-19T06:30:25.58+00:00
Søren Kurgan Jacobsen 0 Reputation points