24,311 questions with .NET-related tags

Sort by: Updated
1 answer

Ensuring Database Updates on Form Closure: Troubleshooting for Mac.

When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-06T12:03:23.94+00:00
Sarfaraz Sable 20 Reputation points
answered 2024-05-30T02:31:43.79+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
1 answer

EF Core 3.1 - System.InvalidOperationException: 'The entity type 'Pntbec03' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'.'

Hello . I need to handle a EF Core Entity relating to a table , but without having EF managing all its columns , but just a subset of them. I have scaffolded the small database to which the table belongs into a DbContext , and I though I could create…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
705 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
asked 2024-05-29T13:46:26.23+00:00
leo del ciello 66 Reputation points
edited the question 2024-05-30T02:28:12.1366667+00:00
Hui Liu-MSFT 44,471 Reputation points Microsoft Vendor
3 answers

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 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,428 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,408 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 5 Reputation points
commented 2024-05-30T02:14:20.3733333+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
0 answers

Cannot supply a component of type 'Components.BookComponent' because the current platform does not support the render mode 'Microsoft.AspNetCore.Components.Web.InteractiveServerRenderMode'

when i call component by this way i have this error in TestComponent.razor i call BookComponent to get html var sensorHtml = new ComponentRenderer<WeaponDetails>() .Render(); BookComponent.razor @rendermode InteractiveServer other…

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,428 questions
asked 2024-05-15T07:54:39.42+00:00
Mahdi Elahi 26 Reputation points
commented 2024-05-30T02:13:16.0833333+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
2 answers

Error while submitting the registration form

