Which is better to use, DbContext.Add() or DbSet.Add()?
Hi, If you allow, I would like to ask a question. In CRUD operations, we can add to the database in two ways: DbContext.Add(object) and DbSet.Add(object). Which one is more correct to use? public class Context : DbContext { public DbSet<Category>…
await builder.StartAsync(); vs await builder.RunConsoleAsync
Hi, In worker service in NET 8 when to use: await builder.StartAsync(); and when await builder.RunConsoleAsync Thanks,
Ubuntu Virtual Machine + DNS Zone = Custom Domain Will Not Resolve
I have an Ubuntu virtual machine running with Apache. HTTP & HTTPS ports are enabled. I also created an Azure DNS Zone and updated my domain provider with the Azure nameservers from my DNS Zone. I updated the DNS Zone with the appropriate records to…
I am unable to create a VM
I keep getting the error: Validation failed for the following tab: Networking. Required information is missing or not valid. The the error points to virtual Network Field cannot be empty.
Show form from thread
Hello, How can I call / invoke this code from inside thread? Using F As New blahForm F.Text = "xyz" F.Tag = "abc" F.ShowDialog(Me) End Using I think Invoke(Sub() ...) is single line command? If InvokeRequired then... Thanks :)
Do we have any option to deploy ARO cluster with OpenShift version via Azure CLI ?
Hi, While deploying ARO cluster, do we have any option for selecting Openshift version via Azure CLI ? By default, it's getting created with 4.12.25 version and we are upgrading this to latest version after the deployment. Instead of that, we want to…
Opening app from app
Hello, I want to open app from other app. Function should work in this way If app is found as installed, open the app, but if app isnt found open it's page in Windows Store I use such code: private async void btnOpenApp_Click(object sender,…
Azure ARC extended security update
I have created and activated extended security update license in azure arc with 200 physical cores for datacenter edition. now my query is what if i link servers that having more than 200 physical cores to that activated license where i activated only…
Azure Site Recovery Hyper V Cluster to Hyper V Cluster
Is there documentation and the ability to use ASR to replicate and failover from an onsite hyper v cluster to another hyper v onsite cluster?
Towards upgrading SQL 2014 to 2019
We are brim of making upgrading Windows Server as well as SQL Server. Currently we are having SQL 2014 RTM, Enterprise Edition in Windows Server 2012 R2 We purchased license for SQL 2022, Enterprise Edition and on process of purchasing license for…
How to redo completed modules
The first time you go through a learning module, you get the start button and nice next / previous navigation with the knowledge check at the end. BUT - when you want to revise it and re-do the learning for an exam, you still have next/previous but…
CA1416 Warning after upgrading from .NET Framework 4.8 to .NET 8 with Windows Forms
Hello, I recently upgraded my project from .NET Framework 4.8 to .NET 8 and I’m using Windows Forms. Although I’m not getting any errors, I’m seeing some warnings that I would like to resolve. One of the warnings is CA1416, which indicates that…
failed to login into the exam because of network issues how do l get a reschedule
i could not reschedule my az900 exam because of network issues what do l do.and im past the exam time
Clicking on User's profile results in profile not found page
Good afternoon, When I click on user's profile, I get profile not found page instead of that user's profile. Also I was getting 500 error today a few times.
How to remove system generated outlook email address?
Long ago, I used my gmail address to sign up for Microsoft account, and the system generated an outlook email address (outlook_A#############@outlook.com), per blow screenshot. Later on, I added an alias MyPersonalEmail####@outlook.com, which is used to…
How to save individual files per JSON array
I am writing my own API to talk to CyberArk's API. I have one part complete where it imports a text file containing a list of safes per each line. Example: "safeListFromCyberArk.txt" PasswordManager Test002 Test003 The method opens the…
Transferring an alias from one personal account to another personal account
I have removed an alias (****@outlook.com) from one personal account yesterday, it has been more than 24 hours, when I try to add it to another personal account, it shows that "This email address is already taken. Please try another."
URL Rewrite rule not working Http to Https Redirect IIS 10 - Asp.Net Framework 4.8 - aspx - Web Forms
Using URL rewrite module 2.1 in IIS 10 is not working as expected. Here is my requirement I have several web applications running under "Default Web Site". One of them is "WebAppDemo" The Default Web Site has bindings as in the…
Migrate Azure Storage from LRS to ZRS
Hello, may I know the reason why I cannot migrate Azure Storage Account from LRS to ZRS. We are in West Europe and some of our Storage have no issues migrating from LRS to ZRS on the same region which is West Europe. The last time I changed the…
Troubleshooting Non-functioning Mouse Cursor on Laptop
My laptop's mouse cursor is not showing up. I have tried connecting a wired mouse to check if the issue is with the touchpad. However, even the wired mouse is not working. The problem is temporarily solved upon restarting the PC, but it comes back after…