Hi,
For module project, try:
public class MyProjectNameBlazorHostBundleContributor : IBundleContributor
{
public void AddScripts(BundleContext context)
{
}
public void AddStyles(BundleContext context)
{
context.Add("main.css", true);
}
}
Open appsettings.json
and add the following:
"AbpCli": {
"Bundle": {
"Mode": "BundleAndMinify", /* Options: None, Bundle, BundleAndMinify */
"Name": "global",
"Parameters": {
"LeptonTheme.Style": "Style1", /* Options: Style1, Style2... Style6 */
"LeptonTheme.ChangeStyleDynamically": "true"
}
}
}
Then run abp bundle
command in the Blazor.Host
folder to update resource references.
Hi,
I think you can manually create a new uow: https://docs.abp.io/en/abp/latest/Unit-Of-Work#begin-a-new-unit-of-work
Hi,
See: https://github.com/abpframework/abp/pull/9117
For now, you can create MyAwsBlobNamingNormalizer
to replace the AwsBlobNamingNormalizer
Hi,
See https://docs.abp.io/en/abp/latest/Blob-Storing-Aws#configuration
try:
options.Containers.ConfigureDefault(container =>
{
container.UseAws(Aws =>
{
//...
Aws.CreateContainerIfNotExists = true;
});
});
Hi,
try:
abp.ajax.ajaxSendHandler = function (event, request, settings) {
if (!isLocal(settings.url))
{
return;
}
var token = abp.security.antiForgery.getToken();
if (!token) {
return;
}
if (!settings.headers || settings.headers[abp.security.antiForgery.tokenHeaderName] === undefined) {
request.setRequestHeader(abp.security.antiForgery.tokenHeaderName, token);
}
}
function isLocal(url){
return url.indexOf(location.host)>=0;
}
Hi,
Join the metting https://zoom.us/j/96714742145?pwd=NjZjbUhkaVZjcFphVmtuWUFiVThDdz09