Skip to content

Commit

Permalink
feat(csproj): added project config
Browse files Browse the repository at this point in the history
  • Loading branch information
zhifenglee-aelf committed Oct 14, 2024
1 parent cc1301f commit 68d3a8a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 22 deletions.
20 changes: 20 additions & 0 deletions AElf.ExceptionHandler.ABP/AElf.ExceptionHandler.ABP.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageType>Dependency</PackageType>
<PackageId>AElf.ExceptionHandler.ABP</PackageId>
<Title>AElf ExceptionHandler ABP</Title>
<Authors>AElf</Authors>
<Description>An ExceptionHandler in AOP in the ABP Framework.</Description>
<PackageTags>aop;abp;module</PackageTags>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RepositoryUrl>https://github.com/AElfProject/AElf.ExceptionHandler.ABP</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/AElfProject/AElf.ExceptionHandler.ABP</PackageProjectUrl>
<RootNamespace>AElf.ExceptionHandler.ABP</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.Core" Version="8.0.5" />
<PackageReference Include="AElf.ExceptionHandler" Version="1.6.0" />
</ItemGroup>

<PropertyGroup>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="" />
<None Include="../LICENSE" Pack="true" PackagePath="" />
</ItemGroup>

</Project>
34 changes: 12 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,30 @@
# Project Name

Brief Project Description
# AElf.ExceptionHandler.ABP

- [About The Project](#about-the-project)
- [Getting Started](#getting-started)
- [Subsection 1](#subsection-1)
- [Examples](#examples)
- [Example 1](#example-1)
- [Contributing](#contributing)
- [License](#license)

## About The Project

Extensive Project Description
An ABP module for Exception handling through the [AElf.ExceptionHandler](https://www.nuget.org/packages/AElf.ExceptionHandler).

ABP version: 8.0.5

## Getting Started

### Subsection 1
Add the following dependency to your project's Module class:

Before installing, you need to install... Run the following command to install it in the current project:
```cs
using AElf.ExceptionHandler;

```sh
dotnet add package Something
[DependsOn(
typeof(AOPExceptionModule)
)]
public class MyTemplateModule : AbpModule
```

## Examples

Description for examples

### Example 1

To create new context, simply run a query like this:

```cs
var context = new Context();
```
This will automatically register the AOPException module and setup your project for AOP Exception Handling.

## Contributing

Expand Down

0 comments on commit 68d3a8a

Please sign in to comment.