Hercules
AutoMapper: Ignoring Nested Property in Mapping Configuration Results in Null Value
I don't have other configurations, nested objects works in other situations.
I suspect that since my request is not taking any value for apikey it reevaluates it as null even when im trying to ignore it?
5 replies
✅ New to Blazor and EF. Need some tips.
dotnet ef dbcontext scaffold "<your existing db connection string>" Microsoft.EntityFrameworkCore.SqlServer -o Models
make sure you have
Microsoft.EntityFrameworkCore.Tools.DotNet (2.0.3 or latest) in your project.
7 replies
❔ WPF derived combo box doesn't show up in namespace
i recommend that your read more about System.Windows.Controls.ComboBox and its examples and usage.
https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.combobox?view=windowsdesktop-7.0
20 replies
✅ Blazor or Razor pages
Blazor is built on Razor. working with blazor you'll be writing in razor syntax. 🙂
Razor: syntax for creating dynamic web pages in ASP.NET.
Used for server-side rendering of web pages.
Embeds C# code into HTML templates.
Primarily used with ASP.NET MVC and Razor Pages.
Blazor: is a web framework for building interactive web applications.
Supports both server-side (Blazor Server) and client-side (Blazor WebAssembly) hosting models.
Uses Razor syntax for defining components and UI.
Enables building Single Page Applications (SPAs).
All in one, Razor is primarily for server-side web page rendering, while Blazor is a full-fledged web application framework that can be used both on the server and in the client's web browser, enabling dynamic and interactive web applications.
9 replies
❔ I need help making my code threadsafe that uses Selenium webdriver.
@Deno This i a great question, the reason why i belive this is mostly due to th errors I have recieved.
line 260 is the last on the last line of my parallel.foreach loop. I belive the threads are targeting the same port and causing this.
8 replies
❔ Do I need to take any extra steps to install a Windows service with Parallel.ForEach?
Thanks for the input. There has been massive update on the code base.
The point is to navigate to multiple urls and wait for them to load front-end and back-end wise with selenum webdriver (chromedriver used).
Since this need to be updated frequently i decided to use multi threading.
Code looks like now https://pastebin.com/zCnEPLqR
Feel free to look into it all input are welcome.
I right now have problems deploying it as windows service locally I keep getting timeouts in my event viewer:
The MyService1 service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.
A timeout was reached (30000 milliseconds) while waiting for the MyService1 service to connect.
44 replies
✅ I get dotnet.exe' has exited with code 4294967295 (0xffffffff). When im try to run my WASM project
I have tried to restart the computer but you're actually very right and i very much agree that i need to be able to reproduce the problem. I read on a msdn forum some day ago while resting that an windows update can fix it and this morning i simply checked for updates found one and now everything checks out. I feel bad now that i can't give back to the community what the real issue was or what the solution would be.
25 replies
❔ My web api works fine when i run it from VS but i can't publish it?
Haha. next wild thing is to run the image in a container. I really hope will be enough.
@Becquerel and @jcotton42 I like to thank you for actually giving me deeper context on understanding how docker works.
49 replies