How can I create an array of objects in a form and then send this array to the controller?
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?
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.
In my web application I am iframing a different web application. The domain of both the webapplications are different.
@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 have this dropodownlist / combobox / select element inside an asp.net form:
In an ASP.NET Blazor App with Identity I have a page with the page routing
I have an ASP.NET web app. It has a CMS web application which I want to run on IIS(through Visual Studio). It’s .csproj file lists the project URL as https://localhost:27251/.
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: