23,785 questions with .NET-related tags

Sort by: Updated
0 answers

How to design patterns from scratch using C# asp.net MVC

I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,245 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,200 questions
asked 2024-04-19T14:27:10.4633333+00:00
coder rock 196 Reputation points
0 answers

FCM V1 notifications are not delivered from Azure Notification Hub

I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
259 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 25 Reputation points
commented 2024-04-19T13:55:10.3666667+00:00
Hiran Desai 25 Reputation points
1 answer One of the answers was accepted by the question author.

Screen Orientation in .NET Maui Application

I am looking to force a certain page to be displayed in landscape mode only. Is there a way to do this in shared code (I am only producing for iOS and Android, no Windows or MacCatalyst needed).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,842 questions
asked 2024-04-18T14:53:49.4766667+00:00
Isspro-eng 20 Reputation points
accepted 2024-04-19T13:50:48.9133333+00:00
Isspro-eng 20 Reputation points
0 answers

Value cannot be null. Parameter name: existingConnection

Hi, I am quite new to Visual Studio development and I am working on a hobby project using WPF application with C#. I currently exploring User Control in WPF application. So, I have a project named "wpfLearnMainWin" say parent project (that has…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,345 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,577 questions
asked 2024-04-19T13:16:45.13+00:00
Lakshman Balasubramanian 1 Reputation point
commented 2024-04-19T13:46:33.8033333+00:00
Viorel 111.8K Reputation points
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,842 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-19T13:28:43.8033333+00:00
Lloyd Sheen 1,351 Reputation points
0 answers

Blazor .net 8 performing authentication with sessionStorage

Hi, I used sessionStorage to ensure that the user remains logged in throughout the session. I had my own pre built database with usernames and passwords, so I did not use migrations and did not implement this with…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,345 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,377 questions
asked 2024-04-19T13:18:56.1633333+00:00
Esma 20 Reputation points
0 answers

how to change the sdk and emulator path?

the android sdk and emulator is all in C:\\ how to change the path? one of the emulator path is C:\Users\ljzj\.android\avd\pixel_5_-_api_30.avd how to change it to other path

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,842 questions
asked 2024-04-19T13:11:37.76+00:00
mc 3,641 Reputation points
0 answers

Blazor Title

Hello, I have a Blazor 8.0 project that has been giving me trouble when it comes to Title. I have a <PageTitle> tag on every page but it remains the Home no matter on which page I am redirected. Is there a solution for this problem? Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 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,377 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,245 questions
asked 2024-04-19T09:30:14.7833333+00:00
Kuler Master 246 Reputation points
commented 2024-04-19T13:03:29.9466667+00:00
Kuler Master 246 Reputation points
1 answer

Mac question

I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,842 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-19T12:51:44.34+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer

How To make Common Filter Component in Blazor Web Assembly project

Please Describe How i make Common filter component

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,377 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
3 questions
asked 2024-03-14T06:27:12.5133333+00:00
Azizullah Ali 0 Reputation points
answered 2024-04-19T12:48:04.2366667+00:00
Pradeep M 80 Reputation points Microsoft Vendor
2 answers

Trying to figure out why ocx file wont load form.

Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,821 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 0 Reputation points
edited a comment 2024-04-19T12:37:16.3+00:00
RLWA32 40,021 Reputation points
8 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 30 Reputation points
commented 2024-04-19T12:31:29.8133333+00:00
Kasaven Naicker 0 Reputation points
1 answer

How to create Dialog, bar graphs in Blazor Webassembly with dynamic data. It will be common component

Title: Creating Dialogs and Bar Graphs in Blazor WebAssembly with Dynamic Data. It will be a common component. Description: I'm currently working on a Blazor WebAssembly project and I need some guidance on two specific tasks: creating dialogs and…

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,377 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
3 questions
asked 2024-03-28T08:14:22.2566667+00:00
Azizullah Ali 0 Reputation points
answered 2024-04-19T12:20:00.55+00:00
Pradeep M 80 Reputation points Microsoft Vendor
1 answer

problem with otp generation

Register.cshtml @page "/register" @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } <h5>NEW REGISTER</h5> @if (Model.IsPhoneNumberPresent) { <form method="post"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 questions
asked 2024-04-19T07:05:24.33+00:00
Nandini S 20 Reputation points
answered 2024-04-19T12:19:01.4933333+00:00
AgaveJoe 26,186 Reputation points
2 answers

Failure to run Blazor Web Assembly on CPU 5200

The software Develop with Blazor Web Assembly and .NET 8 runs on almost all CPUs, but it does not run on the Intel E5200 CPU.

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,377 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
3 questions
asked 2024-04-09T10:05:43.3733333+00:00
amir allahvirdi 0 Reputation points
edited an answer 2024-04-19T12:18:44.99+00:00
Pradeep M 80 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Need help with a problem in my Blazor .NET 8 server application

I'm facing an issue and I'm not sure who to ask for help. Could you please provide me with some suggestions? I've been unable to find my mistake despite my research.I've implemented user authentication in a Blazor .NET 8 server application, where I'm…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,345 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,377 questions
asked 2024-04-18T11:18:23.39+00:00
Esma 20 Reputation points
accepted 2024-04-19T12:10:42.7066667+00:00
Esma 20 Reputation points
1 answer

Net6 C#, Linux vs Windows, different floating point calculations?

I am doing floating point calculation with doubles with C# under Net6 (runtime Net 6.0.2) on Windows (Windows Server 2019 Datacenter) and Linux (ubuntu 20.04), and I get different results. I did this : double a = 350668.75030235935; double b =…

.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,117 questions
asked 2022-11-21T09:11:23.04+00:00
Omar El Hassani 1 Reputation point
commented 2024-04-19T12:02:05.3533333+00:00
Thomas 0 Reputation points
2 answers

Recognize whether the user is logged in

In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…

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,667 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,413 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,200 questions
asked 2024-04-18T15:03:37.3466667+00:00
Heiko 1,191 Reputation points
edited an answer 2024-04-19T11:43:12.21+00:00
RLWA32 40,021 Reputation points
0 answers

IOS 18 compatibility?

Hi, Can anybody confirm if existing Xamarin form (ios only) apps will continue running on all devices when ios 18 is released? I realise the support cycle ends May 1st, but if i rebuild the app now with new distribution and provisioning certificates, is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
asked 2024-04-19T10:05:10.08+00:00
Andy H 0 Reputation points
commented 2024-04-19T11:06:53.84+00:00
Andy H 0 Reputation points
0 answers

How to fix .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance Error.

Hello, I am seeing this error in the event logs: .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{2EB6DCDB-3250-4D7F-AA42-41B1B84113ED}'. HRESULT: 0x80040154. Process ID (decimal): 28340. Message…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,345 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,200 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,519 questions
.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,117 questions
asked 2023-06-28T08:04:35.5566667+00:00
Bhushan Mendhe 0 Reputation points
edited a comment 2024-04-19T11:02:01.07+00:00
Mike Gledhill 0 Reputation points