there's no way to use CrudService without an IEntity
derivation.
you need to make paging sorting filtering manually
This shows how you can add a menu item
Add this to App.component
import { AddRoute } from '@abp/ng.core';
import { Store } from '@ngxs/store';
// ...
constructor(private store: Store){}
ngOnInit() {
this.store.dispatch([
new AddRoute({
name: 'Your Custom Page',
path: 'your-path',
parentName: 'AbpUiNavigation::Menu:Administration',
order: 0,
}),
new AddRoute({
name: 'Child 1',
path: '',
parentName: 'Your Custom Page',
order: 1,
}),
new AddRoute({
name: 'Child 2',
path: 'child',
parentName: 'Your Custom Page',
order: 2,
})
]);
}
don't use CrudAppService if you don't have an entity. you need to create normal AppService
public class MyAppService : ApplicationService, IMyAppService
{
public async Task DoWorkAsync(DoWorkInput input)
{
await _yourWebService.DoWorkAsync(input.myValue);
}
}
to update your solution, go to your .sln directory and run the below command
abp update
You don't have MyProjectWebModule.cs
, you must have XXXWebModule.cs
where XXX
is your project name.
Good to hear it passes somehow. I'm creating an internal issue about this problem. By the way SourceLink doesn't affect any functionality in your project. It's just a way to debug your live project. As long as you don't debug your project while it's running on production, it's better to cut off this package reference.
To the ABP Team => Track from 1484
I mean remove all SourceLink facilities (Microsoft.SourceLink.AzureRepos.Git
as well).
We're trying to understand if there's an issue about SourceLink or something different .
Hi,
You can create your own CSS file and add it as a global style:
In your MyProjectWebModule.cs
public override void ConfigureServices(ServiceConfigurationContext context) {
//...
//ADD MY CUSTOM CSS AS GLOBAL STYLE : app.css
Configure<AbpBundlingOptions> (options => {
options
.StyleBundles
.Get(StandardBundles.Styles.Global)
.AddFiles("/Pages/app.css");
})
//...
}
Also see;