Skip to main content

Questions tagged [asp.net-mvc-5]

ASP.NET MVC 5 is the fifth major version of the ASP.NET Model-View-Controller platform for web applications.

asp.net-mvc-5
0 votes
0 answers
21 views

ASP.NET MCV 5 Facebook login AuthenticationManager.GetExternalLoginInfoAsync returning null

I am implementing Facebook login to a MCV 5 project. I am able to login successfully to facebook and call to public async Task<ActionResult> ExternalLoginCallback(string returnUrl) but the ...
rubenrb's user avatar
  • 76
0 votes
1 answer
46 views

ASP.NET MVC add headers and redirect to an external url

I need to write an small ASP.NET MVC website which sole purpose is to capture headers sent from a legacy website, add these headers to a request and redirect to a Blazor server app (including headers)....
Ivan Debono's user avatar
0 votes
1 answer
26 views

Getting Syntax error when bundling and minifying Bootstrap 5 CSS Template

I am using a bootstrap 5 template (I have the minified version), which looks like this. This file is generated using gulp: I want to include this file in ASP.NET MVC 5 bundle, as it adds the cache ...
Hooman Bahreini's user avatar
0 votes
1 answer
28 views

Sending email with small attachment then email API giving response but if i send email with large size of attachment then API is not wait for response

If A am sending emails with a small attachment, the email API gives a response. However, if I send an email with large attachment, the API is not waiting for a response. I tried with timeout, but that ...
Vishal Patil's user avatar
-1 votes
0 answers
26 views

ASP.NET MVC 5 and AngularJs (1.8.2) - A certain field from a data is being updated by another data (Which has different Id)

We have this application that has a problem with regards to data consistency, which the applications is created on ASP.NET MVC 5, and in AngularJS 1.8.2. and SQL Server and we use Entity Framework. ...
ArcDotNet's user avatar
0 votes
0 answers
35 views

Issue with RadioButtonFor in Index.cshtml - ASP.NET MVC 5

In my Index.cshtml in ASP.NET MVC 5, I have the following code and it works fine. <div>@Html.DisplayNameFor(model => model.IsEnrolled) Enrolled </div> But, if I replace the same code ...
khurj's user avatar
  • 17
0 votes
0 answers
16 views

"Generating code" error when creating a controller using "MVC 5 Controller with Views, using Entity Framework"

I am getting the following "generating code" error when creating a Controller using "MVC 5 Controller with Views, using Entity Framework". I've tried several solutions to similar ...
khurj's user avatar
  • 17
1 vote
3 answers
83 views

JSON file create issue on IIS production server

I have an ASP.NET MVC web app running on .NET 4.6.1. I am creating a JSON file. The file is getting created locally, however when I deploy code on IIS on the server, I get an error Invalid Signature ...
BSave's user avatar
  • 33
0 votes
0 answers
27 views

Updating NLog log path at runtime in ASP.NET MVC 5 application

I have a very simple task but for some reason not able to figure it out. I have ASP.NET MVC 5 application that is using NLog. All NLog configuration is contained in nlog.config file - specifically ...
Alex K's user avatar
  • 197
0 votes
2 answers
38 views

ASP.NET MVC5: Change Upload Limit for Specific URL

I have a partial View page (ManageFile.cshtml) which is being used to upload and download files based on the current page and id. Since this View is partial, I am able to utilize it throughout my ...
Andrew C's user avatar
0 votes
0 answers
58 views

Category crud in ASP.NET MVC and C#

I am developing an application in ASP.NET MVC 5 for performing CRUD operations. I have successfully added the Northwind database as an entity data model and taking Customer in the model. Now with the ...
guest_person's user avatar
0 votes
0 answers
19 views

The entity type ModelName is not part of the model for the current context

The application runs without error in Visual Studio. Published to the web server and run the app. The first model-driven view runs without issue. The second throws this error The entity type ...
George Benson's user avatar
0 votes
1 answer
58 views

Debugging an ASP.Net Core sub application under ASP .NET Root App when running in IIS Express

I have an ASP.NET (MVC 5 and .NET Framework 4.7.2) Application in IIS Express 10, as Root App and several others with the same framework as sub applications. This setup works as expected. Sample IIS ...
Dim Tsoumg's user avatar
0 votes
1 answer
21 views

Reloading MVC5 Partial View that contains a Document Viewer

I have a partial view in MVC5 that displays a document viewer and a button that lets users upload a document. I want to be able to reload the contents of the partial view or just reload the entire ...
Ephraim Ross Jacinto's user avatar
0 votes
0 answers
36 views

How to View and Edit the word (.docx) File in Same view in ASP .NET MVC

I want to open the .docx Word file in the view (.cshtml) where I want to see the word file and able to edit it. Folder structure: I'm working on the Jobseeker module and the .docx File uploaded by the ...
Shubham Sawant's user avatar

15 30 50 per page
1
2 3 4 5
1043