particular / particulartemplates Goto Github PK
View Code? Open in Web Editor NEWdotnet-new templates for the Particular Service Platform
License: MIT License
dotnet-new templates for the Particular Service Platform
License: MIT License
The documentation for Authoring Tools mentions a package Microsoft.TemplateEngine.Authoring.Tasks that currently can only be used for localization of strings in a template, but in the future should include a Validate task for validating template packages.
See Authoring tools: templates & template packages validation.
We already build the templates and run approval tests on the template output, but once these tools are available it may provide ways to validate that the ide.host.json
and dotnetcli.host.json
files that are currently hard to test.
No response
At the moment, the templates target .NET 4.7.2 and RC's of NServiceBus. So we need two things:
Currently, not happening. E.g. the build for #4 is failing.
/cc @Particular/host-maintainers @Particular/deployment-maintainers
Version 5.0.1 enables .NET 8 (LTS) appearing as a selection for the NServiceBus Endpoint template.
Change was made in #438
Dependabot couldn't reach https://www.myget.org/F/particular/api/v3/index.json as it timed out.
Is https://www.myget.org/F/particular/api/v3/index.json accessible over the internet? If it is then this may be a transitory issue and can be ignored - Dependabot will close it on its next successful update run.
Is it supported to use NServiceBus.Extension.Hosting/BackgroundService for a windows service endpoint? Is there any special reason that the dotnet templates aren't using these?
Thanks
The above referenced line could lead to a null reference exception inside the .NET code that is taking care of the await
. The used ?.
operator could return null
which will cause the issue.
My proposed solution would be to replace this line with
await (this.endpoint?.Stop() ?? Task.CompletedTask);
I'm assuming that Task.CompletedTask
is available in the lowest supported version for the dotnet new templates.
I'm happy to provide the pull request to solve this, if the proposed solution is in your interest
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.