Category "asp.net-mvc"

Consume SSL Secured APIs in ASP.NET Core 6 MVC Client

We have an application that has two projects as follows (1) AppClient – This dotnet core MVC project and it is running on WebServer on IIS (2) AppService

What to return after Ajax call asp.net

After ajax call is completed and the model is posted successfully to the controller, what should the controller return? In my case, I just want to add an item t

How to automatically add a name from selected id in View page from controller ASP.NET MVC

I want to get a name from selected id in my view page First Model public class Transaction { [Key] public int Id { get; set; } [Required] public

How we can call python POST request API from JQuery Ajax It showing CORS policy error

I have python API which is POST request, http://192.168.2.25:8059/calculation In Postman it return response like (Expected output should be same as like below)

Iterate through a list in C# MVC and access properties

I have created a view that accepts a ProjectsCreatorsVM class. This class has been structured this way: public class ProjectsCreatorsVM { public List<Pro

Use multiple models in one view

I want to use 2 models in a single view. Here is my index view markup: @model IEnumerable<Enteripse_web.Models.Post> @model PagedList.IPagedList<Enteri

there`s an error in uploading image to firebase storage from Asp.net MVC the folder path isn`t shown(ex:super-market-7f7a3.appspot.com/)

theres an error in uploading image to firebase storage from Asp.net MVC the folder path isnt shown(ex:super-market-7f7a3.appspot.com/) controlerpage1 controlerp

Pop-up doesn't show up in MVC

I'm trying to add pop-ups for login but they don't show up. When I make some changes messages work right but they show up as Json. Now only the RedirectToActio

Blank page with no error after i scaffolded Identity

After i scaffolded identity when i run my project it gives me a blank page and the project doesn't have any errors, manually going to a page doesn't work either

.NET MVC - Enabling script sections for AJAX-returned partial views

I would like to make use of the (script) section in ASP .NET MVCs, i.e : @section script { <script>alert("hello");</script> } ...but with parti

Value does not fall within the expected range on async call?

I am reading data from SQL and writing that data on an excel sheet as the data is too large so I am using async call for writing the data in excel. The library

How to pass data to MVC Controller using React.js?

I'm doing a project using React.js as Front End and Asp.net MVC as Back end Process. Now my query is i have to pass user input values to Controller Method. . I

How to set enum in datatable ColumnProperty of nopcommerce 4.4

I want to set enum in datatable ColumnProperty of nopcommerce 4.4. I tried things like new ColumnProperty(nameof(await(((TransmitEnumStatus)Model.StatusId).ToSe

Is there any way to add multiple language(like french, spanish) in asp.net MVC website

the website contains very large amount of data, so it is not possible to convert data in each language and paste it like this enter image description here

WhatsApp integration using API in Asp.net and angular Js

How can I integrate WhatsApp in CRM project using asp.net(MVC) and Angular Js.Kindly help. Thank you!

in asp.net mvc , Stored procedure doesn't return RedirectToAction to the Desired view

in asp.net mvc ,I Have Changed individual stored procedure(SP) for crud to all of them in single SP using IF(),now it doesn't return RedirectToAction to the Des

ASP.NET MVC Return Model From View To Action Method

I have been looking at other similar questions to this, but I can't seem to find a way to get this working. My view is being passed into a list of tAdminAlert o

How do I make a scaffolded page the first page

So I'm following the get started tutorial on ASP.NET . So far so good, however going to /controllerName is quite tedious. Is there a way how I can go to that in

How do I make a scaffolded page the first page

So I'm following the get started tutorial on ASP.NET . So far so good, however going to /controllerName is quite tedious. Is there a way how I can go to that in

Foreign key created in shadow and appending random 1 to column name - ASP:NET EF Core

When I migrate my new models and data I get the following error for multiple foreign keys: The foreign key property 'InsurancePolicy.InsuranceSubjectID1' was c