I have a simple ASP.Net Web API method that returns a BadRequest like this .. catch (Exception ex) { Log.Error($"CreateRequest:requ
I am new to SFTP. I am getting Renci.SshNet.Common.SftpPermissionDeniedException: 'Permission denied' error while uploading an image to the SFTP location from a
Code : var Ocr = new IronTesseract(); using (var Input = new OcrInput()) { var Result = Ocr.Read(Path.Combine(strFileFolderPath, strFileName + "." + curent
I am using this code in asp.net to run crystal report : paramField.Name = "@ORDER_ID"; paramDiscreteValue.Value = TXTORDERID.Text.ToStri
The thing is that like in Django which you can add model properties without changing the model class using the @property decorator. I'm trying to achieve same w
Good day. I have a tree in my MVC view, where I can add in nodes like so: <script type="text/javascript"> $('#jstree_demo').jstree({ 'core': {
@using (Html.BeginForm("testGrid", "Transport", new { id= 3062 }, FormMethod.Get)) { How I can pass the param(id) with [HttpGet] in asp.net mvc without use sub
I'm having this really weird scenario where I have a component in MVC that will call a service to grab all the categories in the database and include its child
I'm having this really weird scenario where I have a component in MVC that will call a service to grab all the categories in the database and include its child
I have created a asp net core web application that implements an online system of borrowing books from a library. I have created a table with the following stru
I am trying to run the Dotnet version 6 app on macOS latest version I searched everywhere, it was always required to install the certificate although I had a va
{ var MinValue = (from mi in db2.PackagePurchaseds select mi.CustomerDetailid).Min(); var MaxValue = (from mi in db2.PackagePurchaseds select mi.
I try to migrate an old projet with a console app and a webservice ( both on .net framework 4.6) to a .net 6 console app (I want to suppress the ws and just hav
I've managed to populate an MVC Razor with drop-down-lists, but I cannot seem to figure out how to use buttons instead of a drop-down-list have buttons act the
I'm learning to use .NET MVC creating an app on Visual Studio. I'm trying to add a dropdown with dinamic data from one of my Models. The idea is that when a "pr
I'm developng a school project using a html.beginform to when i click in a button i go to a diferent Action, but i need to pass the values that i have inside my
When trying to add the ability to add a name during registration, an error occurred when logging into the account. When I register, the login is successful, but
Opened an old project from years ago. Build fails because Visual Studio (2019) does not recognize an assembly that is clearly there - specifically, Autofac. You
I've a Page entity dependent on Investor entity as investor creates a page: public class Page { [Required, DatabaseGenerated(DatabaseGeneratedOption.Identit
I am programming a multilevel menu / submenu in ASP.NET MVC. I have this table: Id Name ParentId ---------------------------------- 1