Uncategorized

# ASP.NET Core 6.0 Web REST API Patterns (not minimal api)

GET returns Task<ActionResult<IEnumerable>> Example: GET: api/TodoItems GET without parameter returns a list of objects. Produce a Status 404 if items are not found, by using the NotFound() method GET with ID param returns Task<ActionResult Example: GET: api/TodoItems/5 Mark method with [HttpGet(“{id}”)] to constrain route to match id Produce a Status 404 if item is not …

# ASP.NET Core 6.0 Web REST API Patterns (not minimal api) Read More »

E: The repository ‘http://ppa.launchpad.net/codeblocks-devs/release/ubuntu focal Release’ does not have a Release file.

I’m running Ubuntu 20.04 via WSL on my Windows 11 PC. Today I got this distracting message when I tried to do an apt update Is codeblocks obsolete? Either way. the repo has to go. It took me a while to find the command to remove codeblock repo from my distrubution. Here it is for …

E: The repository ‘http://ppa.launchpad.net/codeblocks-devs/release/ubuntu focal Release’ does not have a Release file. Read More »

ubuntu2004.exe The specified network name is no longer available.

If you are running ubuntu 20.04 on Windows Server using WSL 1 you might get this error if you remove the Ubuntu filesystem folder, but WSL is still registered to a live distribution. To fix, get a list of the registered distributions: wslconfig /l /all Windows Subsystem for Linux Distributions: Ubuntu-20.04 (Default) Unregister this distrubution …

ubuntu2004.exe The specified network name is no longer available. Read More »