8,319 questions with .NET-related tags

Sort by: Created
2 answers One of the answers was accepted by the question author.

Displaying graphic dynamically - from path as content of a field

Perhaps someone could help me with the ahref / src format to display a graphic from the wwwroot folder from a path that is content of a field? Trial and Error Attempts: Environment:

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 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,604 questions
asked 2024-07-14T15:36:56.13+00:00
Dean Everhart 1,516 Reputation points
accepted 2024-07-14T21:05:23.01+00:00
Dean Everhart 1,516 Reputation points
1 answer One of the answers was accepted by the question author.

Azure and .Net point releases

we built with the latest .Net version on Github, but were surprised to get this error in Azure.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
asked 2024-07-12T13:01:41.2666667+00:00
Glenn Puchtel 20 Reputation points
commented 2024-07-12T16:49:19.77+00:00
Glenn Puchtel 20 Reputation points
1 answer One of the answers was accepted by the question author.

button doesn't work with command

I have a custom command public partial class DateTimeZonePicker : ContentView { public DateTimeZonePicker() { InitializeComponent(); } public static readonly BindableProperty OpenDateTimePickerCommndProperty =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T21:16:12.93+00:00
Eduardo Gomez Romero 245 Reputation points
commented 2024-07-12T19:44:10.9533333+00:00
Eduardo Gomez Romero 245 Reputation points
2 answers One of the answers was accepted by the question author.

<Title> tag not reflected in AssemblyInfo.cs

Hello <Title> tag is not reflected in the generated AssemblyInfo.cs. ConsoleApp1.csproj <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 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,852 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,604 questions
asked 2024-07-11T09:58:48.1333333+00:00
Hideo Yamada 20 Reputation points
accepted 2024-07-11T10:33:33.63+00:00
Hideo Yamada 20 Reputation points
1 answer One of the answers was accepted by the question author.

Is there any downside to adding ApplicationInsights when it is not running?

Hi all; Most of the time I have Application Insights turned off (it's expensive). When it is off, will I have a performance hit if the following code is called at the start of my Blazor server…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,986 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,492 questions
asked 2024-07-10T16:03:51.3933333+00:00
David Thielen 2,751 Reputation points
accepted 2024-07-10T17:28:41.69+00:00
David Thielen 2,751 Reputation points
1 answer One of the answers was accepted by the question author.

Connecting Blazor server to Application Insights

Hi all; Is this still the latest/greatest way to integrate Application Insights with my Blazor server app? I want to use this for figuring out the hot spots when load testing including the SQL queries (via Entity Frameworks). And while that link has what…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,986 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,492 questions
asked 2024-07-10T15:57:25.93+00:00
David Thielen 2,751 Reputation points
commented 2024-07-12T22:56:53.9866667+00:00
David Thielen 2,751 Reputation points
1 answer One of the answers was accepted by the question author.

I have Image in blazor page then need a comment for each of Image.Can somebody show me how to do.

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1>Home</h1> <PageTitle>Home</PageTitle> <h1 style="color: blue;">Promosi Barang Perniagaan Anda!!</h1> Welcome to your…

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,492 questions
asked 2024-07-10T14:51:27.4966667+00:00
MIPAKTEH_1 300 Reputation points
accepted 2024-07-12T02:35:02.95+00:00
MIPAKTEH_1 300 Reputation points
1 answer One of the answers was accepted by the question author.

Dot 8 sdk - install some versions

Hi, If I in my computers intalled dotnet-sdk-8.0.100-win-x64.exe. If I install dotnet-sdk-8.0.203-win-x64.exe without removing the old version. Which version the maui in net 8 will take ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-10T12:59:24.4433333+00:00
Dani_S 3,276 Reputation points
accepted 2024-07-10T16:30:05.98+00:00
Dani_S 3,276 Reputation points
1 answer One of the answers was accepted by the question author.

Writing NUNITS with a library that does not support .net8.0

Nunits or Xunits forces us to include .net8.0 as one of our target platform along with the existing , i do have a library which does not support generic .net8.0 and only android or IOS , I really cannot use target specific code since i have used these…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-10T09:23:08.5833333+00:00
Manickam, Suraj 320 Reputation points
accepted 2024-07-12T04:25:52.6666667+00:00
Manickam, Suraj 320 Reputation points
1 answer One of the answers was accepted by the question author.

Signatures using DrawingView in MAUI .NET?

Hello, I want a signature pad to save images locally after a submit button click event in MAUI .NET 8 Android 34. Can you provide a solution?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-10T09:08:17.6033333+00:00
Chinmay Dole 120 Reputation points
accepted 2024-07-12T06:50:09.3733333+00:00
Chinmay Dole 120 Reputation points
1 answer One of the answers was accepted by the question author.

Linq: How to display boolean value as text?

I have a field boolean value in my database. When I get data in JointQuery I want to see it as text instead of boolean values. For example, if the value is 0 then the return will be "inactive" and when it is 1 then the result will show…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
asked 2024-07-10T05:17:46.06+00:00
jewel 841 Reputation points
accepted 2024-07-10T10:09:26.0833333+00:00
jewel 841 Reputation points
1 answer One of the answers was accepted by the question author.

Entity Framework complains that there is no primary key

using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace WpfApp6.Models; public partial class Product { [Key] public int IdProduct { get; set; } public string NameOfProduct { get; set; } = null!; public…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
721 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,709 questions
asked 2024-07-09T20:27:16.29+00:00
vitaminchik 466 Reputation points
accepted 2024-07-10T19:14:54.6966667+00:00
vitaminchik 466 Reputation points
1 answer One of the answers was accepted by the question author.

What is the best way to use a SignalR service for my Blazor RenderMode.InteractiveServer app?

Hi all; I've read in numerous places that having my Blazor server use a SignalR service will let it handle a lot more simultaneous requests. So I want to add this. I've seen three very different ways describing how to do this: Write a ton of code …

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,492 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
133 questions
asked 2024-07-09T17:37:42.7533333+00:00
David Thielen 2,751 Reputation points
commented 2024-07-09T22:52:58.2433333+00:00
David Thielen 2,751 Reputation points
1 answer One of the answers was accepted by the question author.

Android .NET 8.0 Picker Unfocused event not trigger after selected any items

I am facing an issue with the Picker's Unfocused event not triggering on Android in .NET 8.0 version.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-09T05:45:21.05+00:00
Bhuwan 636 Reputation points
accepted 2024-07-10T03:24:12.9266667+00:00
Bhuwan 636 Reputation points
1 answer One of the answers was accepted by the question author.

How do I get the "name" in name.domain.com when rendering a page?

Hi all; I am trying to set my app up so that an account, which has a uniqueId can access the webpage as uniqueId.domain.com and I then display just their content. How do I get the uniqueId from uniqueId.domain.com/folder/page? Do I use NavigationManager?…

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,492 questions
asked 2024-07-08T23:08:43.7366667+00:00
David Thielen 2,751 Reputation points
commented 2024-07-09T02:42:00.53+00:00
David Thielen 2,751 Reputation points
2 answers One of the answers was accepted by the question author.

How to receive selected radio button values in the controller in ASP. Net Core 6 MVC

I am working on asp.net core 6.0 MVC. On the view, I have four radio buttons and would like to get the selected radio button value in the controller and process further based on the selected value. I have created a view model to pass data between the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 questions
asked 2024-07-08T20:44:31.4166667+00:00
Sherpa 241 Reputation points
answered 2024-07-08T21:04:19.22+00:00
AgaveJoe 27,581 Reputation points
1 answer One of the answers was accepted by the question author.

Application Request Routing (ARR) full version number

Hello, The version that is shown in the documentation is version 3.0. When we conduct our scans there are several 3.0 versions with minor releases. Example the newest one is 3.0.1988. Can anyone confirm which is the true/full version number.

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
asked 2024-07-08T20:23:57.5166667+00:00
Nputch 20 Reputation points
accepted 2024-07-09T13:16:10.0566667+00:00
Nputch 20 Reputation points
1 answer One of the answers was accepted by the question author.

.Net Maui Validate Property of a Model in the ViewModel Class

I am using MVVM along with the MVVM Community Toolkit. I have a Constructor in my .Net Maui ViewModel public EmployeeEditViewModel() { CompanyInfo= new PYEModel(); } I have an Observable property in the .Net Maui ViewModel…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 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,604 questions
asked 2024-07-08T19:52:09.4566667+00:00
Tom Meier 220 Reputation points
commented 2024-07-10T17:34:08.54+00:00
Bruce (SqlWork.com) 60,866 Reputation points
2 answers One of the answers was accepted by the question author.

How to Upload and List Files in Blazor Server 8

I'm new to Blazor 8 and I'm trying to learn how to handle file uploads and display the uploaded files in a Blazor Server application. Specifically, I'm looking to: Allow users to upload multiple files to the folder.wwwroot/Upload Provide a button…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 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,492 questions
asked 2024-07-08T13:52:15.2+00:00
Yusuf 751 Reputation points
accepted 2024-07-09T09:19:26.8+00:00
Yusuf 751 Reputation points
1 answer One of the answers was accepted by the question author.

Why is the logon_user variable blank when a user has windows 11 PC ?

We have a asp.net application. This uses windows authentication and reads the LOGON_USER variable to check if the current user is allowed access etc. This all works from users using a windows 10 PC, but when the user has a windows 11 PC the LOGON_USER…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 questions
asked 2024-07-08T11:04:40.38+00:00
Greg Booth 1,316 Reputation points
accepted 2024-07-08T16:23:26.5366667+00:00
Greg Booth 1,316 Reputation points