Hi
Can you share the "scripts" section of the package.json file under the *.Host project with us?
Hi
The abp-href
uses the .min version of the specified css file. You also need to create the bundles in the *.Host project. In the *.Host project, you need to run the command npm run create-bundles
.
Hi
You can apply the following code in Startup.cs. If you will need the "Microsoft.AspNetCore.SignalR.StackExchangeRedis" package here.
public void ConfigureServices(IServiceCollection services)
{
//...
// Retrieve Redis connection string and database ID from configuration
var redisConnectionString = _appConfiguration["Abp:RedisCache:ConnectionString"];
var redisDatabaseId = _appConfiguration.GetValue<int>("Abp:RedisCache:DatabaseId");
if (!string.IsNullOrWhiteSpace(redisConnectionString))
{
// Configure SignalR to use Redis backplane
services.AddSignalR().AddStackExchangeRedis(options =>
{
options.Configuration = redisConnectionString;
options.InstanceName = "SignalRBackplane"; // Optional: Set a custom instance name for your SignalR hub
options.ConfigurationOptions = new StackExchange.Redis.ConfigurationOptions
{
EndPoints = { redisConnectionString },
DefaultDatabase = redisDatabaseId,
Ssl = true, // Enable SSL for secure connection
AbortOnConnectFail = false
};
});
}
else
{
// Fallback to in-memory SignalR if Redis is not configured
services.AddSignalR();
}
//...
}
Hi
Is Redis active in your project when this situation occurs?
Hi
Here, you can use the "npm run create-dynamic-bundles"
command to create bundles in Angular codes under the *.Host
project in Single Solution along with the Angular project. In a project that is not a Single Solution, you need to create a bundle separately. For Angular, you need to use the "npm create-dynamic-bundles"
command under the angular folder, and for the Host project, you need to use the "npm run create-bundles"
command under the *.Host
project.
As for the order, after installing the node packages, you can create bundle packages for publication, then use the "npm run publish"
command to publish.
Hi daws
Thank you for your feedback. We created an issue for this, you can follow the changes here. Enjoy your work.
Hi pliaspzero
You can follow the instructions in the document here. If you want to deploy the Angular and ASP.NET Core applications as a single website under the same URL, you can copy the compiled Angular files (dist folder) to the wwwroot
folder of your ASP.NET Core MVC project. This way, the Angular frontend and ASP.NET Core backend will be hosted in the same Docker image and accessible through the same URL.
Hi clahey
Can you create a new unique value as the Client value in appsettings.json? Can you change the value you gave in Umbraco application? You can also clear data in related tables. When you run the application, data will be generated according to the client name you added.
Hi
You can follow the documents below for Google Workspace integration. You can use Google social login here. Another option is to use OpenId social login with Google Workspace.
Hi
After logging in with the user who has the plan on the aspnetzero.com website, clicking the manage button under the Account button, you can give permission to the github user you are trying to log in from the Github Members tab on the relevant page.