23,732 questions with .NET-related tags

Sort by: Updated
1 answer

How to exit from this function

Hi, How to exit from : public async Task Execute(IJobExecutionContext context) { return; }

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 questions
asked 2024-04-16T12:19:39.4666667+00:00
דני שטרית 2,666 Reputation points
commented 2024-04-16T16:03:24.54+00:00
דני שטרית 2,666 Reputation points
0 answers

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 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,179 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 201 Reputation points
commented 2024-04-16T15:45:39.92+00:00
Phunction 201 Reputation points
1 answer

after installation of VS2022 community, i have create a new MVC core project but after creation project is not loading under solution

after installation, i have create a new MVC core project but after creation project is not loading under solution i have tried with repair, modify and also with new instillation but no luck

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 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,565 questions
asked 2024-04-16T14:51:34.0333333+00:00
Shankarachary Pendota 0 Reputation points
answered 2024-04-16T15:44:23.7133333+00:00
AgaveJoe 26,181 Reputation points
1 answer One of the answers was accepted by the question author.

iOS Splashscreen not showing up

I am upgrading a Xamarin.Forms project to MAUI. I have a splash.png image in the Resources\Splash folder. It is 414x720 in size. I have the correct entries in the project file as shown on this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-15T21:54:03+00:00
Tony Pitman 40 Reputation points
accepted 2024-04-16T15:06:37.8566667+00:00
Tony Pitman 40 Reputation points
1 answer One of the answers was accepted by the question author.

Could not load file or assembly "System.Runtime" on Windows Server

I migrated a WPF project from .NET Framework to .NET 6 which builds fine on my local system (windows 11). However when I moved forward to Azure pipeline, we got this error and it can be replicated on a Windows Server 2022 VM. There are multiple .NET…

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,663 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,053 questions
asked 2024-04-12T21:44:36.36+00:00
zhangjinzhou 20 Reputation points
accepted 2024-04-16T15:02:40.2+00:00
zhangjinzhou 20 Reputation points
0 answers

Is there a way to minify or bundle or pack blazor wasm js?

Is there a way to minify or bundle or pack blazor wasm js?   For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.    

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,373 questions
asked 2024-04-16T14:41:52.6333333+00:00
RSa 0 Reputation points
commented 2024-04-16T14:44:29.7233333+00:00
RSa 0 Reputation points
0 answers

How can i get current user groups from Azure AD using claims in dotnet core?

I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,797 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,334 questions
asked 2024-04-16T09:54:17.1733333+00:00
Tomar, Abhishek 6 Reputation points
edited the question 2024-04-16T14:04:44.11+00:00
GitaraniSharma-MSFT 46,761 Reputation points Microsoft Employee
0 answers

.Net 6 Ubuntu jammy 22.04 base image upgrade. GSSAPI NTLM error

We are planning to upgrade from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. We target ubuntu 22.04 version jammy tag with amd64 architecture. This is our base image in the Docker file and the…

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
633 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,065 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
313 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,239 questions
asked 2024-04-16T14:00:09.06+00:00
Saravanakumar Balachandran 20 Reputation points
1 answer One of the answers was accepted by the question author.

Docker changes for Building .Net 8 application targeting Ubuntu 20.0.4 for amd64

Hi, We are upgrading from .Net 6 to .Net 8. I am trying to update the docker file for building the .Net application and specify .Net 8 version and target Ubuntu 20.0.4 version with amd64 architecture. Here is the code snippet at the high level FROM…

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
633 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
asked 2023-12-19T21:43:34.1333333+00:00
Saravanakumar Balachandran 20 Reputation points
accepted 2024-04-16T13:49:52.09+00:00
Saravanakumar Balachandran 20 Reputation points
2 answers

Xamarin navigate to page throws "Object reference not set to an instance of an object."

I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 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,565 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 40 Reputation points
answered 2024-04-16T13:18:44.06+00:00
Emma Jackson 0 Reputation points
1 answer

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,817 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 0 Reputation points
commented 2024-04-16T13:11:43.3+00:00
RLWA32 39,916 Reputation points
1 answer

How can pass from Datatable Data To Controller IActionResult

I want to insert some data from my datatable into another table. The checked data in my datatable is the result of the controller's action through I ajax I want to send array as parameter. Thanks in advance for your help. var table =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
asked 2024-04-16T06:59:10.3266667+00:00
jewel 681 Reputation points
edited an answer 2024-04-16T13:05:30.2466667+00:00
Brando Zhang-MSFT 2,716 Reputation points Microsoft Vendor
2 answers

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 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,663 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2024-04-16T12:58:03.65+00:00
Viorel 111.5K Reputation points
0 answers

Cannot access a disposed object when Upload file in Background Service

This is the error I am facing: Error occurred executing workItem. System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.String'. at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
asked 2024-04-16T12:52:22.7866667+00:00
Hoài Nam Nguyễn 21 Reputation points
1 answer

Multiple forms with common buttons

I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,817 questions
asked 2024-04-16T11:10:28.12+00:00
Prash 21 Reputation points
commented 2024-04-16T12:34:24.77+00:00
Prash 21 Reputation points
0 answers

how to check user data

Hello In asp.net textbox if user enter something like this with special charater i need to show alert check data For example APPLE /45 it has auto correct like this APPLE /45 MFLOW +/ CURRENT it has to auto corrrect like this MFLOW / CURRENT HELLO…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,239 questions
asked 2024-04-16T12:33:55.6866667+00:00
RAVI 896 Reputation points
0 answers

Edit directly in Grid on WEB Page in Razor

I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
asked 2024-04-15T17:43:07.4333333+00:00
Joseph Kashishian 20 Reputation points
commented 2024-04-16T12:18:22.62+00:00
SurferOnWww 1,906 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.
256 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 0 Reputation points
commented 2024-04-16T12:06:46.36+00:00
Hiran Desai 0 Reputation points
0 answers

How to render a razor page to another razorpage based on its conditions to login

Blazor syntax - @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode}" /> } else { <RegistrationForm /> } Razor syntax- <div class="px-6…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,239 questions
asked 2024-04-16T05:30:39.0866667+00:00
Surya Chandra Mohan 0 Reputation points
edited the question 2024-04-16T10:38:36.79+00:00
Surya Chandra Mohan 0 Reputation points
1 answer

How to implement layered architecture?

Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…

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,663 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,179 questions
asked 2024-04-10T20:42:05.4866667+00:00
fatih uyanık 80 Reputation points
commented 2024-04-16T10:23:36.7833333+00:00
fatih uyanık 80 Reputation points