Alon Amsalem
Alon Amsalem
Yes, I did.
here's my mediator module: https://gist.github.com/AlonAmsalem/b76efecb436fbb1a67add18de1f85a69
Here's how I implemented the transaction-filter ``` csharp public class TransactionFilter : IAutofacActionFilter { public void OnActionExecuting(HttpActionContext actionContext) { var requestScope = actionContext.Request.GetDependencyScope(); var context = requestScope.GetService(typeof(CloudinatorContext)) as CloudinatorContext; context?.BeginTransaction();...
I don't use the Html-Helper-Extensions because my client-side is a standalone AngularJS
Here's my Global.asax, you'll need it for the transaction-filter ``` csharp public class WebApiApplication : System.Web.HttpApplication { protected void Application_Start() { var container = IoC.Initialize(); GlobalConfiguration.Configuration.DependencyResolver = new AutofacWebApiDependencyResolver(container); GlobalConfiguration.Configure(WebApiConfig.Register);...
Thanks for the feature request
Sorry, not yet. Currently working on AnyStatus 3 which should come out soon. PR's or external NuGets are welcome.
Not sure I'll have the time to implement it in the near future, you're welcome to create a pull request
As a workaround, I used the following commands to download and extract crossgen from the NuGet package ```bash curl -OL https://www.nuget.org/api/v2/package/runtime.linux-x64.Microsoft.NETCore.Runtime.CoreCLR/2.0.8 unzip -j 2.0.8 tools/crossgen cp crossgen /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.21 ```
Tried it once. I found it difficult to get the full jobs tree from Jenkins for example, the link below returns just the top level https://builds.apache.org/api/json?tree=jobs[name]&depth=999