RegistrationForm.cshtml @page @model FaceAdminApp.Pages.Auth.RegistrationFormModel @{ ViewData["Title"] = "RegistrationForm"; } <style> .container { max-width: 600px; margin: 0 auto; padding:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 questions
asked 2024-05-20T05:31:38.77+00:00
Surya Chandra Mohan 20 Reputation points
commented 2024-05-30T02:12:32.0266667+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
2 answers

How to retrieve the any table from SQL DB and display dynamically in one page in asp.net core

Requirements are as below. 1. In single page of asp.net core, need to display any table data dynamically like jtable from jQuery plugin... With generic code with ado.net or web api orAPI or entity framework core

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
705 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 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,408 questions
asked 2023-04-02T16:30:01.65+00:00
phani sekhar 1 Reputation point
commented 2024-05-30T02:09:18.2166667+00:00
Hutty 0 Reputation points
1 answer

Connecting SQL Server Data to RDLC reports in Blazor .Net Framework

Hello, I am trying to create/integrate RDLC reports in Blazor .NET framework. So far: I have managed to open a RDLC report thanks this Question and Answer:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 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,428 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.
12,925 questions
asked 2024-05-13T09:36:27.6966667+00:00
Geoffrey de Sousa 0 Reputation points
commented 2024-05-30T02:01:59.45+00:00
JasonPan - MSFT 4,551 Reputation points Microsoft Vendor
0 answers

How to resolve SignalR Hub connection issue from Client side Javascript code

I have web application developed in .NET 5.0. This web application calls Web APIs to fetch information from SQL DB. Web and API applications are two separate applications hosted in Azure. I want to push some real time data every 2 minutes to all clients…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 questions
asked 2024-05-15T12:40:41.6033333+00:00
Mayuri Barve 1 Reputation point
commented 2024-05-30T02:00:24.17+00:00
JasonPan - MSFT 4,551 Reputation points Microsoft Vendor
1 answer

how to use muti -language in blazor?

how to use muti-language ?

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,428 questions
asked 2024-05-16T11:15:11.3566667+00:00
mc 3,746 Reputation points
commented 2024-05-30T01:58:22.3133333+00:00
JasonPan - MSFT 4,551 Reputation points Microsoft Vendor
1 answer

How to resolve CORS errors when running Blazor WASM alongside Blazor Server and ASP.NET Core Web API?

Hi, I have a solution having Blazor WASM, Blazor Server and Asp.Net Core Web API. When I try to run the applications, the Blazor server and API work without any problem but I get this error while running the WASM. Cross-Origin Request Blocked: The Same…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 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,428 questions
asked 2024-05-26T09:22:59.9066667+00:00
Cenk 956 Reputation points
commented 2024-05-30T01:56:05.27+00:00
JasonPan - MSFT 4,551 Reputation points Microsoft Vendor
1 answer

.Net Maui, ability to access external sd card

With the removal of read and write permissions to external storage, is there any way to access external SD cards? My app normally relies on being able to automatically backup data to external SD cards in the event the tablet dies or is broken. Is there…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-15T16:07:34.8933333+00:00
Phunction 206 Reputation points
commented 2024-05-30T01:53:27.86+00:00
Phunction 206 Reputation points
0 answers

Microsoft.Maui.ApplicationModel.FeatureNotSupportedException for PhoneDialer and EmailMessage

I am getting below exception for PhoneDialer and EmailMessage features. Microsoft.Maui.ApplicationModel.FeatureNotSupportedException: Specified method is not supported. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-29T09:18:27.9966667+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-30T01:51:31.9733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
1 answer

How to insert new,update, delete existing record in single row of gridview

I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,324 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,408 questions
asked 2024-05-28T14:36:20.12+00:00
Gani_tpt 1,786 Reputation points
commented 2024-05-30T01:37:42.38+00:00
Lan Huang-MSFT 26,686 Reputation points Microsoft Vendor
0 answers

Bluetooth LE - BluetoothLEDevice.FromBluetoothAddressAsync returns null after UnpairAsync() is called until the peripheral is power cycled or the RPA rolls over

Greetings Here are the reproduction steps for this bug. I have an Ellisys trace and logs gathered using WPR that I don't want to post publicly, but can share with someone from MS. Pair a Bluetooth LE peripheral with windows. Observe that a new…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,834 questions
Universal Windows Platform (UWP)
.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,132 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,466 questions
asked 2024-05-23T02:26:12.08+00:00
EricP-8687 60 Reputation points
edited a comment 2024-05-30T01:34:35.86+00:00
Junjie Zhu - MSFT 15,911 Reputation points Microsoft Vendor
0 answers

How to maintain Ajax calendar values after postback in Gridview Footer

I am using AJAX control textbox in gridview. Inside the gridview, Footer Template i am using dropdown control and many textboxes. after selecting of Ajax calendar control, if i select dropdown, the ajax value getting cleared. How to maintain the date…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,324 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,408 questions
asked 2024-05-29T15:22:30.55+00:00
Gani_tpt 1,786 Reputation points
commented 2024-05-30T01:25:53.46+00:00
Gani_tpt 1,786 Reputation points
1 answer One of the answers was accepted by the question author.

.net maui grouping code throws cast error.

I'm converting a Xamarin app to .NET Maui. I'll be needing the .NET page to ( stating all desired functions in case a different grouping code is needed ) group by sector ( optional , Sort and or filter maybe added later-- I'll settle for grouping…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,715 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-24T13:17:07.98+00:00
tim 140 Reputation points
edited a comment 2024-05-30T01:08:47.49+00:00
tim 140 Reputation points
0 answers

How do you Register a Blazor App to Upload Photos to Azure Blob Storage

I've created a simple Blazor Application based on the standard Blazor Web application template to upload photos to Azure Blob Storage. It works when I run it in my computer, but I'm having trouble getting it to run when I Publish it to an Azure App…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,151 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,498 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,428 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,049 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,916 questions
asked 2024-05-29T23:47:39.4066667+00:00
George Irwin 0 Reputation points
1 answer

Not seen mac simulator

Hi, I installed vs code, xcode , and open new maui project and run it. It is not running, do i need to config ant simulator , I want mac simulator. Thw error is on missing android simulators & sdk. How is sone? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-28T08:56:44.53+00:00
Dani_S 2,906 Reputation points
commented 2024-05-29T21:40:35.5766667+00:00
Bruce (SqlWork.com) 58,126 Reputation points
1 answer

How to fix the exception System.Net.Http.HttpRequestException: The SSL connection could not be established

we have SignalR and SignalR.Client libraries used in our project to establish the connection between the client and the server. The services are .NET applications and the client is a mobile application which is also a .NET application. I am got the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,324 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
124 questions
asked 2024-05-29T11:57:56.0666667+00:00
Singh, Sheetal 0 Reputation points
answered 2024-05-29T20:56:27.6633333+00:00
Bruce (SqlWork.com) 58,126 Reputation points
2 answers

Blazor RZ10001 The type of component 'InputDate' cannot be inferred based on the values provided.

This code <InputDate id="Date" class="form-control" placeholder="Date" @bind-value="objWeatherForecast.Date" /> produces the following: Error RZ10001 The type of component 'InputDate' cannot be…

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,428 questions
asked 2020-12-17T05:38:41.207+00:00
Michael Luna 16 Reputation points
edited a comment 2024-05-29T20:31:20.6466667+00:00
Steve Carroll 1 Reputation point