Results for asp.net-core
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...
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 ...
I am attempting to create a .NET 6 application that uses interprocess communication (IPC) via named pipes using System.IO.Pipes, and have a C applicat...
I created a program to add a text on an image with a custom font "Lucida Calligraphy". I have added the font file into my solution folder. However, at...
I was following the next video to add support for EF with PostgreSQL: https://www.youtube.com/watch?v=pRxG9ORD7Hk Yet, I got the next results while tr...
I'm testing migrating a .NET 6.0 application to .NET 8.0, and the following piece of code now throws CA1863 "Use 'CompositeFormat'". But I don't know ...
Rebinding the Dropdown ListBox with the Checkbox ticked for the selected values fro mthe collection of another DataTable div class="t-col t-col-xs-4 t...
I am trying to implement a websocket server using x/net/websocket standard library. My attempt so far looks like this: package main import ( "fmt...
In my desktop form there are many control. I want to change back color of that active control on Focus & back to its Original color once it lost focus...
I use JWT for my project authentication. I used .NET 7 and the code shown here works for me correctly. This code is used for checking if a token exist...
I'm creating an ASP.NET MVC project with Entity Framework I have 2 models: ModelA (string name, ICollection list) ModelB (int days) Is there any way...
I'm trying to Concatenate value of 2 columns datatable with space and replace "-" with empty in vb.net. I have the code below, but this is still wrong...
I'm migrating my ASP.NET Core website to .NET Blazor Web App with static render. I've encountered problems with embeding external js script into blazo...
I am following the migration guide for migrating Azure Functions app to run in an isolated worker process in .Net 8 . However when I run the applicati...
I experimenting with.net 8 aspire currently. I am following Microsoft documentation. I did a simple project with Backend api, frontend, and Redis cach...
Since .NET version something we now have an implicit cast from string -> ReadOnlySpan. This means that if a function accepts a ReadOnlySpan, we can ju...
Let's say I defined a partial class on each platform, which defines an "initialize" method, and I call that method from my shared context. I defined t...
I'm creating a new webapi with NET8 and ASP.NET. In my previous projects with NET6 or NET7, I can write services.AddApiVersioning(options => { opt...
In Blazor Server in .net 7 I can do this in a Page.blazor: @message Send Message @code { public string message { get; set; } private async Task SendMe...
When I open page with id in link I have error in browser. I have an assumption that in this way it refers to some kind of endpoint, but I don’t unders...
I am playing with .NET 8 new Aspire feature. I am using Redis cache following this example from Microsoft on an application with Razor pages. and I us...
I have a partial code like this: CollectionView ItemsSource="{Binding Country}" SelectionMode="None"> CollectionView.ItemTemplate> DataTe...
I have an image like this: I have a partial code like this: CollectionView ItemsSource="{Binding Country}" SelectionMode="None"> CollectionView.I...
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?