#How to convert ASP.NET for Microsoft Graph API to an open public API?
I have followed the instructions for creating a ASP.NET project for getting Graph API data in this Tutorial:…
How to debug ASP.NET Core's source code using Rider?
So, I'm trying to debug ASP.NET Core's source code (specifically Mvc slnf as it's what I mostly use in my day to day) using Rider but every time the debugger hits a break-point it tries to start for 1-2 seconds and then process stops/crashes. I've also…
How to detect a device
Hi, I'm currently working on .net core web API project . There is a moment that I can't figure out. I had to detect the device which user used when signed in. I used "user-agent" first but this only says if its smartphone, Desktop etc. And only…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
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…
Access network folder and files from .NET Core application in IIS
Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?
![](https://techprofile.blob.core.windows.net/images/c4mRkDtLdU6n6fSv2i9uBg.png?8D843C)
asp.net core web application not showing in visual studio 2019
asp.net core web application not showing in visual studio 2019 Hi, i have installed visual studio 2019, with asp.net and .NET core features. Problem/Issue: while creating new project,"asp.net core web application" not showing, its showing…
![](https://techprofile.blob.core.windows.net/images/sNMpYM2DTkec_2Z6WEMj6w.png?8DBF41)
Different situations occur when action information is not given when the form is posted.
Hi, If you allow, I would like to ask a question. Even though I did not provide action information in the form post operation in the View of the "Index Action" in the "Login Controller", the Index Action is running in the post…
Display Image in asp.net core postgresql
The below code works in Index Page <td> @{ var base642 = Convert.ToBase64String(item.Imagesol); var Image2 = String.Format("data:image/gif;base64,{0}", base642); } …
Integrate Swagger with Azure Function using .Net 8.0
Hi, I'm currently trying to integrate Azure Functions with Swagger. I've successfully done this for .NET 6.0, and now I am trying to do it using .NET 8.0. However, I am unable to find a proper solution, and all the references I find on the internet have…
Web app with Entra authentication got 403 error
Webapp1 is a asp.net 8.0 app with Entra as authentication provider. The registered app is app1. Webapp1 used to work but I got the 403 app after a deployment. The error page showed "Access to webapp1.azurewebsites.net was denied. You don't have the…
Application sends Email when on local pc but stops working when deployed on Azure
I created a simple web page with a form on it that sends an email to the owner. When I enter the data and click Send button, you can see on one of the pictures that in the console there is an Error. When I investigated further within Azure Portal in…
![](https://techprofile.blob.core.windows.net/images/VfQFAmOikEWfBHko2XlWTA.png?8D7F33)
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…
How to repopulate dropdown boxes when a razor page reloads in Asp .NET Core 6
I am working on a Razor page in Asp .NET Core 6. Through identity scaffolding it created a Register.cshtml page. I modified the page with input for email and user name and three dropdowns for State, Title and Salutation. I am populating the dropdowns…
How to send additional model data to a razor page in Asp.Net Core 6
I am working on Asp.Net Core 6 MVC. I am new to Razor pages. On the Register.cshtml page, as part of the identity, it has the following line which is used to gather user-entered values and save them in the database on the Register.cshtml.cs @page @model…
Download Files in Razor View using [partial view bootstrap modal]
Hello reader, Download Files in Razor View using bootstrap modal <td> <a href="@Url.Page("entryframe", "DownloadFileFromDatabase", new { fileName = " + rowID + " })">DFD</a>")…
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)
How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."
Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…
Classic ASP support clarification
I am needing to get some verification for my job on whether classic asp is still being supported by Microsoft. Also, is their a way to find the end of life date for classic asp? I will need to provide some form of proof online. I am asking because when I…
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
I was running VS 2017 and today I installed VS2019 and after dotnet version changed from 2.1 into 5.0.301. Currently this machine has 2017 and 2019 version. Also I have had created a project in 3.1 . When I run the project in VS 2019 , it brings…
Could not find 'aspnetcorev2_inprocess.dll'. Exception message: Error: An assembly specified in the application dependencies manifest (apexlink-qms.deps.json) was not found: package: 'Microsoft.EntityFrameworkCore.Design', version: '3.1.4' path:
Hi there, I have a net core app service that has been running fine until yesterday. I found this error in the Application Event Logs: I have tried several fixes that seems to work for others, but so far no luck to make the App work again. Would anyone…
Can't convert Word Document Equation into HTML readable format text like MathML in C#
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of…