Questions tagged [asp.net-mvc]
The ASP.NET MVC Framework is an open source web application framework and tooling that implements a version of the model-view-controller (MVC) pattern tailored towards web applications and built upon an ASP.NET technology foundation.
194,054
questions
0
votes
0answers
4 views
Get controller action route inside of blazor component
So I am running blazor components (not pages) inside of my MVC CMS to modernize a bit. This works great but the tag helpers to create the href on a <a> tag don't work inside of my blazor ...
0
votes
0answers
5 views
Some classes from Microsoft.AspNetCore.Mvc.ModelBinding.Validation.Internal are no longer available in .Net Core 3.1
I am migrating my class library from .Net Core 2.1 to 3.1 recently and in this class library I am using some MVC model validation code. The problem here is Microsoft.AspNetCore.Mvc is removed from the ...
0
votes
0answers
4 views
EF 5/MVC how to add new object to already existing object with Many to Many relation
I've hit a serious roadblock with my latest school project, which I can't seem to solve, or worse, even know how to ask the correct question.
I've got two classes/models with a Many-To-Many ...
0
votes
1answer
17 views
Confused about how to Populate DropDown thru ViewBag
I am a beginner to ASP.NET MVC technology. In my contreoller page I am using this code below
[HttpGet]
public ActionResult UrunEkle() {
List<SelectListItem> degerler = (from i ...
0
votes
0answers
15 views
JQuery Ajax UrlAction Changes the Pages URL MVC
I am using .Net Core MVC to build my application. Here I have to refresh the chart by selected criteria. So, when I select the criteria and post the action, the action works but It doesn't refresh my ...
0
votes
0answers
10 views
The resource cannot be found in MVC
I want to submit news in my project but when i click on submit i see this error :
The resource cannot be found.
Requested URL: /Admin/PagesController/Create
RoutConfig :
public class RouteConfig
{
...
0
votes
0answers
8 views
Why Razor page view in views folder cannot be found when add new item?
I'm a newer who studies ASP.NET with Microsoft tutorials. When I want to add Razor page view in views folder, I cannot find Razor page. What can I do?
The screenshot of mine
The screenshot of the ...
0
votes
0answers
10 views
Postman return error “Please check that Digest header is computed with SHA-256 or MD5 algorithm and encoded in base64 encoding”
I need to create 256Hash and then convert ToBase64 for send to API. I try to coding like code below but fail. Postman return "Please check that Digest header is computed with SHA-256 or MD5 ...
-2
votes
0answers
20 views
PayUMoney Integration in angular with MVC Web API
how PayUMoney Integration in angular with MVC Web API? please help us
-1
votes
1answer
31 views
how to bind dictionary result to class object c# linq
Dictionary<Guid, string> flexEventTriggers = RepositoryContainer.GBM.Flex.Admin_FlexTriggerEvents.AsQueryable()
.Where(x => flexEventTriggerIds.Contains(x.RecordID))....
0
votes
1answer
17 views
ASP.net, Windows Auth raises 401.2 on long requests
I have an aplication, written in ASP.NET MVC4, It is hosted on IIS with windows authentication (NTLM).
We have one action, that can take a long time to complete (up to 2 hours), we are calling this ...
0
votes
1answer
37 views
I can't call Controller Action via Ajax Post
I have some issue about local and published web project differences. I have a .net core mvc project and I tried to save physically save file in controller. I get file from file selector then pass my ...
0
votes
0answers
13 views
C# SignalR doesn't show messages for new clients
i'm writing a chat plugin for my mvc application and using signalR i made into creating the hub and share routine, but the problem is that testing the application with 2 or more users connected the ...
-1
votes
0answers
44 views
jQuery onclick function don't work to show modal
I want put a button in a web page and show a modal when yo click on it .
i wrote OnClick event function with jQuery.
<div class="modal fade" id="Modal" tabindex="-1" ...
0
votes
1answer
27 views
How to desearilize Json and bind to variables/properties c#
var AdditionalData = flexEventTriggerLogsList.Select(x => x.AdditionalData).ToString();
string json = Convert.ToString(JsonConvert.DeserializeObject(AdditionalData));
var ...