23,907 questions with .NET-related tags

Sort by: Updated
0 answers

Application exception when trying to get response from server

Register.cshtml 1. ``````xml <button type="submit" class="btn btn-outline-primary btn-sm ml-4 mt-4" asp-page-handler="GenerateOtp" style=" width: 150px;"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,173 questions
asked 2024-04-29T07:21:39.1033333+00:00
Surya Chandra Mohan 0 Reputation points
edited a comment 2024-04-29T12:06:56.5766667+00:00
AgaveJoe 26,206 Reputation points
0 answers

How to add to "GraphicsView" class with “DrawableProperty" in dotnet maui

Hello! I trying drawing of the circle in center which is touched in the "GraphicsView" control. And I thought the one of the important points is how to add "GraphicsView" class with "DrawableProperty" in dotnet Maui. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 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,256 questions
asked 2024-04-27T01:29:11.7533333+00:00
康二郎 井上 0 Reputation points
commented 2024-04-29T11:30:11.06+00:00
康二郎 井上 0 Reputation points
0 answers

COM aggregation, "stabilization" AddRef/Release pair, necessary? (Don Box book)

To the excellent members of the COM team:   I have one question with the “stabilization” technique introduced in Don Box’s book.   In functions like FinalConstruct(), the outer object might create inner aggregation objects. These inner objects in turn…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,530 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,494 questions
asked 2024-04-29T07:02:22.5866667+00:00
masterjodi 0 Reputation points
commented 2024-04-29T11:20:44.18+00:00
RLWA32 40,296 Reputation points
1 answer

Error code 403 when I try open Azure Active Directory

Hi, when I try to open Azure Active Directory or User settings I recived Error code403: I saw that I am not the first person with problem like this but answers in another topics didnt help my at all, because I cannot open user settings. Maybe is here…

F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
55 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
92 questions
asked 2023-03-01T07:31:20.0866667+00:00
Anonymous
edited a comment 2024-04-29T11:04:36.4033333+00:00
Galina Miteva 0 Reputation points
0 answers

An unhandled exception occurred while processing the request. ApplicationException:

Register.cshtml @page @model FaceAdminApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } @if (Model.IsPhoneNumberPresent) { <div class="container"> <div class="row…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,173 questions
asked 2024-04-29T10:37:59.57+00:00
Nandini S 20 Reputation points
0 answers

How to set JDK path used by dotnet build command

Hello, We build our .NET MAUI app for android using the dotnet publish command on the command line. During the build, the wrong version of the JDK (Java Development Kit) gets picked. How can we specify the path to the JDK that should be used for the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 questions
asked 2024-04-29T07:00:01.4566667+00:00
Simon 0 Reputation points
commented 2024-04-29T10:28:14.83+00:00
Simon 0 Reputation points
0 answers

An unhandled exception occurred while processing the request. ApplicationException:

Register.cshtml 1. 1. xml @page @model FaceAdminApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } @if (Model.IsPhoneNumberPresent) { <div…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,173 questions
asked 2024-04-29T07:34:13.99+00:00
Nandini S 20 Reputation points
edited the question 2024-04-29T10:21:53.11+00:00
Nandini S 20 Reputation points
0 answers

Direct API POST method to another URL

Good morning, afternoon or night!! Dear all, I will need to be "listening" to an Access device that will be sending a Json in the POST Method. To do this, I created a (simple) API to do this monitoring and respond with a True or False. Problem:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,173 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,256 questions
asked 2024-04-27T13:11:19.82+00:00
Marcelo Nogueira 20 Reputation points
commented 2024-04-29T10:09:31.17+00:00
AgaveJoe 26,206 Reputation points
0 answers

How to visit the views of carouselview different item ?

webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-04-29T09:50:29.38+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
1 answer

MAUI extensions not available on visual studio 2022

I have Visual Studio v 17.7.4 and Visual Studio Preview v 17.8.0 and have recently installed the MAUI suite.  I am not given the option to create multi-platform apps as I assume I would on VS or VSP. I have gone through previous iterations of the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,609 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 questions
asked 2023-09-17T23:15:46.5933333+00:00
Reabetswe Marumane Mogoswane 20 Reputation points
edited a comment 2024-04-29T09:42:20.3333333+00:00
Richard Crane 0 Reputation points MVP
1 answer

How to set up role based authentication in a Blazor Server app in Microsoft Entra ID

Hi, I have a Blazor Server app and I want to use role based authorization in Microsoft Entra ID. I created role for it and I added permission to it: Program.cs builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme) …

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,393 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,487 questions
asked 2024-04-29T07:39:18.5833333+00:00
71185955 20 Reputation points
commented 2024-04-29T09:07:41.1333333+00:00
Hatvani Sándor 0 Reputation points
1 answer

