How to redirect to a Controller/Action passing any URL parameters?
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 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.
@foreach(var item in model){ <tr id ="nameoftr"> <td> asd </td> @if(item.num > 5) { <script>document.getElementById('nameoftr').className = 'blinkAction';</script> } </tr> } i tried like this to change class of the tr but only the first row affected but there are many >5 rows. i tried the if block under the tr block the result was same. … Read more
I am making a POST method. The following code takes in an object, takes the data from the object that it wants, then formats it into a new object and saves that to the database. I use the following code:
i want ‘data-id’ according to selected item, if i select item 2 so data-id is 2′
I have .Net Core project with code-first approach.
I have been trying to find out the issue for the whole day and couldn’t figure it out.
This is my SignalR Hub (BlazorServerAppHub.cs)
I am developing an ASP.NET Core 3.1 project. I want to group Services in Tickets based on the average of the difference between CreatedTime and ModifiedTime of Tickets.
I’m just trying to apply Option Pattern and I coded that in ConfigureServices:
I have 3 projects.
project 1 uses reference of project 2 and project 2 uses reference of project 3.Now this is what I want.
as with above scenario project 1 can also use classes of project 3 which I not want to do so. so how I can encapsulate classes of project 3 to be used only in project 2 and not in project 1.