Results for asp.net
I am writing an application. I write .net for the backend and Angular for the frontend. When dockering, I put my frontend application inside nginx. Do...
I'm trying to move my object between two buckets. I execute a CopyRequest, then a DeleteRequest. But when I'm trying to copy the object, I get the fol...
I have a dataframe df containing net exports between any two countries in column From and To respectively. df.to_dict() returns {'From': {0: 'A', 1: '...
I can build a simple REST API endpoint with ASP.NET Core: $ rm -rf PPP && mkdir PPP && cd PPP # $ dotnet new web 1>/dev/null $ dotnet run Building......
I have a pandas dataframe df1 as shown below: It shows exports volume from A to B, B to A and A to C in three rows. Trade is possible in both directio...
I have started a new Blazor project with the new .NET 8 auto setup. I am trying to place a Web API controller in my server project and use my ASP.NET ...
Using Shell navigation in dotNET MAUI, what is the best (most reliable) way to ensure that page transitions are always animating and doing this as smo...
I am learning about custom validation attributes and created a straight forward example for myself but it doesn't seem to work. What am I missing? Her...
I decided to switch my project from .NET6 to .NE 8. My project database is SQL Server 2016. At first everything was going well, but I ran into a bug: ...
I am new to ASP.NET MVC and working on the form validation. I am stuck with a group checkboxes validation. Basically, I am trying to make the user sel...
I need to use VBScript to insert an "and" into a string before the last item in a comma-separated list. strList = "512, 66, 1820, 1235, 7, 4918" needs...
I would like to use Ocelot API Gateway to connect services, but if the primary host is unavailable it needs to redirect to secondary host. For example...
The performance is not up to mark when serializing/deserializing a big JSON file (~3 MB). We are using Microsoft JSON serialization. Is there any othe...
Could someone please show me how I register the following Factory in .NET 8?: public class DefaultViewFactory : IViewFactory { private readonly IS...
I'm currently experimenting with .NET Aspire. According to docs, Aspire is used to streamline connections and communication between services in applic...
# Build runtime image FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-windowsservercore-ltsc2022 WORKDIR /App #mount a volume to folder App ENTRYPOINT ["do...
I'm creating a multiplatform MAUI application for Windows and Mac platforms. I've updated project to .NET 8 recently and I'm having some issues with b...
I am currently using this method in different view with no error, yet it is now giving error in a new view- System.NullReferenceException: 'Object re...
as I am creating an elearning web application with frontend in React and backend in .NET Core 7.0 I have stumbled upon a difficult topic for me. Assum...
I am new to Asp.net and am facing the problem that when I populate the enum as a list, it sets a default value and doesn't show the first option from ...
My goal is to build the ASP.NET Core source code so I can add relevant projects and debug them locally. I've cloned https://github.com/dotnet/aspnetco...
I'd like to have controllers with default Route URLs and HTTP method generated by custom code and not require any HttpPost|Get|etc attributes (route a...
In XAMARIN FORMS I used a custom renderer to change the background color of a selected item in a ListView and the default background color, but I was ...
I am trying to display image in a collection view. Image is saved to the Applicationdatadirectory using MediaPicker.Default.CapturePhotoAsync(); Once ...
Good day everyone I'm trying to use a button click on the weather app, but it seems it's not working when it is set to StreamRendering But the button ...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?