A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://stackoverflow.com/questions/tagged/asp.net-core-mvc below:

Newest 'asp.net-core-mvc' Questions - Stack Overflow

0 votes

0 answers

35 views

ASP.NET Core MVC Identity is not confirming email account addresses on registration

I have an ASP.NET Core MVC website that uses individual accounts with the Microsoft Identity provider. I used the Visual Studio scaffold option to add the Identity user accounts to my project, but I ...

asked 2 days ago

0 votes

0 answers

43 views

Why does an ASP.NET Core 8.0 MVC project not load scripts from wwwroot while debugging in IISExpress?

I have an ASP.NET Core 8.0 MVC with controllers and API controllers. It has Razor pages which are loaded using MVC controllers. Pages then communicate with the portal using AJAX and a Web API. ...

asked Aug 13 at 13:01

-1 votes

0 answers

64 views

Cannot edit n view model fields from a model that has more than n fields [closed]

my view model: public class PatientEditInfoViewModel { [Required(ErrorMessage = "لطفاً شماره تماس دوم را وارد کنید")] [Phone(ErrorMessage = "شماره تماس دوم معتبر ...

asked Aug 10 at 19:25 ASP.NET Core MVC: How to make simple page with IEnumerable<XML>

I have a simple project where the start page shows a list of books. How to make the same page, but with display as XML? Controller method: public IActionResult Index() { // stored procedure ...

asked Jul 31 at 8:05

-1 votes

2 answers

124 views

ASP.NET Core Web API [NULL vs UNDEFINED]

In my HTTP controller using model binding, how can I determine if a request model property, is NULL because it was explicitly set to NULL by the API client, or is NULL because it was missing in the ...

asked Jul 29 at 12:49

0 votes

0 answers

35 views

Unable to set json as language in monaco editor

In my ASP.NET Core MVC view, I have the following code: <script type="module"> import * as monaco from 'https://cdn.jsdelivr.net/npm/monaco-editor@latest/+esm'; document....

asked Jul 22 at 0:39

0 votes

1 answer

65 views

What are Areas for in ASP.NET Core? [closed]

What are areas in ASP.NET Core projects? I've been developing an application using the modular monolith design and a few example applications I saw used areas along with the MapDynamicControllerRoute()...

asked Jul 20 at 17:36

0 votes

3 answers

47 views

dropdown menu item doesn't drop down

I have an ASP.NET Core MVC web application. In _layout.cshtml, I have the following code, but it doesn't drop down in the menu bar it shows "manage" with a down arrow next to it below is the ...

asked Jul 20 at 1:59

-2 votes

0 answers

24 views

'IServiceCollection' does not contain a definition for 'AddIdentity' and no accessible extension method 'AddIdentity' [duplicate]

I am trying to add the identity to my project (which is using a Clean Architecture approach), but I get the following error 'IServiceCollection' does not contain a definition for 'AddIdentity' and no ...

asked Jul 18 at 13:13

0 votes

0 answers

25 views

Binding list of objects with dynamic form

Here's my current structure. Using a Pet example cause it's easier than explaining my domain. Controller: Manage endpoint GetForm endpoint Create endpoint (HTTP POST) View: Manage has the <form ...

asked Jul 15 at 15:42

0 votes

1 answer

34 views

How can I overwrite one item in an array in the appsettings stack when the item is moderately complex? [closed]

I have an ASP.NET Core MVC app using Serilog. Sinks are configured in the appsettings.json. I have a few sinks. One of the sinks is not behaving. Typically I would overwrite the values of the ...

asked Jul 10 at 21:01

0 votes

0 answers

74 views

How to send model and some other parameters from javascript to controller using jquery.ajax?

I have an ASP.NET Core MVC project and I am trying to send a model and some other parameter from JavaScript to a controller action. First I fill the model from view fields whose names match the model ...

asked Jul 10 at 19:58

0 votes

1 answer

41 views

EF Core in-memory unit test fails

I am trying to unit test the Delete[Async] method in my repository. The Delete method uses the "create - and - attach approach" rather then the "read-first approach" which would be ...

asked Jul 8 at 13:02 EF Core CLI: "Unable to create a 'DbContext' of type ''" error when running migration from multi-project solution

I'm working on an ASP.NET Core MVC application with a layered architecture (domain, infrastructure, web). I'm trying to run EF Core migrations from the GemsIrisDiMvc.Infrastructure project while using ...

asked Jul 7 at 10:58

0 votes

2 answers

103 views

Visual Studio - ASP.NET Core MVC / C# docker container app can't connect to the browser with 100% out of the box scaffolded code

I created an app with Visual Studio. Everything I did was an out-of-the-box selection. I picked ASP.NET Core Web App (Model-View-Controller) > Framework: .NET 8.0 (Long Term Support), ✔️Enable ...

asked Jul 6 at 10:46

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4