24,123 questions with .NET-related tags

Sort by: Updated
1 answer

How to implement Google Authetication in Blazor Web app without Core Identity

I would like to use custom authentication without using out-of-the-box Core Identity in my Blazor Web App with Oauth authentication. I started the app using the template without using individual user account because we have our own registration and login…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,216 questions
asked 2024-05-14T10:25:28.9566667+00:00
Iftekhar Ahammed 0 Reputation points
answered 2024-05-14T22:59:10.54+00:00
Bruce (SqlWork.com) 57,401 Reputation points
2 answers One of the answers was accepted by the question author.

*.net referenced dll is not seen with a using statement

Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen?  The MBSAnalysisMVCWebApp.dll…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,294 questions
asked 2024-04-29T15:37:56.6+00:00
iqworks Information Quality Works 276 Reputation points
commented 2024-05-14T21:44:24.0433333+00:00
iqworks Information Quality Works 276 Reputation points
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,944 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,806 Reputation points
edited a comment 2024-05-14T21:18:50.1933333+00:00
Bruce (SqlWork.com) 57,401 Reputation points
1 answer

Solution Parser not working in .Net8

Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,807 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,683 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,324 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,314 questions
asked 2024-05-13T10:05:23.3933333+00:00
Sanjay Kumar Jha 151 Reputation points
edited an answer 2024-05-14T21:17:00.1066667+00:00
Can Kucukgultekin 0 Reputation points
0 answers

I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application.

I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application and publish option wouldn't be available when I try to deploy and some…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,427 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,655 questions
asked 2024-05-14T20:58:27.2933333+00:00
Rishitha 0 Reputation points
0 answers

Taking long time when handling large amount of data in gridview

I have been developing ASP.NET application. i am storing the image to sql table as binary format. i have more than 5000 customer records in the table. every customer will have the medical certificate as image in will be stored in SQL table in binary…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,294 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,324 questions
asked 2024-05-14T17:50:12.66+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-14T20:14:00.6633333+00:00
AgaveJoe 26,151 Reputation points
1 answer

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,216 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,407 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
commented 2024-05-14T19:54:29.5333333+00:00
Bruce (SqlWork.com) 57,401 Reputation points
3 answers One of the answers was accepted by the question author.

Blazor Server: It is possible get Current Loged User In DbContext

Hello, I build blazor server multi tenant application and I wants to use HasQueryFilter in entity framework DbContext for predefined filter with TenantId. But I cannot get Current Loged User in DbContext. I inject to DB Context…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
698 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,407 questions
asked 2021-03-17T08:54:54.227+00:00
Jan Mucha 101 Reputation points
commented 2024-05-14T18:49:57.5933333+00:00
Bruce (SqlWork.com) 57,401 Reputation points
1 answer

In Blazor Web App Server authentication Azure missing iss claims

Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…

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,407 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,701 questions
asked 2024-05-14T08:32:37.7933333+00:00
Stefania Robuschi 0 Reputation points
answered 2024-05-14T18:41:13.43+00:00
Bruce (SqlWork.com) 57,401 Reputation points
0 answers

Docker Build fails when I try to RUN apt-get

I am upgrading my application from .NET 6 to .NET 8. I am using a pod with ubuntu to compile and build my application due to compatibility issues with RHEL7. FROM mcr.microsoft.com/dotnet/aspnet:8.0 RUN apt update --fix-missing && apt install -y…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,427 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,294 questions
asked 2024-05-14T18:33:40+00:00
Adebayo,Adeniyi (HHSC) 0 Reputation points
1 answer One of the answers was accepted by the question author.

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,294 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,324 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
edited a comment 2024-05-14T17:54:16.9366667+00:00
Gani_tpt 1,586 Reputation points
1 answer

Not able to get all paging checkbox checked records in gridview asp.net c#

I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,294 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,324 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,586 Reputation points
edited a comment 2024-05-14T17:26:43.5466667+00:00
Gani_tpt 1,586 Reputation points
0 answers

How do I install .net runtime 6.0.29 using Intune?

What is currently the best way to install version 6.0.29 of .net runtime to a large number of users using Intune? There doesn't seem to be a .msi file within the executable and the PowerShell command for enabling it as a Windows feature no longer seems…

.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,129 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,426 questions
asked 2024-05-14T17:14:13.5733333+00:00
Woodson Baldwin 0 Reputation points
0 answers

web.config bindingRedirect not working

Hi, I have two projects. I have a MVC web application called MBSAnalysisMVCWebApp. I also have a .net framework MVC project called Mbsa. I found this link: …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,294 questions
asked 2024-05-11T22:47:30.2733333+00:00
iqworks Information Quality Works 276 Reputation points
commented 2024-05-14T16:23:19.11+00:00
iqworks Information Quality Works 276 Reputation points
0 answers

How to debug the MAUI app in the Android work profile.

Hello Team, I was working on one of the samples of Microsoft. - https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppWithBroker which crashing when installed in the work profile. Tried to debug it using the visual studio. Is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,944 questions
asked 2023-07-17T08:48:44.5566667+00:00
Vikrant Singh 16 Reputation points Microsoft Employee
edited the question 2024-05-14T16:23:13.52+00:00
Rob Caplan - MSFT 5,422 Reputation points Microsoft Employee
0 answers

How to get the bindable data from View MAUI

I have a code snippet below where I dynamically add data to StackLayout. For Xamarin Forms using BindingContext, I could access the data bound to the view. But this is not possible in.net MAUI. Is there any documentation for the same? public class MyData…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,944 questions
asked 2024-05-14T12:14:20.2066667+00:00
Chinmay Dole 0 Reputation points
edited the question 2024-05-14T16:20:18.49+00:00
Rob Caplan - MSFT 5,422 Reputation points Microsoft Employee
1 answer

USB on MAC

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. Is there USB in MAC ? How I protected the app for malicious operation that only the app will have access to it ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,944 questions
asked 2024-05-14T03:27:55.41+00:00
Dani_S 2,806 Reputation points
answered 2024-05-14T16:15:31.67+00:00
Bruce (SqlWork.com) 57,401 Reputation points
0 answers

How to Integrate .net core application to see logs in Azure Kubernates Cluster container insights

How can we integrate to see logs of our .net core API application in deployed Azure kubernates cluster container insights. what are all the code changes to be done to see errors and exceptions in container insights. I got to know that WriteTo.Console() ,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,216 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,880 questions
asked 2024-05-14T14:29:29.74+00:00
Hemanth Kumar Reddy Rachala 0 Reputation points
3 answers

what's the difference between windows forms app and windows forms app (.netframework) in vs 2022?

what's the difference between windows forms app and windows forms app (.netframework) in vs 2022?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 questions
asked 2023-03-30T06:15:45.95+00:00
Alick Wang 266 Reputation points
answered 2024-05-14T13:43:26.0466667+00:00
Alee Jee 0 Reputation points
1 answer

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,944 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-05-14T13:29:59.1833333+00:00
Aleena George 20 Reputation points