24,957 questions with .NET-related tags

Sort by: Updated
0 answers

How do I fix an issue where deployed .NET 8 API to Azure App Service is just showing placeholder page and is not working?

I am trying to deploy a simple .NET 8 API to Azure App Service using the Github CICD which I setup from the App Service deployment center. After the initial setup, the Github Action ran successfully and in the overview I can see that the deployment was…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,626 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,361 questions
asked 2024-07-21T04:35:36.3066667+00:00
Jordan 0 Reputation points
1 answer

Outdated Graph API example for uploading files to OneDrive

var driveItem = await serviceClient.Me.Drive.Root.ItemWithPath(itemPath).Content.Request().PutAsync<DriveItem>(stream); https://learn.microsoft.com/en-us/training/modules/msgraph-dotnet-core-manage-files/7-upload-user-files The example code above…

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.
17 questions
asked 2024-07-21T00:48:25.18+00:00
Bob Lan 0 Reputation points
answered 2024-07-21T04:03:07.9866667+00:00
Bob Lan 0 Reputation points
0 answers

Why does a css file embedded in a DLL take 50.9ms to 9.4s to load?

Hi all; I have a Blazor server app running on Azure app server. I am using Application Insights to measure performance and as I am new to Application Insights, this may be a user error. I have MudBlazor referenced in App.razor as: <link…

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,496 questions
asked 2024-07-20T22:36:36.99+00:00
David Thielen 2,796 Reputation points
3 answers One of the answers was accepted by the question author.

How can I have Azure App Service environment variables override key vault secrets?

Hi all; If I define a string in both the Key Vault and the Azure App Service environment variables, the app will read the Key Vault entry. Is there a way to have it read the App Service value if set? thanks - dave

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,496 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,361 questions
asked 2024-07-09T22:05:52.75+00:00
David Thielen 2,796 Reputation points
accepted 2024-07-20T22:24:42.0966667+00:00
David Thielen 2,796 Reputation points
1 answer

How to deploy a net core web api with SSL

Need to understand how to deploy and appi en https

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,626 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,384 questions
asked 2024-07-20T21:18:05.61+00:00
Mario G Vernaza 0 Reputation points
answered 2024-07-20T21:45:45.1766667+00:00
Marcin Policht 18,010 Reputation points MVP
3 answers One of the answers was accepted by the question author.

.Net 4.8.1 app doesn't start because Windows says .Net 4.8.1 is not installed

We have an app that was built to be run by .Net 4.8.1 x86 . This app is installed in a Windows Server 2022 Datacenter Azure Edition. When we launch the app, a message box is shown by the OS, saying: "This application requires one of the following…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,626 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,602 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,628 questions
asked 2024-01-22T16:12:53.0333333+00:00
Jorge Silva 20 Reputation points
commented 2024-07-20T21:00:56.43+00:00
Stefan Cuypers 0 Reputation points
2 answers

anti-forgery tokens implementation in asp.net web api

Can any one help me with anti-forgery tokens implementation in asp.net web api and AngularJS. how do we maintain the forgery key in web api to validate the key for every request. Please provide the full example.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,410 questions
asked 2024-07-19T13:35:25.67+00:00
Bala Subrahmanya Gopal Jataprolu 0 Reputation points
answered 2024-07-20T20:03:59.19+00:00
Bruce (SqlWork.com) 61,186 Reputation points
4 answers

The type or namespace name 'System' could not be found

When I try to create a new Xamarin Forms app, nothing works. No imports can be found. Almost every line in the autogenerated code has a "not found" error. Visual Studio Enterprice 2019 I've tried to update the packages in nuget packages…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-06-04T11:35:21.937+00:00
Brage Mogstad 11 Reputation points
commented 2024-07-20T16:52:27.12+00:00
Daniel Ayala 0 Reputation points
1 answer

Blazor Wasm Hosted with SAML2 authentication

Good morning, We have a Blazor-ASP.NET Core Hosted application on .Net Core 6. In an on-premise IIS for a client where they authenticate against their locally corporate Active Directory. Now we proceed to migrate to the Cloud, logically we no longer…

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,496 questions
asked 2024-07-19T05:50:40.92+00:00
Mario Viadero Hidalgo 0 Reputation points
answered 2024-07-20T16:17:49.9733333+00:00
Bruce (SqlWork.com) 61,186 Reputation points
2 answers

How to build .net core 8 login and role base functionality, authentication and authorization using jwt token

