Error adding migrations: Failed to create CoreCLR, HRESULT: 0x80070057
I'm having an issue whereby I get the error message: Failed to create CoreCLR, HRESULT: 0x80070057 when I use any of the entity framework tooling. I have 2 projects in my solution an ASP.NET Core (.NET 5) Web API and a .NET Standard 2.0 Class Library. …
SignalR integration not working in all tabs sometime ??
Hi I have one query related to SignalR, as I have implemented in my application as we have 2000 page in our application so when I am doing any change in one tab it should reflect in other tabs as I have added the code for it, but it is working…
IIS Admin API - An unhandled exception has occurred while executing the request
Hi, Getting the following Events in Application Event log. This is the first time I have seen these in 6 months+ of having this setup. See attached for the whole event messages: 53395-eventdetails-ms-iis-api-admin.txt. These events were…
How to use UsernamePasswordCredential for Azure identity with an example
How to use UsernamePasswordCredential for Azure identity to acquire token which will be used to call MSGraph and sharepoint APIs in asp.net core? I checked this…
Roles question for situation where a user can login as other users
I am building an application Blazor Serverside) where a user can join, get a membership (Customer) and then fill out information on various pages. The other pathway is that they hire someone to do this for them (Pro) and that someone may ask them to…
![](https://techprofile.blob.core.windows.net/images/-cMQHARdAE--M0ay3o3E7g.png?8D90C1)
UserPrincipal.FindByIdentity fails with System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
The code below works on my development machine when debugging in Visual Studio. The development machine is on a different domain than the staging and production servers but creating the principal context with a username and password seemed to solve the…
MailKit Wont Authenticate when trying to send email via SMTP
I am developing an app that prompts a user to enter input to be emailed from a contact form. Unfortunately I am unable to authenticate the email address I am using (535 code). However, I have unsubscribed and resubscribed the account name and changed the…
Redirect my website internally to an external website
Hello (before I start I should mention I have no way of putting this thread in the DNS forum, I cannot find the forum), I've been trying to do this for a few days with no success and I must be missing a step. My internal domain is abc.com My…
Issue to service
Hi, What is missing, due to error below? The type or namespace name 'MailMessage' could not be found (are you missing a using directive or an assembly reference?)
How to log information in MVC asp.net 3.0 on the controller level rather then wrting the samething on each action.
Hello All, I am using MVC asp.net core 3.1 application. I am implementing the log. I do have some informational logs that log some messages but then I want to log information everything each action is called with the information with controller and…
Spatial data operations
Hello, I have to migrate some routines written in VBNET in WPF environment on AZURE (webapi net core). In these routines spatial operations such as union, intersection, etc. take place. here is an example: Private Sub example(ByVal sender…
Deploy existing ASP.NET Core web app to Azure
I have my capstone project which was created for local use. This project was developed in C# on the .NET Core platform 2.2 with ASP.NET Core web processing, using MVC pattern libraries, Razor dynamic templating, and a SQL database. Now I would like…
![](https://techprofile.blob.core.windows.net/images/yKB9jaK8cUe8hCbN1HJcwQ.png?8D8475)
Can I use asp.net core 3.1 with angualr 11
Can I use asp.net core 3.1 with angualr 11
How to get the client's full computer name in asp.net core
Now I use the web api with asp .net core, and I deployed the server in the linux. I want to get the full computer name about the client while requesting. I have searched many solutions, but can't work. One solution is as follows, I have tested so many…
IIS Reverse Proxy to a subdirectory only and block other paths
I have read several articles and am able to successfully use the reverse proxy server with ARR and URL Rewrite but it gets me to the main landing page of our internal server. This allows logon to the appliance or admin console. Internal Server address is…
How to configrue a host of redirected page that not authorized user will move.
When a not authorized user access manager page, Dotent scheduled to pass the user to the login page. But, In case that i use reverse proxy server and use a custom port, dotnet didn't observe the port. So, dotnet pass the user to a path that was had…
Error on deploying SignalR asp.net core webapplication to IIS
Hi , I created Chat application using SingalR , Asp.net Core. Application is working fine on local . But on deploying application IIS getting error WebSocket connection to 'ws://localhost/chatHub' failed: Error during WebSocket handshake:…
OData - Query requests with two contains doent work
Please find the below query that we are sending from the from fe (react ) when we are trying to search with two text boxes .It doesnt return any result. However an oData query with two dropdowns / onetextbox and one dropdown works/single textbox works…
Which .net core 5 runtime is preferred x86 or x64?
Team, Happy NewYear! On my azure environment, I want to host .net core 5 rest api on this machine Previous generation A-Series On this azure machine(part of my service plan) 4 other services are already running where in 1% CPU +…
Always getting the error parameter as 'undefined' in an onclose event of the SignalR Typescript client.
Hello, I am trying to implement simple chat application using SignalR. For front-end, I am using Angular 10 with Typescript SignalR client. For this client I am using the latest @microsoft/signalr package. While the back-end server is in .Net Core…