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;
The only difference for ABP is, there are commercial packages which are hosted on https://nuget.abp.io
.
ABP NuGet package source is written in your NuGet.Config
file (at the root directory of the solution).
Remove the package SourceLink.Create.CommandLine
and try again.
Hi,
As stated here https://github.com/dotnet/sourcelink#using-source-link-in-net-projects
You need to change the package reference regarding the hosting provider.
If you're using Azure DevOps, you can replace the package reference SourceLink.Create.CommandLine
to Microsoft.SourceLink.AzureDevOpsServer.Git
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.AzureDevOpsServer.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
See the other providers usage:
github.com and GitHub Enterprise
For projects hosted by GitHub or GitHub Enterprise reference Microsoft.SourceLink.GitHub like so:
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
Azure Repos (former Visual Studio Team Services)
For projects hosted by Azure Repos in git repositories reference Microsoft.SourceLink.AzureRepos.Git:
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.AzureRepos.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
Azure DevOps Server (former Team Foundation Server)
For projects hosted by on-prem Azure DevOps Server in git repositories reference Microsoft.SourceLink.AzureDevOpsServer.Git and add host configuration like so:
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.AzureDevOpsServer.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
If your server is configurated with non-empty IIS Virtual Directory, specify this directory in SourceLinkAzureDevOpsServerGitHost item like so:
<ItemGroup>
<SourceLinkAzureDevOpsServerGitHost Include="server-name" VirtualDirectory="tfs"/>
</ItemGroup>
The Include attribute specifies the domain and optionally the port of the server (e.g. server-name or server-name:8080).
GitLab
For projects hosted by GitLab reference Microsoft.SourceLink.GitLab package:
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitLab" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
Bitbucket
For projects in git repositories hosted on Bitbucket.org or hosted on an on-prem Bitbucket server reference Microsoft.SourceLink.Bitbucket.Git package:
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.Bitbucket.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
If your project is hosted by Bitbucket Server or Bitbucket Data Center older than version 4.7 you must specify SourceLinkBitbucketGitHost item group in addition to the package reference:
<ItemGroup>
<SourceLinkBitbucketGitHost Include="bitbucket.yourdomain.com" Version="4.5"/>
</ItemGroup>
The item group SourceLinkBitbucketGitHost specifies the domain of the Bitbucket host and the version of Bitbucket. The version is important since URL format for accessing files changes with version 4.7. By default Source Link assumes new format (version 4.7+).