โ How to debug a visual studio extension?
The project is open on a new VS "Ext" intstance but no breakpoint get hit
my MVC view thinks my model is null!
I wanted to load backend data (MariaDB via Rider) onto my browser as part of developing my simple ASP.NET Core web app.
The problem now is that the browser does not display the backend data (it thinks my model got null data, as per screenshot)
If I check the data table and columns etc I see it is not null;
```mysql> SELECT * FROM ListingDBTable;
+----+---------------------+------------------------------+------------+------------+...
WPF login system
Hey all! hope everyone's doing well. I wanted a bit of help on a PRS system that I'm developing for a personal project. I want to make a login system for it using JSON but i've never actually read/wrote to a json file. im using the Nuget library as i've been told it would be best for me so i'm sort of just going with that. could someone help me on how to read from the json file and where exactly to start with the verification of it. my code and window has been attached below as screenshots. woul...
MVVM should model items have INotify?
Very basic question but I am conflicted.
I have a viewmodel
```csharp
public partial class HsSelectedItemViewModel : BaseViewModel
{...
โ How to create C# project in Visual Studio Code?
I want to create my first C# project in Visual Studio Code (because JetBrains IDE costs money), and I don't understand how to create and run projects in VS Code.
And yes I did install the dev kit....
c#?ยฅ beginnee
i meed to make a gameboard for myg ame, jtll be 115x15 spaces andnim guessing imm have to make thisva rect, but how woudl i make rhe gamevkard? a 2D array or are tbere otber ways? also i wwant to make the textures for the grid (all 15c15) of them dit into the recrangel how would i do that
User Secrets in Blazor Web Assembly
I have a Blazor Web Assembly app that can connect to a production API on the web or a development API on the local machine. The Program.cs file looks like this:
...
builder.Services.AddHttpClient<IClient, Client>(x => new Client("https://www.productionapi.com", x));
//builder.Services.AddHttpClient<IClient, Client>(x => new Client("https://localhost:1234", x));
builder.Services.AddHttpClient<IClient, Client>(x => new Client("https://www.productionapi.com", x));
//builder.Services.AddHttpClient<IClient, Client>(x => new Client("https://localhost:1234", x));
EFCore - When to save changes
I have an application that uses EFCore.
In this application, I have a method that gets some values from the database, and may or may not change them based on some conditions.
How should I handle the saving of changes in this scenario?
I've thought of a few solutions:...
โ Azure Key vault - what is considered a transaction?
Hello,
I am using Azure vault to load configuration values, just like from
appsettings
. What happens if I have 10 secrets in the vault, each needed by different services. Will .NET load them in one transaction, or is it done individually one by one?
The package is from Microsoft: https://www.nuget.org/packages/Azure.Extensions.AspNetCore.Configuration.Secrets...โ Scanning PDFs using ASP.NET
So in my current project im using iTextSharp to scan PDFs for text; But also something called "Tesseract" to scan images for Text; Then im filtering the text to get the information i am looking for.
Figured a good way to go about this is using ReGex. The PDF/images in question are Invoices.
Could use some tips to get the correct information....
ASP.NET CORE MVC VS ASP.NET CORE WEB API
For someone who has has been learning React for a while, would you recommend I skip the MVC and focus solely on the Web apis, or should I still learn the fundamentals of MVC?
Slow WCF requests
Hi, so I've generated a bunch of WCF request clients for ONVIF from WSDLs using svcutil and all the requests are extremely slow. It takes 1 second to get the 401, and then another second to get the result with Digest auth included. Not sure which details y'all need so I' m just gonna post this and wait for questions.
Using Azure ADB2C, new user claim is being sent on every sign in
I am trying to use azure ad b2c for user signup and signin. And after signup, I want to use the newUser claim to add the user email to queue storage for one of my azure functions to do a task around it. I am using ASP.NET as a web application for this.
The problem is that azure ad b2c is caching the token in the browser. So, whenever I sign in, it is not sending a refreshed token. So, the newuser claim is being sent until I logout and login again. I wanted to manually check if the user is in database using microsoft graphs but the catch with this one is, by the time I am checking, the user is already in the users list....
Sudden compiling errors
Suddenly when I went to "publish" a new version of an application I help develop, I started getting all these POSTSHARP errors. However after I got these errors, another contributor to the project did a fresh clone of the github repo and was able to compile it perfectly fine, and github actions also compile it fine. Why am I the only one getting these errors and how do I solve them?
razor page says the number 2 is invalid
I'm new to coding in general and I'm trying to take a numeric from a form and bind it, but whenever I try to enter a number into the form, the debugger says the value is invalid and it got converted to an empty string.I can't figure out why it's doing that. What am I missing?
โ need help in c#
Severity Code Description Project File Line Suppression State Details
Error 'Could not load type 'System.ComponentModel.Design.IServiceContainer' from assembly 'System.ComponentModel.TypeConverter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.' DocReader E:\Acrobat-SDK\smartcite-win-app\DocReader\PDF_Viewer\LC
please fix this error...
please fix this error...
Bonus
https://github.com/owill8/ITP--136/blob/master/week%207%20project/Program.cs
Would my code follow these rules:
Use a For Loop to loop through your code based on the number of bags entered(in method).
Use a While Loop to loop through your code based on the number of seats entered(in method)....
Garbage collector
Hello, please tell me, who knows about the "garbage collector" in C#, how to search for garbage leaks in a C# program, are there any tools for viewing references to an object in the heap, because of which the "garbage collector" does not reach and does not remove them.