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
Can you try run the yarn & gulp
command in the .MVC
folder.
Hi,
See https://github.com/abpio/abp-commercial-docs/pull/120
Open <YourProjectName>BundleContributor.cs
and replace context.Add("main.css");
to 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": "Style6", /* Options: Style1, Style2... Style6 */
"LeptonTheme.ChangeStyleDynamically": "true"
}
}
}
Then run abp bundle
command in the blazor
folder to update resource references.
Hi,
I don't actually understand your project structure, can you share some code? thanks.
Hi,
It looks like your module A depends on module B, Maybe you can consider using event publishing instead of coupling the two modules
Hi,
You can create a network shared folder.
example:
Configure<AbpBlobStoringOptions>(options =>
{
options.Containers.ConfigureDefault(container =>
{
container.UseFileSystem(fileSystem =>
{
fileSystem.BasePath = "@"\\server\\shared\\my-files";
});
});
});
Hi,
Sorry, I can't get useful infomatrion, so I don't know way it didn't work for you. can you open a new question to discuss? thanks.