I have use psake a few times, and I wanted to see what I extract to be more productive. With the rate at which I spin off OSS and side projects, I need something that just works out of the box and is fast to set up. Borne of this need, I created Toji, and it is available as a NuGet package.
I must have my build set up with compiling, testing, packaging, and deployment. I have some xunit, nunit, nuget, msbuild helpers in the project to get projects up quickly. The lack of a xunit [...]
A problem was recent posed that I hadn’t thought to do using Parallel.For in C#. How do you parallelize a for loop variable increased by something other than i++? Typically, I would simply iterate over a enumerable collection and run against the data in parallel using Parallel.For and Parallel.ForEach.
It turns out that there is no support for this in the PFX API. Parallel.For does not support incrementing other than one and it does not support reverse iteration. Also, Enumerable is a static class – which means we can’t do extension methods on Enumerable. However, we can use a custom iterator to generate the sequence for us. By using a Func<int, int> allows us to use our familiar i+= syntax for the increment function. We can quickly create a very simple iterator that will help us out.
IntelliTect: To upload an app to an #Office365 App Catalog use the following URL: https://<domain>.sharepoint.com/sites/AppCatalog. #SharePoint 29 days ago
IntelliTect: #Empowered #Leadership #IntelliTectValues (http://t.co/2YmE76FzuD)
1. Business is an ecosystem, not a battlefield.... http://t.co/BJF6smivR2 29 days ago
IntelliTect: #Leadership http://t.co/o6ZplTMvY4 29 days ago
IntelliTect: Check out Allen Greaves (@dodecahydra) and @MarkMichaelis' article on Reactive Extensions for Visual Studio Magazine. http://t.co/XPTLOeY9HF 35 days ago
IntelliTect: Photos from Aps for Office and SharePoint 2013 Training in Mexico City with Prosoftware, a Microsoft Innovation... http://t.co/2bAuInZ1sS 36 days ago
What an awesome session. While I was "using" .NET 4.0, I really wasn't "using" .NET 4.0. There was a lot of information to cover here, Mark did a great job ordering and covering the material. Props to the "Code Monkey" too!
Seminar Attendee, TechEd 2011, Atlanta, GA
3024 S. Bannen Ct.
Spokane Valley, WA 99037