Custom DropDownList in MVC
I want to create DropDown in MVC using Custom Range as Starting is 2000 and Ending is Current Yaer.
I want to create DropDown in MVC using Custom Range as Starting is 2000 and Ending is Current Yaer.
My problem is that i have two entities (Document and Attach) that has an relationship one-to-one. In my app, i can save first the Document and lately if i want, i can attach an archive to it, that will be on the table Attach.
When I try to return my orderList as IQueryable, I get the following error:
This might be a really dumb question (I’m new to ASP.NET). Anyways, I’m making a web application for practice that will manage students and their courses of a school. The information of the student’s courses, student id number, name, grade etc. will be stored on Student objects in the database. When an admin adds a … Read more
I am trying to implement “returnUrl” functionality in my aspnetcore app but I am struggelling to find a way to dynamically pass the parameters to an action.
I need to display data on table where createdBy and updatedBy properties display two different usernames taken from the Users table.
How can I create multiple Step objects in a form and when I click the “Create” button these are sent to the controller’s POST method?
In my asp.net project I’m using a ViewModel called DoctorLoginViewModel.cs which is used for rendering the Login view.
I was wondering if this ViewModel can be used in login ActionMethod
I deployed my Blazor server side App on my server.
Publish was OK, success.
But when I look on the repository where its published, I find lot of dll etc… but no content that I used to work with in local when I build the app…
All is working good, I access the web app from my browser, but as I use to work with some template personal files, they are missing on the server and the logic behind is lost…
I have on ASP.Net C# web API with an endpoint for the import. Javascript client sends a list of items to this API and API process this list in another thread (long task) and immediately returns unique id (GUID) of process. Now I need the cancel the background task from the CLIENT. Is possible to somehow send the cancelation token from the client? I have tried to add CancellationToken as a parameter to my controller async action but I don’t know how to pass it from the client. For simplification, we can use as the client the Postman app.