24,006 questions with .NET-related tags

Sort by: Updated
1 answer

Website not working in production server but works in development machine

I'm using .NET Framework 4.8 and runtime 4.8 on production server running on Windows Server 2022 Standard. I've deployed our website to the production server using Web Deploy 4.0 without any problem. The website works fine on the development machine (no…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,276 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,178 questions
asked 2024-05-06T21:01:21.8033333+00:00
deskcheck1-0579 411 Reputation points
answered 2024-05-06T22:24:51.8866667+00:00
AgaveJoe 26,136 Reputation points
0 answers

building simple MAUI app causes an error

Type "Shell" was not found. Verify .... It is literrally the first line in AppShell.xaml. I have just created a new application and not edited any pages. The defult pages should be correct and buildable in sample app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,902 questions
asked 2024-05-06T22:11:05.73+00:00
Tariq Roshan 0 Reputation points
2 answers

How to register class library create with .NET 6.0?

I have a class library project create with .NET framework 4.7, and I use RegAsm.exe to register this library. Recently I upgrade this project to .NET 6.0, and I can not found .net 6.0 version of "RegAsm.exe", so, what can I do?

.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,125 questions
asked 2022-08-18T09:12:40.47+00:00
aluzi liu 486 Reputation points
commented 2024-05-06T20:55:38.9566667+00:00
Bobbili, Rohit R 36 Reputation points
0 answers

CultureNotFoundException Querying SQL database using EF

Hello, I have a Web App (ASP.NET MVC) with controllers making CRUD operations using EF 6. Any operation involving the EF context to read data generates the following exception The Web App is localized in it-IT, setting up ThreadCulture and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,276 questions
asked 2024-05-06T10:18:01.0933333+00:00
Setteidea SRL 0 Reputation points
edited the question 2024-05-06T20:55:31.9433333+00:00
Erland Sommarskog 101.4K Reputation points MVP
2 answers

Where Can I Find the Remoted iOS Simulator for Windows PC?

Where can I find the Remoted iOS Simulator for Windows PC?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2024-05-06T08:53:53.8966667+00:00
R9I1 1 Reputation point
answered 2024-05-06T20:10:07.9+00:00
Bruce (SqlWork.com) 56,771 Reputation points
2 answers

why url converts https:// instead of http

Hello We have one domain name for example www.abcd.com i shared this link to our team via whats app when they click it automtically converting https:// how to solve so that the link can be open in http only

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,276 questions
asked 2024-05-06T10:47:19.84+00:00
RAVI 916 Reputation points
answered 2024-05-06T20:00:44.5633333+00:00
Bruce (SqlWork.com) 56,771 Reputation points
1 answer

After reinstalling dotnet, encountering an error when running 'dotnet run.' Attached is the error message. Please assist.

error NU1100: Unable to resolve 'Humanizer.Core (>= 2.14.1)' for 'net7.0'. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual Studio Offline Packages, nuget.org. error NU1100: Unable to resolve…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,192 questions
asked 2023-11-25T06:17:39.8666667+00:00
CHAMIKA 20 Reputation points
answered 2024-05-06T19:50:04.2333333+00:00
Bruce (SqlWork.com) 56,771 Reputation points
0 answers

Jquery DataTable not working after appending the html code to DataTable using jQuery

I have created a datatable and appending the data to that datatable body , data appending successfully but the datatable not working properly ex:- If I click on the datatable header columns the entire table data is erasing. Here is my full logic…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,276 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
875 questions
asked 2024-05-06T13:26:54.2166667+00:00
Ashok Kumar 161 Reputation points
edited a comment 2024-05-06T19:23:43.93+00:00
AgaveJoe 26,136 Reputation points
2 answers

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,836 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
answered 2024-05-06T19:09:24.79+00:00
KOZ6.0 4,895 Reputation points
1 answer

Cancel Request after press button

Hello, We are using MVC .NET Core framework 6 and we need to cancel or kill request after send. For example after press a button that execute some actions in oracle Database. We need to Cancel this request from another button. Is this possible? and if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,192 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
300 questions
asked 2024-05-06T17:37:48.1266667+00:00
Ibrahim Shawky 20 Reputation points
answered 2024-05-06T18:43:19.7166667+00:00
Bruce (SqlWork.com) 56,771 Reputation points
1 answer

Blazor Multitenant Configuration with Azure App Configuration Service

I have read the following article, but no where in this document does it talk about how this can be instantiated within your program.cs or startup using…

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
209 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,398 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,920 questions
asked 2024-05-01T17:47:48.67+00:00
Tom McCartan 5 Reputation points
commented 2024-05-06T18:01:36.8333333+00:00
Bruce (SqlWork.com) 56,771 Reputation points
3 answers One of the answers was accepted by the question author.

How to upload file and view those file in modal popup using gridview

I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,276 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,281 questions
asked 2024-04-17T14:56:04.6833333+00:00
Gani_tpt 1,566 Reputation points
accepted 2024-05-06T17:33:43.1366667+00:00
Gani_tpt 1,566 Reputation points
1 answer

Microsoft.EntityFrameworkCore.SQLServer 8.0.1 (latest version) has High vulnerabilities on its transitive dependencies. When will we have another patch released with no vulnerabilities on its transitive dependencies?

Microsoft.EntityFrameworkCore.SQLServer 8.0.1 (latest version) has High vulnerabilities due to transitive dependencies on Azure.Identity 1.7.0 and Microsoft.Data.SQLClient5.1.1. Both these dependent packages have a non vulnerable latest version. …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
asked 2024-01-24T18:30:07.4066667+00:00
seshan 0 Reputation points
commented 2024-05-06T17:28:48.04+00:00
Bruce (SqlWork.com) 56,771 Reputation points
1 answer

Error: "Web Page is not working"

I'm using ASP.Net Core MVC with Identity Framework. I added a new category model: public class Category { #pragma warning disable CS8618 [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get;…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,192 questions
asked 2024-05-06T15:53:48.09+00:00
Kenneth R. Jones 41 Reputation points
edited an answer 2024-05-06T17:05:58.22+00:00
Kenneth R. Jones 41 Reputation points
1 answer

How to reduce the number of wasm libraries loading at the first load

Hello, We are facing issue with loading Blazor web assembly app. We have observed that the Blazor web assembly project loads a lot of wasm libraries in the beginning. It loads around 25mb of data in first load. And this is impacting performance of our…

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,398 questions
asked 2024-05-06T12:32:40.0633333+00:00
Mayank Nisar 5 Reputation points
answered 2024-05-06T16:03:48.67+00:00
Bruce (SqlWork.com) 56,771 Reputation points
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,668 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,902 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-05-06T15:51:48.4533333+00:00
Grant Schaffer 20 Reputation points
0 answers

Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one.

Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one. And I may give back a little to community making this GitHub repository…

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,398 questions
asked 2024-05-06T15:12:28.11+00:00
Timo Kinnunen 126 Reputation points
1 answer

Service Monitor

Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
asked 2024-05-05T16:07:58.2833333+00:00
Dani_S 2,726 Reputation points
commented 2024-05-06T14:47:42.0733333+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
0 answers

Access data stored in vTPM

Hi All, We have a WPF application running on .Net Framework v4.8. We are currently using 'ESXi' to host 'Windows Server 2022', which inturn hosts the WPF application. We are planning to store all the sensitive data related to the application, such as…

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,677 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,281 questions
asked 2024-05-06T12:16:02.39+00:00
S Abijith 346 Reputation points
edited the question 2024-05-06T14:30:20.4233333+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
0 answers

The code generator for identity command failing saying No MSBuild was detected?

The code generator for identity command failing saying No MSBuild was detected?

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
5 questions
asked 2024-05-06T13:47:43.7333333+00:00
Muhammad Naeem 0 Reputation points
commented 2024-05-06T13:59:29.92+00:00
Rakesh Gurram 2,925 Reputation points Microsoft Vendor