.Net core deployed application not supporting Chinese font in PDF.

I have chines font in my code when the app is deployed in app service and there is a logic to download the PDF file with the Chinese font, but the font is not visible.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,173 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,258 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,889 questions
asked 2024-04-29T06:30:59.03+00:00
Deepak Ramesh (SX/EDA2) 0 Reputation points
edited an answer 2024-04-29T09:05:24.9833333+00:00
JasonPan - MSFT 4,281 Reputation points Microsoft Vendor
2 answers

Fail to upload .Net MAUI application on Apple appstore

We have developed an application in .Net MAUI, we tried this application on Android and iPhone device. It works properly on both platform. Now we are trying to upload this application on Apple AppStore, but fails. We generate ipa file from Visual Studio…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 questions
asked 2024-04-26T14:24:36+00:00
Bhushan 0 Reputation points
answered 2024-04-29T08:53:35.0033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,336 Reputation points Microsoft Vendor
1 answer

Unable to reuse the same layout in a new form

Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,830 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
answered 2024-04-29T08:43:25.37+00:00
Jiale Xue - MSFT 31,976 Reputation points Microsoft Vendor
1 answer

Microsoft.Maui.Essentials packages

I have an razor class library and want to use Microsoft maui SecureStorage. In visual studio , NuGet interface, when select the latest Microsoft.Maui.Essentials packages, get the following…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 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,393 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 questions
asked 2024-04-27T08:45:34.1866667+00:00
Qun Shen 40 Reputation points
commented 2024-04-29T08:23:35.5766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
2 answers

How to calculate years from two different date in ASP.NET C#

I have Employee Admission Date which is stored in SQL table. In the ASP.NET click event, i want to calculate and find the years from the Admission Date and Current Date. For example, Admission Date : 10-MAR-2023 Current Date : 28-APR-2024 condition is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,258 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,256 questions
asked 2024-04-28T17:11:24.31+00:00
Gani_tpt 1,506 Reputation points
answered 2024-04-29T08:11:15.0266667+00:00
Pinaki Ghatak 2,320 Reputation points Microsoft Employee
2 answers

NuGet package creation from multiplatform MAUI class library

I have created a multiplatform MAUI Class library that works on Windows and Android. Now I want to create a NuGet package in order to use it in multiple MAUI projects. Is it possible to create a single NuGet package, or do I need to create one NuGet…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 questions
asked 2024-04-02T10:41:21.63+00:00
schifazl 0 Reputation points
answered 2024-04-29T08:07:56.0833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,546 Reputation points Microsoft Vendor
1 answer

Xamarin.ios integration with native ios sdk

Is it possible to integrate a native ios sdk (xcframework - swift) with xamarin.ios ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 questions
asked 2024-04-09T13:45:47.11+00:00
Luis Bernardo 0 Reputation points
commented 2024-04-29T08:02:44.4233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,336 Reputation points Microsoft Vendor
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,875 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
commented 2024-04-29T07:56:07.61+00:00
Dani_S 2,726 Reputation points
0 answers

How to set up role based autorization for Blazor Server app in Microsoft Entra ID

Hi, I have a Blazor Server app and I want to use role based authorization in Microsoft Entra ID. I created role for it and I added permission to it: Permissions: And here is the…

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,393 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,487 questions
asked 2024-04-29T07:29:30.3933333+00:00
71185955 20 Reputation points