How to handle default margin in asp.net MVC
I am working on an MVC project. when trying to add a cover poster to the page, getting some margin in two sides. I tried several codes to get the image in full width, but it doesn't work. what I…
I am working on an MVC project. when trying to add a cover poster to the page, getting some margin in two sides. I tried several codes to get the image in full width, but it doesn't work. what I…
I'm trying to search for records in my VSC database through the SQL connection string and display records based on the user's input. I seem to be hitting a wall with the tutorials I've found on how to get things…
I have a Database Schema like this. I am working on gettingDetailByPostID API which needs to return 1 Object as follows. Guid PostId; Guid UserId; String? Username; String? MediaPath; int Likes; // count the number of likes of the post…
I have the following code: var keyValuePairs = JsonSerializer.Deserialize<Dictionary<string, object>>(jsonbytes); var claims = keyValuePairs.Select(kvp => new Claim(kvp.Key, kvp.Value.ToString())); As you can see my ide shows me a Nullable warning. I know that I have to check if a variable is…
I already have a function app with several functions deployed through devops pipeline. I want to implement deployment slots to my current environment so that we can have better availability. Followed this document from Microsoft https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-slots After creating deployment slot.…
I have been trying to upload multiple pictures to a SQL Server database by using Entity Framework. I have successfully uploaded one picture to the database before but I need to upload multiple pictures one time. I tried to take…
Steps to reproduce: Install a version of Visual Studio (I used VS Community 2022). Install OpenCASCADE 7.6.0. Create a C++ .NET CLR project using Visual Studio 2022 targeting .net6.0. Change settings to include OpenCASCADE header and library files. Edit the…
Every time I run code analysis in C++ project I receive __float128 is not supported on this target Is any possibility to turn off those kind of clang errors? I have been searching answer for hours, but could not find…
I have this rounding where I am trying to round the decimal price so that the decimals always round to either .00 or .05 (using this rule .00,.01,.02,.03,.04 = .00 and .05,.06,.07,.08,.09 = .05) - but right now with the…
I have run into a wxGetKeyState() issue with Wayland. Let me explain: In some of my apps, I add a test for the Shift key being pressed in the ctor of my app’s top wxFrame window. If the Shift key…