Content
How to insert data to table on SQL server using jQuery on blazor server side?
I work on blazor server side .I face issue I can't apply jQuery to insert data to SQL server database table owner . after apply script and check table SQL server no rows inserted so my issue jQuery not insert data my code as below : 1 - I create JS file…


ASP.NET Core MVC with Identity - ArgumentNullException: Value cannot be null. (Parameter 'value') on signInManager.PasswordSignInAsync
What's up everyone, I've been having this issue when implementing Identity authentication to my app. This is the error I get: ArgumentNullException: Value cannot be null. (Parameter 'value') System.ArgumentNullException.Throw(string…


Identity/Authentication between ASP.Net MVC and Xamarin.Forms
Hi All, Just wondering if anyone has information on the best way to integrate Identity/Authentication ASP.NET MVC and Xamarin. I've created a standard ASP.NET Core application using the latest framework with Individual Accounts, I would like to…


error when try to get values from object parameter 'object' does not contain a definition for 'employeeID'
I working on blazor web application server side by csharp . I face issue i can't get values of properties employee id and department code from object parameter to insert value on table I get compile time error when try to get value for property employee…


Invoking azure functions server SignalR group functions from ASP.NET Core Client
I am trying to invoke azure functions server SignalR group functions from an ASP.NET Core client. The server side code that I am trying to invoke via an ASP.NET Core client can be found in this article. I have not found a single reference of a C#…


making an image box in Razor page
I want to make an image box on my razor page so that users can type or sign their name in that box. I want something like adobe acrobat offers. below is the screen shot: How can I achieve this.


Displaying progress bar in asp.net mvc
Hi, I have written following controller : public ActionResult ProgressBarDisplay() { int count = 0; // reads the count from database and updates the count double percentage = (count / 9) * 100; return View(percentage); …


I can't generate a Razor view in ASP.NET Core v7 - Package restore failed
I'm new in ASP.NET and I don't know exactly where is the error or which package is broken. It only occurs while generating a template of view. I can generate Controllers and empty Views normally. I reinstalled the Visual Studio, cleaned and rebuilt the…


Getting error while uploading video on video indexer portal.
Hi, I am trying to upload a video on the Video Indexer portal through Indexer API but this is throwing the below error. The same URL is uploading the video on the indexer portal through Postman…


C# code to real time scan and threat detection through Azure defender while uploading file on blob store through web api
Hi All, I have an web api 6 c# code running for uploading files on azure blob and it is deployed on Azure App service and it is working as expected. Now, i have added azure defender on blob storage and it has detected some file as security threat…


ASP.NET Core 6 Identity - Scaffolding Identity problem
I am following the tutorial on learn.microsoft.com (Authentication, ASP.NET Core 6.0). I create ASP.NET Core Web App with individual user accounts and update a database. So far everything works. Then I scaffold the identity. Then I Scaffold…


ASP.NET Core MVC : complex data model reading related data
I am trying to display a drop-down on my DEVICES create.cshtml view of the names from CONTACT via the lookup table DeviceAssignments, below is an ERD. I am already able to display the drops downs for DeviceCategories and DeviceLocations, but I am not…


the service microsoft.visualstudio.shell.interop.iselectioncontainer already exists in the service container in VS2022
I recently installed Visual Studio 2022 Professional edition on my machine windows 2010. I'm just trying to create a sample windows form project and trying to open the designer / form by double clicking on Form1.cs and I'm getting this weird error…


A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI
Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…


Displaying Image within Project folder
Any idea why an image wouldn't display in core 6? Is there a problem with the line of code below...the way the path is transcribed? Is there a problem using png format in 6? <img src="/Media/Home.png" alt="Home Page"…


Designating a link open a .cshtml (view) file in a text editor
Is there a way to have a .net webpage link and open a .cshtml (view) page in either in Visual Studio or other text editor? <a href="/Views/Home/Notes.cshtml">View in Text Editor</a> Yields


Displaying Razor code without executing it.
The code below, using the <pre></pre> tag using <> substitution displays the html code successfully on a view page (see below) BUT... it requires the Razor elements... @RenderBody() @await…


Azure is decoding characters in the URL before reaching the application
In our backend API, we have an endpoint with a path variable and we need to be able to support certain special characters. To accomplish this, we are encoding the path variable with UTF-8 before hitting the endpoint. This works for most special…
Blazor Web assembly application is not running in iOS and macOS ?
I have Blazor Web assembly application with azure active directory login and it works on my local machine, local IIS but when I published it on server. and try to login in iOS it redirects me to login-failed URL every time. and azure ad popup not shown.


VS Code displayed on webpage as text rather than picture
If I want to display code...as it appears as code in Visual Studio (e.g. below) but on a web page as text, is there any way of doing that? If I place the code between <p> </p> tags, I get: Element 'html' cannot be nested inside element…

