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
I have a simple jquery click event <script type="text/javascript"> $(function() { $('#post').click(function() { alert("test");
I am trying to create a asp.net core 2.1 razor website that will load two tables on the one page. Below i have defined my classes ItemMasters and DealMasters. I
Hi I am new to this but previously, I was using Log4Net successfully to log info and errors. Now when we are migrating to the cloud and hosting the app in Azur
i want to get the number of characters in Grid from the below Jquery script Even though i tried by length(data) it shows that length is a property not a functi
Im trying to Use GoogleAuthenticationExtensions from Microsoft.Owin.Security.Google package inside MVC5 program. This is my StartUp.cs : var googlePlusOption
I've populated List with font-awesome strings like: private static readonly List<string> Icons = new(){ "<i class=\"fas fa-users\"></i>",
I'm trying to upload an image, this is the view: @model CrearAmigoModelo @{ ViewBag.Title = "Nuevo amigo"; } <form asp-controller="Home" asp-action="Cr
I'm trying to get the new textarea value to read into my controller so that way I can store the new value in my SQl database. View: @{ ViewBag.Title = "TRIO
I am trying to get user to upload a document from the web interface and have it stored on the network share *\dfsms\shared\MyProject* , it also saves the entry
I have an application in MVC which is consuming some third party APIs. While running application on server I am getting below 4 cookies in browser and one of th
colleagues! Im trying to create app with Onion arch and several GUI. I used lib Log4net as my log provider. I created my own IMyLoger interface at application l
When I make any change to a CSHTML file while debugging then reload the page, I get this exception. This used to work, and I'm not aware of any changes that cou