Comments (8)
long running remote event receivers are a no-go...what do you think of having the event receiver post a message to a queue and background task which picks it up. Working on timerjob framework that will make this possible (one needs to be able to 'transfer' the calling user's context to the asynchronously running background process).
from pnp-guidance.
I was thinking along the lines just needed a place to track this.
from pnp-guidance.
Was also on my blog todo list with details what we have gathered from the feature PMs related on the exact timings and practices. We should have simple story with storage queue and web jobs... and then introduction story to more advance model with the remote timerjob framework. I'd actually write 2 articles... first for the intro, second for the remote timer job framework approach with multithreading support when that's done.
Would suggest following:
Write the generic story - Vesa
Write introduction to framework based code - Bert
Frank can concentrate on the site provisioning framework. Deal?
from pnp-guidance.
👍
I like the idea Bert is talking about. For what its worth I implemented something similar just the other week where a "job-request" list is populated with "tasks" and then a simple web job is listening to that list every minutes (configurable) and takes care of business.
It works well, but at the same time I think it needs to be robust enough to handle heavy load multiple simultaneous executions without any hiccups (mine doesn't), so for it to be multi-threaded and designed for heavy action is probably a must.
Just a few thoughts from my end of the pond.
from pnp-guidance.
Thanks Tobias. Process for this one will be exactly the same task feeding approach as with the https://github.com/OfficeDev/PnP/tree/master/Solutions/OD4B.Configuration.Async solution. That was however pretty complex and we need to explain the simplified process, so that field will understand how to truly take advantage of the async queuing process with storage queues and web jobs.
Code exists already, just to write down the story by end of next week should be now the approach.
We or Bert are pretty far with the multi-threaded approach as well, which was also demonstrated in TechReady this week. Looks really good. Now we just need to concentrate on proper documentation on this model.
from pnp-guidance.
👍 Looking forward to seeing the outcome, you guys are doing an awesome job.
from pnp-guidance.
@VesaJuvonen concur and agree
from pnp-guidance.
Closing some backlog items - this is nicely explained in following PnP Guidance article - https://github.com/OfficeDev/PnP-Guidance/blob/master/articles/SharePoint-Add-In-Recipe-event-receiver-and-list-event-receiver.md
from pnp-guidance.
Related Issues (20)
- The link "Core.OfficeWebWidgets" redirect to 404 page (VSTS BUG 1477128) HOT 2
- The link "Core.JavaScript..."redirects to 404 page (VSTS BUG 1477234) HOT 1
- The link "ECM.Autotagging sample app" redirects to 404 page (VSTS BUG 1477176) HOT 1
- The link "ClientContextExtensions.cs" redirects to 404 page. (VSTS BUG 1477182) HOT 1
- The link "Core.SiteClassification" redirect to 404 page (VSTS BUG 1477193) HOT 1
- The links like "Core.EventReceiversBasedModifications " redirect to 404 page (VSTS BUG 1480331) HOT 1
- Incorrect formatting - sentence split into two parts (VSTS BUG 1477231) HOT 1
- Incorrect formatting - Text is next to the picture instead of above it (VSTS BUG 1477254) HOT 1
- Dev Center: The link "OfficeDevPnP.Core" redirect to 404 page (VSTS BUG 1480328) HOT 1
- Dev Center: Some strings are truncated in device toolbar mode (VSTS BUG 1493561) HOT 1
- Remote Provisioning Role Assignments huge time difference in comparison to PowerShell HOT 1
- Updating Modern page fails after 2nd time HOT 1
- Get-PnPUnifiedGroup.SiteUrl returns "The caller is not authenticated HOT 1
- Clarify conflicting guidance around how long to back off when being throttled HOT 2
- Search for items in a specific Search Resource HOT 1
- Get-PnPStoredCredential example is using a different command HOT 1
- Add-PnPJavaScriptLink add file after sp.js link HOT 1
- Documentation for Description property seems to be incorrect HOT 1
- Add-PnPClientSideWebPart not working for some of my webparts (component cannot be null)... HOT 1
- -Checkout switch has issue with Add-PNPFile, not overriding field value(s) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnp-guidance.