-
I have three projects. One is Dot net core MVC, two are API projects. MVC is calling one API for user details. When user details are asked, I am sending message to queue through MassTransit. I am ......
-
In ASP.NET MVC, I am trying to implement user authentication. Credentials are stored in SQL table.I have a login page, when user enters credentials I am calling the JavaScript function shown here. ......
-
I want to add mutlipte language my project.I can use localization in cshtml but i cant use it in label tag, displaynamefor tag.How can i use this?...
-
Looking to render Razor views in code. Views use @HTml. extensions.Tried to usehttps://github.com/wdcossey/RazorEngineCore.Extensionswhich should add this feature to RazorEngineCore . TriedtOrAdd(......
-
Now, I have a problem. I create Form login and connect to a database using Entity Framework.I create a stored procedure. But when I execute login in Visual Studio, I get an error:Could not find ......
-
I am updating an legacy ASP.NET MVC application with bootstrap 4 & formValidation 0.8.xWith the new requirement I need to have multiple submit buttons with values that need to be passed to the ......
-
I am trying to run hangfire recurring job daily on 9.00 AM. Here is what I want to do-RecurringJob.AddOrUpdate(() => MyMethod(), "* 9 * * *");Where should I put this line of code?Sorry if ......
-
Configuration: Windows Server 2016 4Gb ram, ASP.NET MVC 5, IIS-10, Max upload size per request:30MProblem:When uploading 5 image files of 500Ko asynchronously, the user session freezes and the ......
-
I am using @(Html.Kendo().Upload() in my app. I have to take the top 5 records from csv and bind it to kendo grid in javascript. I'm reading the file info from httppostedfilebase and returning the top ......
-
I have a problem. I need to select some ID-s from a DataSourceResult and I keep getting errors, or I can't select them.DataSourceResult result = publicationClientList.ToDataSourceResult(request);I ......
-
We've had a penetration test on a website and they're saying we shouldn't be passing readable data in a querystring (it's an Email Address).The querystring is being created by the application when ......
-
I use model validation in Asp.Net Core and it returns 400 errors like that:{ "errors": { "MyProperty": [ "Error 1", "Error 2" ] }, "title": "One ......
-
I've made a simple CRUD web app in asp.net-mvc-5 with button for edit,add new and delete in index view. The thing is I want to add another button in index view which will lock all other buttons and ......
-
My download method ispublic async Task<IActionResult> Download(string filename) { if (filename == null) return Content("filename not present"); ......
-
I've a ASP.NET MVC5 Web project where I use default MVC controller where I use InSessionScope bindings (works fine so far). I am using the Ninject.Web.Common.WebHostextension, wich creates the "......