C
C#thekevinator1616

ā” C# MVC - Erroring in VSC not VS2022

I'm writing a C# .Net Core 7.0 web application with dapper for my SQL queries. It runs just fine in VS2022. I'm seeing the 2 launchsettings for both are different and VSCode. I'm unsure even where to begin with figuring out what I need to change. I've also tried googling the issue but I'm a bit stuck. Hoping to get some assistance šŸ™‚
T
thekevinator1616ā€¢384d ago
T
thekevinator1616ā€¢384d ago
T
thekevinator1616ā€¢384d ago
No errors displaying either VS2022 or VSCode. I'm completely at a loss. I'm trying to put a breakpoint as the db & return.db sections to review but so far... nothing is standing out in VSCode
J
Jayyā€¢384d ago
Where have you set your connection string
T
thekevinator1616ā€¢384d ago
appsettings.Development
A
Accordā€¢383d ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
String Contain issueSo im trying to get a word in a string using Contain but its not getting the word, I havent found a ā” Catching Exceptions with generic parameters?When adding an entity to the database, i first check if it already exists and if it does I throw an ā” How should I learn programming?I'm sure this is a common question, but I want to learn game development but am a pretty new C# progā” How to properly structure projects in a multi-app MVVM solution?I tend to structure my MVVM projects in the following way: ``` . ā”œā”€ā”€ src/ ā”‚ ā”œā”€ā”€ Applications/ ā”‚ Sending File and Data to a Minimal API endpointHi. I am using .NET 7, Minimal API and Mailkit. What I want to do is to send an attachment along wiā” reprotucing the kings pathcan anybody help me fix this code https://paste.mod.gg/sgsvrbaqnmpi/0 ``` the input is number of obsā” Its there a way to fix this?Hi there, currently I am trying to develop some functions to publish them to azure later, but right āœ… Does this styling code look right?I'm using this code for a simple hover effect. Im wondering if I'm doing this correctly: <Window.Reā” ?[] operator for dictionariesIs not working. It is explained here. https://learn.microsoft.com/en-us/dotnet/csharp/language-referā” IAsyncEnumerable vs List<T> as parameter in methodI have a method that is overloaded and will take in a List<T> or IAsyncEnumerable. The method will bā” This code is bugged how can i solve it?```LogiwaEntities1 db = new LogiwaEntities1(); ProductData productData = new ProductDataāœ… How to add hover effect to WPF button elementThis code I'm using isn't working. When I hover over buttons its a lightblue color. <Style with or without refso i learned that in c#(or most oop languages) when you create a method that takes an object as a paāœ… .net trying to find non-existent cs files`Error IDE1100 Error reading content of source file 'D:\Dev\C++\Test\TestCS\obj\Debug\net6.0\.