Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

zhnu

Member
  • Content Count

    347
  • Joined

  • Last visited

Awards

This user doesn't have any awards

1 Follower

About zhnu

  • Title
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. If it's a new application you can use "ASP.NET Core Razor Pages". That's what recommended for newer projects.
  2. FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env <- This fetches from docker hub the base image and because it is marked as "AS build-env" it can be used later as it was an image WORKDIR /app <- This makes it so all the rest of the commands will run with a base path inside the container /app # Copy csproj and restore as distinct layers COPY *.csproj ./ -> So because of previous line it will copy every file on the Dockerfile location with the extension ".csproj" to the /app dir inside the docker container RUN dotnet restore -> Runs the command "dotnet restore" inside the do
  3. Just use the guide, they even have a repo with a sample project: https://docs.docker.com/engine/examples/dotnetcore/
  4. Both Docker and Microsoft have documentation regarding this, if you can run your docker on windows it won't be a problem on linux. Just be careful with file paths.
  5. Basic sockets it's a way of communicating not the topology. That's why I mentioned the type of game because there are some good middlewares out there that do a lot of the heavy lifting for you.
  6. That you may want to google "user stories".
  7. If I had to guess you didn't follow the documentation? https://github.com/octalmage/robotjs
  8. This should do it. add_header Access-Control-Allow-Origin *; But you should read before using it: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
  9. You can use DIA for diagrams but yeah visio is preferred. Netcode depends on the type of game and on the engine you're going to run it on. For example fighting games use a very different logic that from FPS, there're already some solutions out there I would not try to reinvent the wheel.
  10. I have a nuc I toss around in the bag if I need more humph I carry a dan-a4 in a padded bag, but I understand that accidents can and will happen you can always use a pelican case for carrying but that starts to make less monetary sense than a second license.
  11. That was not the initial post intent you talked about 25 miles of daily commute between home and office. There are solutions for that problem also but usually isn't comparable terms of cost.
  12. Why not make one of the desktops portable? Isn't that easier than relying on an VM without a proper GPU pass-trough. You can use a DAN-A4, or something of a similar form-factor.
  13. Yes, it's called git flow for merging features etc, and has for keeping just binaries and "presentation layer" depends on project type but you can usually get around this by using some kind of repository manager (sonatype nexus for example), where other projects can fetch dependencies from there. Made a simplified diagram:
  14. You're converting to int so 00:01:01 would give you an LoggedTime 101. Also you should never save dates on a DB without timezone, also databases usually have their own time functions you should use that.
  15. https://stackoverflow.com/questions/51007632/how-to-monitor-usb-devices-insertion
×