This producetool is used for four items:
git clone https://github.com/AlbertZhaohongyong/producetool.git
msbuild -t:restore
environment variables Path E:\Gitee\producetool\ProduceTools\bin\Debug\net5.0
albert help
albert git "submit your comments"
albert crawl
albert produce(Not support currently)
albert azure(Not support currently)
albert baget
albert tool cp -s SourcePath -t DestinationPath
albert tool cptxt
albert tool md
"SerilogConfig": {
"ExceptionlessClientDefaultStartUpKey": "YOUR_API_KEY"
}
Inputing albert git info
is equivalent to execute combined command.
1.cd ..
2.git add .
3.git commit -m info
4.git push
Inputing albert -crawl
can crawl all information of the website configured by Producetool.json(PersonalCrawlingSite)
baget list:list all NugetPackage from remote service.
baget del -n PackageName -v PackageVersion:delete the NugetPackage from remote service.
baget push "Your local *.nupkg path":push all NugetPackage in local directory to remote service.
albert tool cp -s SourcePath -t DestinationPath :Copy SourceDir to DestinationDir
albert tool cptxt :Copy SourceDir to DestinationDir from Configs/ListCopyPath
albert tool md :Automatically generates a markdown file to record the packages used by the project (config file:Configs/ProjectDir)
Exceptionless Readme
Exceptionless provides real-time error reporting for your apps. It organizes the gathered information into simple actionable data that will help your app become exceptionless!
Learn more at http://exceptionless.io.
How to get an api key
The Exceptionless client requires an api key to use the Exceptionless service. You can get your Exceptionless api key by logging into http://exceptionless.io and viewing your project configuration page.
By default the Exceptionless Client will report all available metadata including potential PII data. You can fine tune the collection of information via Data Exclusions or turning off collection completely.
Please visit the documentation https://exceptionless.com/docs/clients/dotnet/private-information/ for detailed information on how to configure the client to meet your requirements.
ASP.NET Core Integration
You must import the "Exceptionless" namespace and add the following code to register and configure the ExceptionlessClient inside of the ConfigureServices method:
services.AddExceptionless("API_KEY_HERE");
In order to start gathering unhandled exceptions, you will need to register the Exceptionless middleware in the Configure method like this:
app.UseExceptionless();
Alternatively, you can also use the different overloads of the AddExceptionless method for different configuration options.
Please visit the documentation https://exceptionless.com/docs/clients/dotnet/sending-events/ for examples on sending events to Exceptionless.
By default the Exceptionless Client will report all unhandled exceptions. You can also manually send an exception by importing the Exceptionless namespace and calling the following method.
exception.ToExceptionless().Submit()
Please note that ASP.NET Core doesn't have a static http context. We recommend registering the http context accessor. Doing so will allow the request and user information to be populated. You can do this by calling the AddHttpContextAccessor while configure services.
services.AddHttpContextAccessor()
Documentation and Support
Please visit http://exceptionless.io for documentation and support.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。