Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "oguzhanagir"

Answer

Hi FahrettinOzturk

The error you're encountering happens because Docker is trying to access certain directories on your Mac's file system, specifically /Microsoft/UserSecrets, but it doesn't have permission. To resolve this, you need to share that directory with Docker.

Steps to Fix:

Open Docker Preferences:

  • Click on the Docker icon in the top-right menu bar of your Mac and select "Preferences."

Go to File Sharing Settings:

  • In the Preferences window, navigate to the Resources section on the left, and then click on File Sharing.

Add the Directory:

  • In the File Sharing tab, you'll see a list of directories that Docker is allowed to access.
  • Click the + button, and add the /Microsoft/UserSecrets directory.
  • After adding it, click "Apply & Restart" to save the changes.

Restart Docker:

  • Docker will restart automatically after applying the changes.

Run Your Commands Again:

  • Once Docker restarts, try running your command again:
docker compose -f docker-compose.yml -f docker-compose.override.yml up

These steps should allow Docker to access the necessary directory, and the error should be resolved.

If the issue persists, don’t hesitate to reach out for further assistance.

Hi ibrahim_fakeh

When an entity is generated using a custom menu position in Angular projects, the entity will always be created under "main" due to the module structure

Hi vvijaydeveloper

To perform the database migration, you can set the *.Migrator project as the Startup Project and run it to create the database. The *.Migrator project is also used for other purposes. You can check the details here.

Alternatively, after opening the Package Manager Console, select the *.EntityFrameworkCore project from the Default Project dropdown menu at the top. Then, set the *.Web.Mvc or *.Web.Host project as the Startup Project through the Solution Explorer. You can update the database by entering the following command in the console:

Update-Database

or

Update-Database -Context {{YourProjectName}}DbContext

Hi gerryp

We are now minifying style files in the *Web.Host project. When you open the path to this project in the terminal, you will minify the relevant files using the yarn create-bundles command.

Hi kalidarscope

Can you share with us the details of the Duration class created in other service-proxies.ts, not the Duration class imported by 'luxon'? Thank you.

Hi kalidarscope

By default, we don't use the Duration class in service-proxies.ts. You can remove it from here, or it seems that you have a class with the same name in a different module or in service-proxies.ts. You could consider renaming it to avoid the conflict.

Hi hongbing.wang

In later versions, the setting under the title Only one current login per user on the Host settings page has been added. When you activate it, only one user can log in from one session at that moment, and when a different session is logged in, the open session will be closed.

Related setting

Hi SRTMDEV

Thanks for your return. We were able to reproduce this problem in ui angular. We have created an issue for this, you can follow the changes here. Thanks for your interest.

Hi

You need to update the files in your project here. Make sure you update the files and folders in the previous AspNetZeroRadTool folder. You need to do this manually. And you also need to update the ASP.NET Zero Power Tools extension that you installed as an extension to the latest version. You can do this from the Updates section in the Manage Extensions section under Extensions in the top bar.

Hi @benjamin.edinger

These problems have not been resolved in the AspNetZeroRadTool you use in your project, but these problems have been resolved in the latest version. You can update AspNetZeroRadTool to the latest version if you want.

Showing 81 to 90 of 166 entries