how to pass C# DataTable to JQuery DataTable
I am trying to send data from a C# DataTable to a Jquery DataTable, but I am not sure how. Here's my code, but it is not working. public ActionResult StudentList() { TestViewModel tvm = new TestViewModel(); List<Student> students =…
![](https://techprofile.blob.core.windows.net/images/ZspLg_2p9USDkB89-fCNuA.png?8DCA9B)
Weird errors problem with dotnet watch with blazor/wasm.
I have a really annoying problem with dotnet watch and blazor/wasm. I have a solution in which I have multplie projects, for example an API, a blazor/wasm project and some common classlibraries. I start the API part with CTRL+F5, and I start the Blazor…
Dynamic Folder Names with AjaxFileUpload
I'm attempting to replace the upload /download pages of our very old ASP classic web site with a web forms app. Keeping as much of the back end stuff the same is important as there is code (mostly VBA in Word, Excel and Outlook) in our daily operation…
How to build .net core 8 login and role base functionality, authentication and authorization using jwt token
Hi all i am new to .net core 8 and implementing login funcationality, authentication and authorization funcationality for that i have wrote below two methods. [HttpGet("GetLoginDetailsById")] public async…
How to use reflection in ASP.NET MVC with razor/cshtml?
Why are the property names displayed 'correctly' in the input tag but not in the label tag? And why are they pre-typed in the input-fields in HTML? f.e.: every label = name and every input field is the property name, where it should be empty. …
In what cases an object passed to action method equals null?
i have an action method like so: public IActionResult CreateShirt([FromBody] Person person) { // my code } some courses checks if the incoming object is null. but using postman i couldn't make person null no matter what i do with the request : no body…
How do I access child elements
Hello. I have a problem, in one of the StackPanels I want to display product cards, where the user can write the quantity of goods purchased and their price, then the program should calculate the total amount. Everything should change dynamically with…
![](https://techprofile.blob.core.windows.net/images/iFN-poiNvEKTSlZULohJHA.png?8DABF6)
![](https://techprofile.blob.core.windows.net/images/iFN-poiNvEKTSlZULohJHA.png?8DABF6)
How do I fix an issue where deployed .NET 8 API to Azure App Service is just showing placeholder page and is not working?
I am trying to deploy a simple .NET 8 API to Azure App Service using the Github CICD which I setup from the App Service deployment center. After the initial setup, the Github Action ran successfully and in the overview I can see that the deployment was…
Error with post method
Hello, In the explanation about the post method, the JSON and the record do not match. Why? This question is related to the following Learning Module
ERROR: An error occurred when writing to the output stream.
My iOS game gets always terminated when I try to debug it on my iPad OS version 17.5.1. I use Visual Studio Community 2022 (64-bit) Version 17.10.4 on my Windows 11 laptop. My iPad is connected to my iMac and I paired my iMac with VS. When I click on the…
Outdated Graph API example for uploading files to OneDrive
var driveItem = await serviceClient.Me.Drive.Root.ItemWithPath(itemPath).Content.Request().PutAsync<DriveItem>(stream); https://learn.microsoft.com/en-us/training/modules/msgraph-dotnet-core-manage-files/7-upload-user-files The example code above…
Why does a css file embedded in a DLL take 50.9ms to 9.4s to load?
Hi all; I have a Blazor server app running on Azure app server. I am using Application Insights to measure performance and as I am new to Application Insights, this may be a user error. I have MudBlazor referenced in App.razor as: <link…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
How can I have Azure App Service environment variables override key vault secrets?
Hi all; If I define a string in both the Key Vault and the Azure App Service environment variables, the app will read the Key Vault entry. Is there a way to have it read the App Service value if set? thanks - dave
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
How to deploy a net core web api with SSL
Need to understand how to deploy and appi en https
.Net 4.8.1 app doesn't start because Windows says .Net 4.8.1 is not installed
We have an app that was built to be run by .Net 4.8.1 x86 . This app is installed in a Windows Server 2022 Datacenter Azure Edition. When we launch the app, a message box is shown by the OS, saying: "This application requires one of the following…
anti-forgery tokens implementation in asp.net web api
Can any one help me with anti-forgery tokens implementation in asp.net web api and AngularJS. how do we maintain the forgery key in web api to validate the key for every request. Please provide the full example.
The type or namespace name 'System' could not be found
When I try to create a new Xamarin Forms app, nothing works. No imports can be found. Almost every line in the autogenerated code has a "not found" error. Visual Studio Enterprice 2019 I've tried to update the packages in nuget packages…
Blazor Wasm Hosted with SAML2 authentication
Good morning, We have a Blazor-ASP.NET Core Hosted application on .Net Core 6. In an on-premise IIS for a client where they authenticate against their locally corporate Active Directory. Now we proceed to migrate to the Cloud, logically we no longer…
Can't JoinRoom by Id
Hi, I am a student working on a school project, I am new to this, It is my first time doing NextJs with TypeScript, I also researched but did not see any working solution. I really do not know where the problem is. I would very much appreciate if there…
Wpf white squares bug on display
When i running wpf application theres little white squares on display where position on mouse cursor. Any one know about these wieard bug