Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

When I am trying to run the validate in the application which try to create the object using the below code I get the error message public static void Validate<TEntity>(this IValidated entity) { ...
user avatar
1 vote
1 answer
232 views

I'm running a website that works great on Google Cloud Platform but there is a issue that I'm unable to resolve at code level on my website and I think it is related to GCP. On the website the users ...
דניאל's user avatar
1 vote
0 answers
88 views

I have a problem with my project that I have not found a solution for a long time. One of the pages on the website has buttons that call for data from the server by AJAX calls, after I click on some ...
דניאל's user avatar
0 votes
2 answers
2k views

I am facing a weird issue with FormsAuthentication's .ASPXAUTH cookie. I migrated a .NET 4.6.2 MVC5 project to .NET 4.8 which is making use of FormsAuthentication and everything seem to work as ...
Mazhar Qayyum's user avatar
1 vote
0 answers
128 views

I have an strange error in one of the views I am trying to load. In one of my views I have about 3600 lines of code on that view, as soon as I try to load that view it shows me an error:- source not ...
דניאל's user avatar
0 votes
1 answer
466 views

Without this extension, fluent syntax does not work. I cannot get this to work in Syncfusion Asp.Net Core. In AspNet MVC this ran because of a class: Syncfusion.EJ2.HtmlMVCExtension I get this error:...
jlo-gmail's user avatar
  • 5,096
0 votes
2 answers
468 views

I have the following ViewModel:- public class PostCommentReplyViewModel { public List<POST> PostViewModel { get; set; } public List<COMMENT> CommentViewModel { get; set; } ...
Daniel's user avatar
  • 413
1 vote
1 answer
2k views

I have a set of class libraries which are developed using .Net Standard 2.0. One of these class libraries implements the IAuthorizationFilter interface which is resides in Microsoft.AspNetCore.Mvc....
Vahid Farahmandian's user avatar
0 votes
0 answers
59 views

Is it possible to increase special session timeout in mvc? something like : Session.Timeout = 30; Session["example"] = obj; Thanks!
Gisoonchal's user avatar
0 votes
0 answers
144 views

I am currently using the static cache built into ASP.NET quite a bit and I'm finding that my IIS server cache's a lot more than my Visual Studio IIS Express when I'm doing development. It's causing ...
Peter Kellner's user avatar
1 vote
1 answer
820 views

Is there any way to identify why this website initial loading is very slow? I have checked in my each and every part of the HTML structure and code (Requests, Response). It’s loading very fast after ...
sridharnetha's user avatar
  • 2,208
0 votes
2 answers
3k views

Returning a single DataTable from a Controller works fine for me: public ActionResult Index() { DataTable dtable = new DataTable(); dtable = SQL.ExecuteSQLReturnDataTable(SQL.SelectUnitsQuery,...
B. Clay Shannon-B. Crow Raven's user avatar
-1 votes
1 answer
2k views

I am trying to create a group box around some textbox control. Here is my code so far: <form method="POST" name="frmInfo" id="Info"> <fieldset class="box-border"> <...
user1250264's user avatar
3 votes
4 answers
2k views

I have a table valued function that I'm calling with a LINQ query. As I now understand it (as referenced here), the sorting needs to be done outside of the table valued function. This means, I have ...
madvora's user avatar
  • 1,747
1 vote
1 answer
61 views

I have to maintain a project that uses MVC 1. It seems like it doesn't know anything about [HttpPost], and the same action method is called for both get and post. What is the right way to distinguish ...
Dmitriy Reznik's user avatar
60 votes
7 answers
41k views

In my controller I have two actions called "Friends". The one that executes depends on whether or not it's a "get" versus a "post". So my code snippets look something like this: // Get: [AcceptVerbs(...
codette's user avatar
  • 12.6k