26,024 questions with .NET-related tags

Sort by: Updated
0 answers

How to place appsettings.json in RCL project to be consumed by Configuration of blazor wasm app

I have a strategy to share App.razor from RCL project with Blazor hosting apps like Blazor Webassembly standalone app as a front-end app and Blazor hybrid apps as native apps. I placed all assets into a RCL project(RCL) including appsettings.json file in…

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,594 questions
asked 2024-11-02T10:19:31.8366667+00:00
Charles Kim 5 Reputation points
edited the question 2024-11-03T02:11:33.14+00:00
Charles Kim 5 Reputation points
0 answers

realtime update

I have a service, that is uploading to firestore async Task LoadOrInitializeTurbineAsync() { var turbinesRef = _firestoreDb!.Collection(collectionName); var snapshot = await turbinesRef.GetSnapshotAsync(); if (snapshot.Count ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,579 questions
asked 2024-11-03T01:07:14.06+00:00
Eduardo Gomez Romero 825 Reputation points
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 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,594 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,997 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 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,594 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,997 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 10 Reputation points
commented 2024-11-02T22:49:59.3666667+00:00
SurferOnWww 3,031 Reputation points
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 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,594 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,997 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 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,594 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,997 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 10 Reputation points
commented 2024-11-02T22:49:59.3666667+00:00
SurferOnWww 3,031 Reputation points
0 answers

Why do clients calling a grpc server via named pipes which is hosted in a windows service require admin rights?

I have a grpc service which uses named pipes, it is hosted in a Windows service. If my client is running with admin rights it is able to call the service otherwise it fails with an UnauthorizedAccessException. This is a replacement for an old WCF service…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
asked 2024-01-02T13:51:21.6366667+00:00
Stephen Richardson 41 Reputation points
commented 2024-11-02T16:51:55.3233333+00:00
RLWA32 45,691 Reputation points
6 answers One of the answers was accepted by the question author.

Bundle and Minify functionality not working on Enterprise Visual Studio

I am unable to minify my css and js files in a visual studio c# .net core web app project. I am also unable to launch the minify context menu on against a target file. I have installed BundlerMinifier.Core nuget package version 3.2.449 but it is not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
asked 2024-10-29T20:41:29.8766667+00:00
Onyango, David 21 Reputation points
commented 2024-11-02T09:52:26.2233333+00:00
Himanshu Tripathi 0 Reputation points
1 answer

How to get a particular column from table and display in in label and not in the list in sqlite database in mvvm model

In MVVM model using async connection, I want to retrieve just one column from my async table to a label not to list. all sample I am seeing put all column in the list . I want only one mesa1 column to be displayed in a label.text. public async Task

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,948 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,579 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,997 questions
asked 2024-06-08T10:40:43.1+00:00
Gbenga Banuso Odumosu 40 Reputation points
edited the question 2024-11-02T09:01:25.26+00:00
simo-k 555 Reputation points
1 answer

Creating List of Input Using Model and HtmlHelper

Hello everyone and thanks for the help in advance. I want to create a from that utilizes a list of input text boxes that corresponds with a model of a database table. The controller accepting the input expects a List<tblData> which in turn…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
asked 2024-11-01T15:37:44.67+00:00
Kmcnet 806 Reputation points
answered 2024-11-02T02:24:29.1333333+00:00
SurferOnWww 3,031 Reputation points
3 answers

Where is system.device.location?

I am trying to use the GeoCoordinateWatcher in my WPF application. Whenever I type the using statement "using System.Device.Location" I am told it does not exist. I have read that I have to add it as a reference but when I go to the list of…

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,783 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,997 questions
asked 2022-03-16T00:46:27.013+00:00
Ike 6 Reputation points
commented 2024-11-02T01:51:06.2766667+00:00
Steve Shaw 0 Reputation points
1 answer

Microsoft.SqlServer.XEvent.XELite does not disconect when server is unreachable

We are using Microsoft.SqlServer.XEvent.XELite with ReadEventStream to read extended events from our servers. We have a .net code that gets the events for processing and storage. We have an issue where, while we have the connection open, the server may…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,948 questions
asked 2024-10-26T10:25:50.76+00:00
Marinos Stylianou 0 Reputation points
commented 2024-11-01T21:32:23.13+00:00
Marinos Stylianou 0 Reputation points
2 answers

Getting "We couldn't sign you in" error after signing into .NET Core web app using Azure authentication

I'm trying to retrofit Azure authentication into a .NET Core v8 web application. I'm using this tutorial: https://learn.microsoft.com/en-us/entra/identity-platform/tutorial-web-app-dotnet-call-api?tabs=visual-studio%2Cdotnet6 I have an application set up…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
Microsoft Entra
asked 2024-11-01T20:36:19.5633333+00:00
Ron Raney 0 Reputation points
commented 2024-11-01T20:38:10.7433333+00:00
Ron Raney 0 Reputation points
1 answer

How to fix .NET 4.6 application pool crash on Windows Server 2022

We recently upgraded our Windows Server from 2012 to 2022. We are now experiencing App Pool crashes with IIS hosted applications running .NET 4.6. The crashes require us to stop the application pool, terminate the w3wp.exe task manually for that…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,199 questions
asked 2024-10-10T11:34:26.3066667+00:00
Trevor Levitt 0 Reputation points
edited a comment 2024-11-01T20:23:53.6266667+00:00
Lex Li (Microsoft) 5,582 Reputation points Microsoft Employee
1 answer

Xamarin support for Android API 34 (14)

Hi I have a project and trying to update to API 34 with no luck even I create a blank project (Start new project with basic hello world template) also giving me the same error. Here is the error The TargetFrameworkVersion (Android API level 33) is lower…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 questions
asked 2024-10-28T11:21:17.2066667+00:00
Yohanes AI 0 Reputation points
answered 2024-11-01T17:34:21.9866667+00:00
Bruce (SqlWork.com) 66,061 Reputation points
1 answer

NFC plugin or library for .NET Maui Android?

I've tried all or most of the proposed solutions on the web to try and to get NFC to work in .NET Maui, and it is such a pain. The app that I need to build is not big, a login page, a barcode scanner page, and then an NFC page. I have the first 2 working…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,579 questions
asked 2023-11-03T19:14:39.99+00:00
Will 5 Reputation points
commented 2024-11-01T17:12:08.3966667+00:00
William 0 Reputation points
2 answers One of the answers was accepted by the question author.

I am getting the below error while trying to build a project in Visual Studio

Severity Code Description Project File Line Suppression State Error MSB4018 The "GenerateDepsFile" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Json, Version=6.0.0.0, Culture=neutral,…

.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,166 questions
asked 2024-10-17T17:18:33.1866667+00:00
Sri Adapa 30 Reputation points
commented 2024-11-01T17:05:34.63+00:00
Annedla, Prashanth 5 Reputation points
1 answer One of the answers was accepted by the question author.

error ASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level, when adding <hostingEnvironment shadowCopyBinAssemblies="false" /> in web.config file.

I've an azure cloud service web role project. In the csproj file I have the pre-compilation steps to basically pre-compile the asp.net application and generate app_*.dll's. Now I've to add <hostingEnvironment shadowCopyBinAssemblies="false"…

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
701 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 questions
Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
701 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 questions
asked 2024-11-01T11:17:47.8466667+00:00
Pulkit Sharma 20 Reputation points Microsoft Employee
commented 2024-11-01T17:01:14.0166667+00:00
Pulkit Sharma 20 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

error ASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level, when adding <hostingEnvironment shadowCopyBinAssemblies="false" /> in web.config file.

I've an azure cloud service web role project. In the csproj file I have the pre-compilation steps to basically pre-compile the asp.net application and generate app_*.dll's. Now I've to add <hostingEnvironment shadowCopyBinAssemblies="false"…

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
701 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 questions
Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
701 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 questions
asked 2024-11-01T11:17:47.8466667+00:00
Pulkit Sharma 20 Reputation points Microsoft Employee
commented 2024-11-01T17:01:14.0166667+00:00
Pulkit Sharma 20 Reputation points Microsoft Employee
1 answer

can I use c++ to develop xamarin.android?

can I use c++ to develop android application ? and I know I can not use .net library. but I just wonder If I can use c++ to developt it.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 questions
asked 2024-10-31T01:32:37.48+00:00
mc 4,576 Reputation points
answered 2024-11-01T16:27:15.4333333+00:00
Bruce (SqlWork.com) 66,061 Reputation points
2 answers

MSIS7012 : The same client browser session has made '6' requests in the last '1' seconds. Contact your administrator for details

We have a .Net application which we implemented ADFS WSFED in it. Its working fine in local but when we deployed we are facing this error. For Dev in URL I see Realm is HTTPS but wreply is HTTP. But for local I see Realm is HTTPS but wreply is HTTPS.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,261 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,069 questions
asked 2024-09-16T02:49:42.47+00:00
rody 0 Reputation points
commented 2024-11-01T15:58:52.6066667+00:00
Himanshu Tripathi 0 Reputation points
1 answer

Using ML.NET for Predicting Hourly User Session Counts

I am new to AI/ML and need assistance with a business scenario that involves machine learning, specifically using ML.NET as our preferred technology. We have collected hourly user session count data per country for the last year through log analytics.…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,951 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
159 questions
asked 2024-10-30T12:51:31.8033333+00:00
Harshal Sonparote 1 Reputation point
commented 2024-11-01T15:46:33.09+00:00
Sina Salam 11,916 Reputation points