Content
Aes.Create() crashing on Windows Server 2022
Has anyone encounter problems with Aes.Create() throwing an exception "Exception has been thrown by the target of an invocation". I just migrated to a new server with Windows Server 2022 on it and all of a sudden I am getting this error…
Creating similar screen in ASP.NET
Hi, I would like to create something similar to this in ASP.NET: Which is the best way to do it? Thanks


X509Certificate Client Authentication
Hello guys, I have the following code that was working perfectly fine for 3 years already. ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 …


Paginated List not displaying second page
The below works to display the first page containing 3 records of 6 of a paginated list but when you click on the "Next" button, it has the following result: [https://localhost:7045/PropertySet01?pageNumber=2 This localhost page can’t be…


How to create environments with appSettings?
In previous projects i could click the Configuration or Debug menu (in the top bar) and set a new Configuration. This was displayed when i expanded web.config and i could use this to change environments to use different database connection strings…


[MacOS] Console Application - Issue recognizing the file Path
Dear community, I have this issue: I deployed a console application (C# - Visual Studio - Unix Executable File). As you will see in the following screenshots, the issue is that running by double-click or using the full path doesn't allow the Terminal to…


How to send adaptive card templates with Graph API ?
Hi. I am trying to send adaptive card to a chat with graph api and i am using .net core web api. I want to try with different adaptive card. This question…


In Samsung S22 on clicking the camera got rotated automatically in xamarin forms shell application
In Xamarin forms shell application when user adds takes photo or document clicks on camera the camera in Samsung S22 was rotated automatically. This is seen only in Samsung S22. As i tested in Samsung S20 Ultra as well i was working fine in…


How to query the device twin graph using the built-in `LastUpdatedOn` property from the BasicDigitalTwin?
The BasicDigitalTwin holds a built-in property LastUpdatedOn. As a developer, I want to run a query to find all the stale or fresh twins, example: SELECT * FROM DIGITALTWINS WHERE LastUpdatedOn > '{yesterday}' This query is syntactically correct but…


Unable to find Azure App service after deploy
After deploying my app and creating an app service through Visual Studio 2022 I am unable to find and delete my App Service. it is connected through the publish profile, which is the only location where I can access my app service: going into Azure, my…


Getting lots of Task Canceled Exception while calling .net API from .net 6 WebApp
System.Threading.Tasks.TaskCanceledException: at System.Net.Http.HttpClient.HandleFailure (System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at…


Timespan.FromHours(24) not working after publish application on Azure app service
Hi i hi have one small simple application which logs the information. So I have one basic application which is using System.Threading.Timer and setup timer to run my function once a day and create logs. Ex. _timer = new Timer(callbackAsync, null,…


asp.net setup doubts
Hello We Have developed one small web application which has aspx page and cs file c# as a code behind. We use database as sql express 2008 R2 Microsoft SQL Server Express Edition with Advanced Services ( sql server management studio …


Add-Migration CreateIdentitySchema (2)
The tutorial below deals with authentication. One context is created when the project is first created at projectname.data.ApplicationDbContext; a second context is created later in the tutorial when scaffolding identity at…


IEnum object True for All
Hi friends, I wonder if there is a way to use TrueForAll for IEnumerable<OrderDetail>? I am trying to check if all of the status = 1 or not. How can I check if all statuses in details are 1 or not? Thank you. var details =…


c# asp.net send form mail
string adSoyad = txtAdSoyad.Text; string konu = "Koçaslanlar Web Konu başlığı"; string epostaAdresi = txtMail.Text; string mesaji = txtMessage.Text; string ipAdresi =…


How to add activity source to tracer provider dynamically for a single service?
In the blog here, https://learn.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs , Its mentioned in the best practices for ActivitySource to consider creating a new one for each library rather than using a…


Access the odbc server outside the system
I have a application that is running locally on odbc server in my system localhost. How do i access it outside the system and over there internet.


I changed the startup form but not applied in visual studio 2022
Hi, I changed the startup form but not applied in visual studio 2022, also any other changes I make doesn't take place although there is no errors in the error list, please help
How to access menu control reference from Master page - home_master.Master
Hello, I have a master page known as home_master.Master which has Menu Control. Now I want to handle Menu control dynamically through another aspx page (Non Master Page) which is located in Sub-folder i.e Admin. My intent is to create a Content…

