Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

I am using the Angular 19 Full Calendar component. I have a dedicated Angular Workspace I use to develop the Angular component, I am using ng build --configuration development to deploy the component ...
Enoch_Root's user avatar
0 votes
1 answer
212 views

I am new to .net web apps. My usecase is make a post call with XML as body. I am trying to make a call through postman, but the param value received in my controller is always null. Below are the ...
nikhil's user avatar
  • 85
0 votes
1 answer
571 views

I have a .NETCore 2.1 web application and a separate Razor Class library. The RCL contains some common partial views and functions which I intend to use in separate projects. I am trying to make an ...
Jamie Hartnoll's user avatar
0 votes
1 answer
4k views

I have a database named "LandingPage", and using this command i have mapped the database tables inside my asp.net mvc core:- Scaffold-DbContext "Server=(localdb)\ProjectsV13;Database=LandingPage;...
John John's user avatar
  • 7,345
1 vote
1 answer
731 views

I want to get multiple textbox values from a table inside a object I have five textboxes From the code below if I have entered value inside only one textbox, I am getting only two values, not five ...
shreyas35's user avatar
  • 175
0 votes
1 answer
2k views

There something very basic i must be missing which i cant understand what it is. I have a method at the controller [Route("SomeMethod")] [HttpPost] public IActionResult SomeMethod([...
ATT's user avatar
  • 1,111
4 votes
4 answers
3k views

I had a completely functioning program at version 2.2 when migrating to version 3.0 and replacing public void ConfigureServices(IServiceCollection services) { ... services.AddMvc(); } With ...
ATT's user avatar
  • 1,111
0 votes
1 answer
93 views

I am taking a tutorial on getting started with Entity Framework and C#. I was following the [tutorial][1] and I am getting an error when I tried to create a new scaffolding item. When I select the ...
csb00's user avatar
  • 1,125
2 votes
1 answer
2k views

I have the following controller: public ActionResult Grid() { schoolEntities db = new schoolEntities(); List<Student> result = db.Students.ToList(); /...
xralf's user avatar
  • 3,782
0 votes
0 answers
1k views

I am using Fastreport for mvc core project but i have a problem for created table in fastreport. My created table includes some blank between rows or column but there is no problem exporting the ...
Gökhan Aldanmaz's user avatar
0 votes
2 answers
42 views

I've created a default mvc web application in visual studio 2017. the issue i'm facing is when i run this application it shows me the main interface and after it when i click the contact us page in ...
Shahzaib's user avatar
0 votes
1 answer
1k views

I am from Classic ASP background. I am just trying to declare a variable int TOTAL_ROWS at the top and after I know how many rows in my MySQL database at the bottom, I will assign it to the variable ...
Hanz Cheah's user avatar
4 votes
0 answers
1k views

Hi there fellow Overflowing Stackers! Looking for your help in regards to having tiered or nested controllers in asp.net core So far from what I can see, the default boilerplate code, and its default ...
xRavisher's user avatar
  • 897
1 vote
2 answers
598 views

I am making ajax call like this deleteAge(item: any): string { $.ajax({ method: "POST", url: 'DeleteAge', data: item.Id(), ...
James's user avatar
  • 1,957
1 vote
2 answers
1k views

I have a solution with contains a class library targeting the .Net framework 4.7 and another project with ASP.NET Core 2.2 . The class library targeting the .Net framework contains controllers as ...
user581157's user avatar
  • 1,429
2 votes
1 answer
1k views

I'm trying to assign value to the hidden field in java script using the JavaScript variable and trying to pass it back to the controller. The value every time I go in the post method for my model ...
Arjit Kapoor's user avatar
0 votes
1 answer
1k views

I have javascript function that will be called from a few pages when Kendo.Button() is clicked. This is a Kendo.Button(): @(Html.Kendo().Button() .Name("btnSubmit") ...
gene's user avatar
  • 2,098
1 vote
1 answer
4k views

Environment: Visual Studio 2017 Community with latest updates Target Framework: .NET Core 2.1 (latest version) SignalR Core Running on IIS Express on Windows 10 (dev environment) TL;DR: Injecting ...
bit_man's user avatar
  • 13
0 votes
1 answer
1k views

I am working with a BaseController that is used for a variety of entities. They may have int or string primary keys, represented by <TPk>. E.g.: [HttpGet] public ActionResult Create(TPk id) {...
Carmax's user avatar
  • 2,937
0 votes
1 answer
139 views

I am having an issue using tag helpers in a form element. When I choose the "GET" HTTP method, the parameter for my Edit method in my Item controller won't get filled by the "hello" argument. However, ...
user9883821's user avatar
0 votes
2 answers
2k views

I am working on MVC core 2 and IdentityServer4, External user logged in successfully, the problem i'm facing is this function always return null in HomeController. var info = await _signInManager....
Saifal Maluk's user avatar
1 vote
1 answer
3k views

I have the following in the TreeController controller in a small web API: [HttpGet("GetDirectories")] public IActionResult GetDirectories() { var baseDir = _config["QuickShare:...
ProfK's user avatar
  • 51.4k
0 votes
1 answer
260 views

I have something like this using MVC5: Namespace Controllers Public Class WorkflowsController Inherits ApiController <HttpPost> <ActionName("SaveComment")> Public Function ...
davecove's user avatar
  • 1,071
0 votes
0 answers
28 views

Sorry guys I know there must be a simple solution for this but I cannot find it. We are passing a variable called 'amount' (decimal) to a controller. If the amount is 1.00 or over the controller works ...
DaWiseguy's user avatar
  • 1,046
0 votes
1 answer
161 views

I'm trying to configure my route so that it reflects the tab the user is on within the page. Pics below. If the state is on 'Upcoming' I want to just have a route with the state = Upcoming like this ...
chuckd's user avatar
  • 14.8k
0 votes
1 answer
89 views

I want to create an edits views, all for one big model in table, but there will be smaller models" for Basic Informations, Contact Informations etc, my model Table is really big and I don't want to ...
JJJ's user avatar
  • 51
0 votes
2 answers
4k views

I want to return BadRequest status code from Initialize method. I understand, how can I do it from any Action ( return new HttpStatusCodeResult(HttpStatusCode.BadRequest) ), but how to do it from ...
Oleg Sh's user avatar
  • 9,089
0 votes
1 answer
460 views

my goal is to create a list of contents (of specific docType) . in this list I have a filter button and two ddlist dynamically filled with children data. when user click the "filter" , the list should ...
Sara N's user avatar
  • 1,229
0 votes
0 answers
279 views

I want to authorize access to my Web ASP.NET MVC application only by users in MyDOMAIN (MyDOMAIN\MyUSER), and other users who don't belong to this DOMAIN can not authenticate. How to proceed?
saad-hamani's user avatar
0 votes
2 answers
2k views

I installed RTM VS 2017 and created a project: Template: ASP.NET Core Web Application (.Net Core) ASP.NET Core 1.1 Templates:Web Application Right Click Controller, Add, Controller and select Full ...
Bicycle Dave's user avatar
1 vote
1 answer
125 views

I have a requirement where an action link with query string parameter has been implemented from a controller view say CreateFilter which navigates to a different controller say Create where I parse ...
user avatar
1 vote
1 answer
2k views

Hi I'm writing a c# code where in there is a string sent as a parameter input to the method. And then the inputString has to be searched in the file and the result has to be returned. Currently I know ...
user3872094's user avatar
  • 3,373
1 vote
0 answers
83 views

I couldn't find much about this in the documentation, all of the examples has primitive types in their input, like int id. I did find an example though of someone passing a Date, and i was thinking ...
DenLilleMand's user avatar
  • 4,670
0 votes
1 answer
537 views

I currently have a controller which populates a partial view with all rows from a database view. public ActionResult SearchResults() { return PartialView("~/Views/TransactionHistory/...
doodles's user avatar
  • 73
0 votes
0 answers
136 views

I am using ASP.NET Core and AngularJS (not AngularJS 2). I followed this link AngularJS Tutorial for Login with MVC but my mvc controller (AuthenticateUser) gets null value. Though I am getting this ...
boycotto's user avatar
6 votes
5 answers
16k views

I have a ProductsController with only one View - Index.cshtml. The following 3 action methods are inside of this controller: //http://localhost:55555/products [HttpGet] public IActionResult Index(...
Blake Rivell's user avatar
0 votes
1 answer
1k views

While creating a Plugin for a MVC site, I'm facing an issue about controller resolution. Here are all the routes that concern the current context : routes.MapRoute("Route1", "Admin/Product/{...
Toine Seiter's user avatar
0 votes
1 answer
2k views

The form is defined in Add.cshtml: @using bendinsnMusicApp.Models @model Album <h2>Add Album</h2> <form action="Add" method="post"> Title: <input type="text" name="Title" ...
Passage's user avatar
  • 234
1 vote
1 answer
81 views

This is a hypothetical question, lets say i have a very basic forum I have the following entities (objects) public class User { public Guid Id { get; set;} public string Username { get; set;...
pieperu's user avatar
  • 2,782
0 votes
0 answers
60 views

My MVC in my project "MemberController" will not accept the name. What could be the problem.
Oğuzhan Sari's user avatar
0 votes
0 answers
117 views

I need to call a WebApi method from a controller: I can call the webApi method, but I keep on to get the following exception message: "Value cannot be null. Parameter name: request" when I reach the ...
AgostinoGiglio's user avatar
0 votes
1 answer
195 views

Whenever a error is thrown during the loading cycle (page load, map request ...) of any of my .Net 4.5 components (controller, webforms ...) I got the following scrambled code: Any exception leads to ...
Bryan Huang's user avatar
  • 5,370
0 votes
1 answer
84 views

Fairly new to this and as you cann tell learning - but basically my manager has thrown me in the deep end and I need a little help to swim - He wants me to create a list of all the controllers which ...
Webezine's user avatar
  • 465
14 votes
3 answers
19k views

I am trying all day to figure out to get the ApplicationDbContext in the ManageController.cs of a default MVC 6 project. I went online and Googled a lot but no one seems to have the same problem as I ...
StuiterSlurf's user avatar
  • 2,590
1 vote
1 answer
1k views

I am executing a page where Page contain multiple Tabs and each tab call ajax method to get it's own view. My problem is when ajax request come on controller then OnActionExecuting method I am not ...
Pankaj's user avatar
  • 4,523
0 votes
2 answers
154 views

I have following scenario: I have a web application, with this web application I can create a simple document. I have also two Controllers: the default HomeController and another DocGenController. I ...
Yannik's user avatar
  • 1,067
2 votes
2 answers
838 views

When I send a Blob to a controller via ajax, saving the file in the controller causes a page refresh. If I don't save the file, it doesn't refresh. My code: Update I spun up a new blank ASP.NET MVC 5 ...
MikeT's user avatar
  • 2,602
1 vote
1 answer
45 views

I have a question related to unit tests. I have MVC controller in which i have different actions and i want to write unit tests on all actions.I have written unit tests on classes/functions using ...
Ehsan Hafeez's user avatar
0 votes
1 answer
967 views

I need to make a "Search and filter view" My problem: I want to create a Search view where the user selects by which attribute he wants to search and than enters something in textbox and submits it. ...
Street0's user avatar
  • 354
0 votes
0 answers
52 views

I'm having a problem in creating my new controller inside the "Controllers" folder provided by ASP.Net MVC API. I don't know how can I fix this thing. I already rebuild all solutions. But when I ...
mark333...333...333's user avatar