How to fix this error: The package reference 'Microsoft.NETCore.Targets' should not specify a version.
I am reaching out to seek assistance with a challenge I've encountered during the migration of our projects to the .NET 8.0 isolated worker model and Azure Functions v4. Despite following the provided documentation closely, the build process is not…
Virtual path maps to another application
First, I'm not sure if I am in the correct Forum please direct to proper forum if it is wrong. I'm am getting the following error when I run my VS2019 WCF app. (Note it was originally written in VS2019) [ArgumentException: The virtual path…
Load testing for signalR core
Good Day, I was trying to perform load testing for an auction mobile application , we use signalR core and agora as a server , However Crank and tresi are deprecated long time ago (as per my understanding) and it is quite challenging for me to simulate…
Request OAuth2.0 token using azure app services managed identity
Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…
OAuth2 callback redirects user to authorization page
I am implementing OAuth2 authorization in my application with an external provider. When the user is redirected back to my application from the authorization server, my application will just redirect the user back despite using the Redirect() method to…
Visual Studio stopps responding when creating new React + .NET project
Hello. I have a problem when creating new project in Visual Studio. I am trying to create new Fullstack React + .NET project using the official React + .NET template. However upon creating new project, the console gets opened and quickly closes only for…
saving the Identity token in the Aspnetusertokens table
Hi I created an Asp.net core 6 project and I added the Identity framework for authentication and authorization, I would like to add token management and while doing research I realized that Identity also manages the management of tokens because it…
Issue with condition rendering
@page "/register" @model FaceAdminApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } @if (Model.IsPhoneNumberPresent) { <div class="container"> <div class="row…
Why does daemon app require user sign-in in API service principal?
I am following the code sample here: https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/tree/master/2-Call-OwnApi#register-the-client-app-daemon-console I am not using the sample code API, instead I have a simple test API. Both API…
problem with otp generation
Register.cshtml @page "/register" @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ViewData["Title"] = "Register";} <h5>NEW REGISTER</h5> @if (Model.IsPhoneNumberPresent) { <form method="post"…
LINQ sum Data Group by Month And Year
I have Some Data below Image. How Can do this Using LINQ Query.
Dynamically pass the B2C sign-in policy in .NET 8
I am developing the web application using .NET 8 with Asp.NET MVC and using Azure B2C tenant for Authentication. And it will be hosted in the Azure App services that configured with two domain urls. Based on the requested Urls, I wanted to pass the…
How can i get current user groups from Azure AD using claims in dotnet core?
I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…
System.Web.UI in .Net
I am trying to migrate several projects from .Net Framework 4.8 to .Net 8 in WinForms, Wpf and Asp.net that use common c# libraries. When trying to compile the common dll, errors appear related to "System.Web.UI" which apparently is not used in…
How Can find Data between Two Date Using LINQ
i wan find data between two date. but all data can't display. only last two data find as result. Date productID 2024-04-19 15:50:35.7510481 9 2024-04-19 15:50:35.7539253 10 2024-04-19 16:42:54.1178610 1 2024-04-19 16:42:54.1408529 2 2024-04-19…
what is the main reason to use asp.net mvc instead of webforms?
hi what is the main reason to use MVC instead of webforms? only security ?
A weired error about HTTP 500 !
I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…
Dangerous site - attackers on the site you're trying to visit might trick you
I have an intranet site. This site is hosted on our internal server 2019 on IIS version 10.0. This website is just a web page that enables the employees to fill out their information and then populates a .pdf file from the information that they fill out.…
Blazor Title
Hello, I have a Blazor 8.0 project that has been giving me trouble when it comes to Title. I have a <PageTitle> tag on every page but it remains the Home no matter on which page I am redirected. Is there a solution for this problem? Thank you
Need to convert stream file to PDF.
S is my stream variable. I have successfully converted it into doc format. Now I am trying for pdf one. Content Type: "application/pdf" doesn't work. Please give me a solution. s =…