4,338 questions with ASP.NET Core tags

Sort by: Updated
1 answer

Using Localization with DataAnnotation where do you put the ressources file and how to access it

I am using .Net Core 8 I succeed to use StringLocalizer and HtmlstringLocalizer I want to localized DataAnnotation the [Display(Name = "PhotoEpisode")] and the error message [Required(ErrorMessage = "Le sous-titre de l'épisode est…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,562 questions
asked 2024-07-02T14:57:31.1766667+00:00
Boucourt 65 Reputation points
edited an answer 2024-07-03T05:10:50.24+00:00
Ping Ni-MSFT 3,040 Reputation points Microsoft Vendor
0 answers

How to insert HTML to a Blazor WASM?

I am working on an e-commerce solution. The client side is a Blazor WASM .Net 6 project. I am trying to use a 3rd party payment gateway and unfortunately, their support is very poor. I am trying to progress by trial and error. On the checkout razor page,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,472 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,562 questions
asked 2024-07-03T05:05:43.7233333+00:00
Cenk 986 Reputation points
2 answers One of the answers was accepted by the question author.

Not able to Insert Image data for two images Postgresql

[HttpPost] [ValidateAntiForgeryToken] public async Task

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
Azure Database for PostgreSQL
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
236 questions
asked 2024-06-11T19:37:32.6+00:00
Anonymous
edited the question 2024-07-03T04:22:20.2+00:00
Ryan Hill 26,866 Reputation points Microsoft Employee
0 answers

.Net8.0 WebAPI Deployment Not Working with IIS on Windows Server 2012 R2 aspnetcore.dll and Asp.Net Core Module\V2\aspnetcorev2.dll not found

Dear Team, I have installed following below .Net Core Bundle in sequence on our Windows Server 2012 R2 .NET SDK 8.0.300 .NET Runtime 8.0.5 ASP.NET Core Runtime 8.0.5 .NET Windows Desktop Runtime 8.0.5 But I have not found following below dlls which…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-03T04:22:08.66+00:00
Arvind Sharma 0 Reputation points
1 answer

ASP Net Core 8.0-A potentially dangerous Request.QueryString value was detected from the client

Hi, I hit the issue "A potentially dangerous Request.QueryString value was detected from the client (filter="...dList eq '<bZFZ0B4I...")" . My project is netcore 8.0,and it's stand-alone executable. I found that the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-02T08:15:51.9333333+00:00
Liangjun Hu 0 Reputation points Microsoft Employee
commented 2024-07-03T04:01:51.2633333+00:00
Liangjun Hu 0 Reputation points Microsoft Employee
0 answers

DbUpdateConcurrencyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded.

Hi If you allow, I would like to ask a question. I want to replace the data I brought with the "public async Task<IActionResult> WriterEditProfile()" method with the "public IActionResult WriterEditProfile(AppUser p)"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-01T13:36:58.2366667+00:00
Yalçın Mete 60 Reputation points
commented 2024-07-03T01:22:09.8566667+00:00
JasonPan - MSFT 4,791 Reputation points Microsoft Vendor
1 answer

How to navigate to 3rd party URL in Blazor WASM?

Hi, I have an e-commerce solution. Using Blazor WASM .NET 6 for the client side. I am using a 3rd party payment gateway. Unfortunately, they don't have a great support and help desk so most of the time I am trying to find my way with trial and error. I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,472 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,562 questions
asked 2024-07-02T10:15:03.17+00:00
Cenk 986 Reputation points
edited an answer 2024-07-02T15:39:39.94+00:00
Bruce (SqlWork.com) 60,201 Reputation points
0 answers

Pentesting Blazor Server Apps

Hi, I came across a web app that is using Blazor Server, all the communication is happening through SignalR. Now in traditional web apps, pentesters use ZAP/Burp to intercept the traffic and manipulate with it. i.e. test access controls by toggling the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,472 questions
asked 2024-02-27T13:50:50.58+00:00
Najam ul Saqib 100 Reputation points
commented 2024-07-02T11:54:55.37+00:00
NOIPMYBIZCOM 0 Reputation points
1 answer

Issue with an earlier well functioning AppService

Hello Team, I would like to ask your help in a technical issue. I am creating an AI chatbot flaskbased application , where using mostly open source libraries. For semantic search and ranking I am using FlashRank library…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,258 questions
asked 2024-06-21T09:00:34.67+00:00
Viktor Banai 0 Reputation points
commented 2024-07-02T07:45:53.9933333+00:00
JasonPan - MSFT 4,791 Reputation points Microsoft Vendor
1 answer

error format of the initialization string does not conform to specification starting at index 0

I am programming an ASP.NET Core project with Razor pages, which is database first. After executing the Scaffold-DbContext command in Power Console Manager, the classes and context were created correctly and after running the program, the data was read…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-02T02:55:47.64+00:00
Ashkan 1 Reputation point
edited an answer 2024-07-02T07:01:33.37+00:00
SurferOnWww 2,326 Reputation points
4 answers

How to fix Add-Migration problem?

Hi, I am trying to add another entity to the database in my e-commerce solution which includes client and admin projects using Blazor WASM and Server, Asp.Net Core API, and data access projects. However, I am getting an error message as shown below: How…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
717 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,472 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,562 questions
asked 2024-06-24T17:33:35.47+00:00
Cenk 986 Reputation points
answered 2024-07-02T06:00:31.8533333+00:00
Cenk 986 Reputation points
1 answer

.Net 6/8 WebApi take long time to start

I compile this simple project and run it in Linux bash is normal. But when I create service file to run this program, it take almost 2 minute to start. The same as in Podman. var builder = WebApplication.CreateBuilder(args); var app =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-27T08:15:07.1766667+00:00
Jiayu Qiu 0 Reputation points
edited a comment 2024-07-02T02:42:38.68+00:00
Jiayu Qiu 0 Reputation points
2 answers

Microsoft Hosted General Download from Microsoft Failing with 500.30 Asp.Net Core error

I was asked to post this question here as well... I'm following a Microsoft article (https://video2.skills-academy.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-8.0) and trying to download the .Net Core Hosting Bundle. Current .Net Core Hosting…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-01T15:23:31.2466667+00:00
Rob Kemp 0 Reputation points
edited an answer 2024-07-02T01:52:25.8133333+00:00
Brando Zhang-MSFT 3,361 Reputation points Microsoft Vendor
0 answers

How to Increase timeout

I scaffolded a asp.net core application from Postgresql db, I get the below error , please suggest. TimeoutException: Timeout during reading attempt I fails here SupaCrud.Controllers.QuestionsController.Index() in QuestionsController.cs + return…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-01T05:54:40.5+00:00
Kalyan A 20 Reputation points
commented 2024-07-01T19:51:57.68+00:00
Kalyan A 20 Reputation points
1 answer One of the answers was accepted by the question author.

Sort question by ascending order

I want to sort question by ascending order , the below statement in bold is giving error , please suggest public async Task<IActionResult> Details(int? id) { if (id == null || _context.Questions == null) { return…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-01T17:53:22.0533333+00:00
Kalyan A 20 Reputation points
accepted 2024-07-01T18:46:14.0466667+00:00
Kalyan A 20 Reputation points
0 answers

DbUpdateConcurrencyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s).

Hi, If you allow, I would like to ask a question. I want to replace the data I brought with the "public async Task<IActionResult> WriterEditProfile()" method with the "public IActionResult WriterEditProfile(AppUser p)"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-07-01T13:44:43.65+00:00
Yalçın Mete 60 Reputation points
edited a comment 2024-07-01T17:24:21.0366667+00:00
AgaveJoe 27,421 Reputation points
3 answers One of the answers was accepted by the question author.

What is the equivalent of AllowHtml in .Net 6 (CORE) ?

Hi, What is the equivalent code to it in Asp.net MVC Core 6. public class ContentVM { public int Id { get; set; } [Required(ErrorMessage = "Please Enter Content")] [DisplayName("Rich…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2022-07-21T12:14:27.487+00:00
mehmood tekfirst 771 Reputation points
answered 2024-07-01T16:44:14.8333333+00:00
Mark B 0 Reputation points
0 answers

Unable to obtain configuration from: 'https://login.microsoftonline.com/tenantId/.well-known/openid-configuration'

An unhandled exception has occurred while executing the request. System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://login.microsoftonline.com/<tenanatid>/.well-known/openid-configuration'. Will retry at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
313 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,316 questions
asked 2023-07-19T19:39:03.2733333+00:00
Niraj 10 Reputation points
commented 2024-07-01T14:32:08.1533333+00:00
Gvidas Sniolis 0 Reputation points
1 answer One of the answers was accepted by the question author.

InvalidOperationException: No policy found: System.Object[] in .NET 6 project on Visual Studio 2022 Version 17.10.3

`I recently installed the latest version of Visual Studio 2022 Version 17.10.3 and started working on a .NET 6 project. When I run my project, I encounter the following exception: InvalidOperationException: No policy found: System.Object[].…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-28T09:30:23.84+00:00
Madanraj A 40 Reputation points
accepted 2024-07-01T12:49:05.3566667+00:00
Madanraj A 40 Reputation points
2 answers

#How to convert ASP.NET for Microsoft Graph API to an open public API?

Hello, I have followed the instructions for creating an application that can pull data using the Microsoft Graph API: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,226 questions
asked 2024-06-28T13:08:45.0433333+00:00
Jorziño Barradas 20 Reputation points
edited an answer 2024-07-01T05:57:42.2166667+00:00
Tiny Wang-MSFT 2,171 Reputation points Microsoft Vendor