I tried creating a asp.net core web application with mvc in visual code 2019 and as soon as I open it it showes me a lot of errors like in the picture. enter im
I have an APS.Net web app Razor view where I attempt to display the Viewbag.errormessage. The action method populates the viewbag but the view does not show the
Hei friends,I'm kind rusty on mvc I need help. This is the cshtml ,my html and script is in the same page ,I want to render angular html Without refreshing page
[Enter image description here] 1 I got this error when I tried to run the system. I am not sure why. it used to display the information from a database. Please
I have a table. There is data in this table and there is a checkbox next to each data. Multiple selection is possible. After the user makes a selection, the id
I am using HangFire to run the job. I have a method that retrieve data from more than 50 sql servers. I want to use HangFire to run each location separately by
I want to know how to make the date automatically change the year only For example, if I have this date in the database 9/21/2020 I want the year to change ever
I encountered the problem when I was creating a Create page. Which lead me to an error message which says: Error Message: Im not entirely sure if my model name
MY ERROR: ı want to "add-migration" but ı cannot also ı use web app and .NET 6.0 Unable to create an object of type 'AppDbContext'. For the diffe
I had an idea of changing a background color of a div when I click a button. I added a string in my 'Subject' model class as so: [NotMapped] public string Colo
I'm kinda new on .net and I ignored the existence of Controllers, Routing and Views and I already created my pages and their code behind on .aspx files and I wa
Error => An unhandled exception occurred while processing the request. InvalidOperationException: Unable to resolve service for type 'Business_Logic_Layer.Ho
I need to translate my application to multiple languages. The application is .Net 6.0 - MVC. I have never done this before, however, my idea is to compile the a
UPDATE: It works fine is I add another parameter. I have no idea why. Not sure what I am doing wrong, this route looks the same as the other routes, I've looked
I need to prepare invoice lists and in the each invoice there are more items added by user while shopping here my model public partial class tblNormalSatisBekle
I'm using Visual Studio 17 (version 15.8.5), my project targets .NET Framework 4.8 and I've tried setting the C# version to use (via Build tab in the Properties
There are some times where I have a user and would like to check whether they are in the organization that owns the item they are trying to access. Let's say th
I am trying to connect to a postgresql database through SSL. In the appsetting.json file, my connection string is "DefaultConnection": "Sslmode=Require;Sslrootc
I'm a beginner and well i'm doing a form which is capable to send information to the database but I needed one more thing to be sent and it is the Id from the u
i'm trying to pass A DateTime data type to a controller that will call a Mapper to pass it into a db. Additionally the DateTime is taken from a db at first. db