Explore .NET MVC on Experts Exchange

Expert Solutions for Your Tech Problems

.NET MVC

Microsoft’s ASP.NET MVC is a web application framework that implements the model–view–controller (MVC) pattern. As an open-source software, it’s se...

Read more
  • 764 Content
  • 185 Contributors

Expert Spotlight
Digital marketing (Hospitality)

Focus on what matters and Let Go OFF what doesn't.

Troubleshooting Solution

Does MVC make a Web API application easier to scale or enhance?

1

I have a WebAPI application which uses MVC, visible with various controllers:


Customer, Order,

Troubleshooting Solution

File / assembly error on System.Threading.Tasks.Extensions after installing IdentityModel.Token packages via NuGet

3

I was installing the Microsoft.IdentityModel.Tokens and System.IdentityModel.TokensJwt packages

Troubleshooting Solution

Set user identity manually in MVC

3

Hi all,


Does anyone know how to manually create claims and set the identity of a user in MVC

Troubleshooting Solution

Dynamically change the disabled property of an mvc control.

23

I'm trying to dynamically disable a drop down in MVC 5. If I set the "@disabled" property directly

Troubleshooting Solution

Strip time from date in MVC razor page

4

I'm using MVC 5 and attempting to only grab the date portion of a DateTime field that lives on the

Troubleshooting Solution

Razor:  asp-page-handler is not invoking the method in the controller

3

Working in a Razor page with C# in the controller.


When I click on a button it is supposed to be

Troubleshooting Solution

Why will JSON formatted string not parse?  (JavaScript ajax call vs Razor C# controller)

1

I am trying to figure-out why JSON data returned as a string won't parse.


This will parse:


Example 1

Troubleshooting Solution

ASP.net MVC Core database first - add new column to table then update the project

2

Hi

I created my first ASP.net MVC Core database first solution using the video at CRUD Operations

Troubleshooting Solution

ASP.net MVC read XML data and insert into SQL database

3
Hi
In ASP.net C# MVC I am looking for an example of C# code to read XML data and then insert it into…
Troubleshooting Solution

ASP.net MVC C# send XML request ti API and receive response

1
Hi
In ASP.net MVC C# I am looking for a simple example of sending an XML request to an API and then …
Troubleshooting Solution

JSON object passed inside ViewData[ ] -- but how do I access the name value pairs in the HTML markup?

3

I am trying to pass a JSON object to a partial view in MVC (razor page?)


Here is the relevant code

Troubleshooting Solution

CSHTML - Select list to allow only one option when bound to a model

byAlHal2
2

I have a select box like this.  It allows multiple selections.  How do I make it, so it only allows

Troubleshooting Solution

I need to add a DataTable as the First Table in DataSet

1

How do I do this? "Insert()" does not exist.


DataTable newDataTable = new DataTable();

...

Troubleshooting Solution

Return list of anonymous type using Linq in an MVC controller

byAlHal2
3

This MVC controller action result correctly returns the appropriate list to a view.


How can I do the

Troubleshooting Solution

Display text without html tags in MVC form

9

I am using ASP.NET MVC 5 with a strongly typed view. the Html.EditorFor is displaying the HTML tags

Troubleshooting Solution

Get the data from a interface object in C#

10

Hi Experts,

This is my code.

randomTargetData is of class RandomTargetData 



How can move the data from

Troubleshooting Solution

Use a safer Deserialize method in C# MVC

3

Hi Experts,

I have this code.

Looks like BinaryFormatter().Deserialize is not a safer way to

Advice Solution

Question about "dependency injection"?

2

I have worked with dependency injection for years. But, I could use a refresher.


Pre-.NET CORE:

How

Advice Solution

Please explain CQRS and CQRS/ES

3

Please explain CQRS and CQRS/ES and how it fits into a project using C#, Message Broker, EF,

Troubleshooting Solution

What features come to mind with MVC 4.5?

1

What features come to mind with MVC 4.5?


When interviewing for a job that requires MVC 4.5, what

Do more with Experts Exchange.


Get Answers

Join a Group Discussion

Collaborate

Monitor your Site

Explore solutions and more