Hi all i am new to .net core 8 and implementing login funcationality, authentication and authorization funcationality for that i have wrote below two methods. [HttpGet("GetLoginDetailsById")] public async…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,384 questions
asked 2024-07-16T20:32:03.8066667+00:00
coder rock 276 Reputation points
commented 2024-07-20T15:50:46.9333333+00:00
Bruce (SqlWork.com) 61,186 Reputation points
1 answer One of the answers was accepted by the question author.

Can't JoinRoom by Id

Hi, I am a student working on a school project, I am new to this, It is my first time doing NextJs with TypeScript, I also researched but did not see any working solution. I really do not know where the problem is. I would very much appreciate if there…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,384 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,628 questions
asked 2024-07-20T03:13:33.0566667+00:00
Nhựt Lại 45 Reputation points
commented 2024-07-20T13:00:56.8833333+00:00
Nhựt Lại 45 Reputation points
0 answers

How to add continuous speech/talk - Increase pause .NET MAUI SpeechToText

I have the below .Net MAUI code that works great. I use SpeechToText in CommunityToolkit.Maui 7.0.1 I want to add continuous speech, I mean when I speak, it must not stop listening until I press stop button. In the below code, when I stop speaking, or I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,626 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2024-07-20T12:59:52.91+00:00
Johnson 61 Reputation points
1 answer

Wpf white squares bug on display

When i running wpf application theres little white squares on display where position on mouse cursor. Any one know about these wieard bug

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,710 questions
asked 2020-03-03T17:47:31.28+00:00
manoj lakmal 1 Reputation point
answered 2024-07-20T12:50:17.2433333+00:00
Ridaali 0 Reputation points
1 answer

Unnessary folders after pulish in windows

Hi, Which folder are no need after publish : dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2024-07-17T08:51:34.1133333+00:00
Dani_S 3,316 Reputation points
commented 2024-07-20T12:11:08.78+00:00
Dani_S 3,316 Reputation points
2 answers

Connection string issue

Hi, What kind of file can be inserted, regarding Connection string, into Maui App?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,626 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 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,628 questions
asked 2024-07-16T06:07:51.48+00:00
Peter_1985 2,586 Reputation points
commented 2024-07-20T11:18:42.01+00:00
Peter_1985 2,586 Reputation points
2 answers

How to easily separate people from the background with the Noizz Without Watermark application on PC?

Hello everyone, I am very passionate about video editing and I have a dream to become a professional video editor, currently I do not know how to separate people from the background with Noizz Without Watermark application. Please help me, I am using…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
asked 2021-06-17T07:38:42.677+00:00
Cavani Edison 1 Reputation point
edited an answer 2024-07-20T07:26:02.1566667+00:00
Gamemodfree 0 Reputation points
3 answers

Blazor Server Application - Integrated SAML2

Good Day Everyone at our company we have a SSO provider which is in SAML2, we have integrated this on ASP.NET Webforms and ASP.NET MVC 5 projects, but we haven't tried to integrate it on Blazor Server Application as we are starting to develop our first…

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,496 questions
asked 2021-06-03T08:11:19.55+00:00
hydeinthesky 11 Reputation points
commented 2024-07-20T05:10:01.2066667+00:00
Achal Parikh 1 Reputation point
2 answers

System.NullReferenceException: 'Object reference not set to an instance of an object.'

Hi guys if i uncomment code below it will error with System.NullReferenceException: 'Object reference not set to an instance of an object.' lvOrders was null . If i comment its ok , i started debug and every thing run ok and i check if i…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,626 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,628 questions
asked 2024-07-19T16:17:23.72+00:00
doan gioi 0 Reputation points
commented 2024-07-20T02:34:03.7366667+00:00
doan gioi 0 Reputation points
0 answers

About MVC support please

<div class="row" id="education-seminar-forms-BilgisayarBilgi"> @for (int i = 0; i < Model.tBL_BilgisayarBilgisis.Count; i++) …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,384 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,410 questions
asked 2024-07-19T17:44:19.46+00:00
kadir 60 Reputation points
commented 2024-07-20T00:38:12.6866667+00:00
SurferOnWww 2,486 Reputation points
0 answers

Need help understanding SSO/cloud sync in multiple-subscription tenant

I am working on an ASP.NET core application for our hosted customers and need some information on authentication using Active Directory. A bit of background on our setup: We have a single Azure tenant, that has multiple subscriptions within it. Each…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,557 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,626 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,384 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,213 questions
Microsoft Entra
asked 2024-07-19T22:13:44.97+00:00
Ryan Anderson 0 Reputation points