Friday links 116

  1. Templated Razor Delegates – You’ve Been Haacked
  2. Why your code is so hard to understand – Aesthetic IO
  3. IIS 7.0 Two-Level Authentication with Forms Authentication and Windows Authentication « Mike Volodarsky’s Blog Mike Volodarsky’s Blog
  4. Firefox Developer Edition — Mozilla
  5. ASP.NET Web API Integration Testing with One Line of Code | Kloud Blog
  6. Better support for paging with Table Storage in Azure Mobile Services .NET backend | Microsoft Azure Blog
  7. i heart intelligence Beat The System With This List Of 40 Free Educational Websites
  8. EF7 – What Does “Code First Only” Really Mean – ADO.NET Blog – Site Home – MSDN Blogs
  9. EF7 – v1 or v7? – ADO.NET Blog – Site Home – MSDN Blogs
  10. EF7 – New Platforms, New Data Stores – ADO.NET Blog – Site Home – MSDN Blogs
  11. Async/Await – Best Practices in Asynchronous Programming
  12. Cutting Edge – Store User Data in ASP.NET Identity
  13. Async Programming – Unit Testing Asynchronous Code
  14. Universal Windows Apps – Reuse Code Assets with Universal Windows Apps

No Comments

MVC planning poker–delete round – part 8

Stefan Petrini make a final test, DeleteRound ( with subcases for Moderator and for non-Moderator deleting a table)

bool DeleteNotModeratorSuccess = true;
            try
            {
                td.Table.DeleteRound(td.Table.Id + "NotModerator".GetHashCode(), "Round2");//Attempting to delete a round without being a Moderator
            }
            catch (PPSecurityExceptionModerator)
            {
                DeleteNotModeratorSuccess = false;
            }
            Assert.IsFalse(DeleteNotModeratorSuccess);

For now the application has 20 tests – all without data persistance ( all is in memory)
It is time to add a saving to database in order to persist data.

No Comments

Friday links 115

  1. TaskExtensions · StephenCleary/AsyncEx Wiki
  2. Azure DocumentDB – Ayende @ Rahien
  3. Customizing profile information in ASP.NET Identity in VS 2013 templates – .NET Web Development and Tools Blog – Site Home – MSDN Blogs
  4. Code! MVC 5 App with Facebook, Twitter, LinkedIn and Google OAuth2 Sign-on (C#) | The ASP.NET Site
  5. Azure DocumentDB .NET Code Samples in C# for Visual Studio 2013
  6. Factory methods in Effort (CreateTransient vs CreatePersistent) | Tamás Flamich’s devlog
  7. Bizcoder – Add Runscope logging to your ASP.NET Web API in minutes
  8. nikmd23/CourtesyFlush
  9. No Deadlines For You! Software Dev Without Estimates, Specs or Other Lies
  10. Coding, Fast and Slow: Developers and the Psychology of Overconfidence
  11. Sweden’s Prostitution Solution: Why Hasn’t Anyone Tried This Before?
  12. WebDriver API in Developer Channel (Internet Explorer)
  13. Operations on DocumentDB Attachments
  14. Your Job Is Not to Write Code — Medium
  15. Functional languages rack up best scores for software quality | InfoWorld

No Comments

MVC planning poker–part 7

The latest 2 cases are

Use Case 5: Round reset
Moderator enters a round name (?) .
Participants choose a value.
Host press "reset round " and a fresh new round is created
The old one is not saved

Use Case 6: Round save
After a round is saved, the users can see the history round names and picked value
They can see also a total

 

There is not so more implementation – just save in the memory  a list and retrieve.

Next time we will be thinking about persistence – how this affect the structure of the application

No Comments

Friday links 114

  1. How Long It Takes To Read The World’s Most Popular Books | ShortList Magazine
  2. Datavisualization.ch Selected Tools
  3. Async and Await
  4. 7 P’s to Achieving your Goals | LinkedIn
  5. John Resig – JavaScript Micro-Templating
  6. Client Templating with jQuery – Rick Strahl’s Web Log
  7. Follow These 6 Steps to Network Like a Pro – Peg Fitzpatrick
  8. Why You Should Never Use MongoDB « Sarah Mei
  9. Writing Better jQuery Code – Modern Web
  10. Anonymous Recursion in C# – Yet Another Language Geek – Site Home – MSDN Blogs
  11. Web API Signatures with Multiple Complex Parameters | Travis J. Gosselin
  12. REST vs. RPC in ASP.NET Web API? Who cares; it does both. | Encosia
  13. 11 Tricks to Get Software Engineers to Sort of Respect You — Conquering Corporate America — Medium
  14. 10 Tricks to Appear Smart During Meetings – The Cooper Review
  15. Don’t Block on Async Code
No Comments

Friday links 113

  1. Advanced Scoring in elasticsearch – Control+R
  2. Azure DocumentDB .NET Code Samples in C# for Visual Studio 2013
  3. ScottGu’s Blog – ScottGu’s Blog
  4. NuGet Gallery | Microsoft Azure DocumentDB Client Library 0.9.0-preview
  5. Azure DocumentDB – Ayende @ Rahien
  6. bulk insert documentdb – Google Search
  7. DocumentDB Documentation | Azure
  8. Consistency levels in DocumentDB
  9. DocumentDB limits for the preview release
No Comments

[Post Event] Global Azure Bootcamp , Bucuresti, April 26, 2015

The 3rd edition of Global Azure Bootcamp finished with success in Bucuresti. We had a day dedicated to Azure

API for Azure with Dragos Barbu

Microsoft Azure Mobile Services introduction : Data, authentication and push notifications with Julian Atanasoaie

Open table: Verticals in programming: logging with Andrei Ignat , Radu Iovescu and all of you

Pictures and presentations: http://www.adces.ro/prezentari-itdevconnect-2015/

No Comments

Friday links 112

  1. Published for the First Time: a 1959 Essay by Isaac Asimov on Creativity | MIT Technology Review
  2. SSW – Rules to Better SharePoint – Sydney, Melbourne and Brisbane’s Leading Software Developers & Consultants – .NET, Web, Mobile, CRM and SharePoint
  3. Assange: Google Is Not What It Seems
  4. OWA Addons :: Software :: MSExchange.org
  5. How to: Create your first mail app for Outlook by using Visual Studio
  6. How to transform your Microsoft Outlook 2010 into a workflow system
  7. NameCtrl Control
  8. Extending ASP.NET MVC Music Store with elasticsearch
  9. elasticsearch/elasticsearch-net
  10. 7 Daily Habits for Balance in Your Life
  11. 36 Brilliant Paintings That Describe Everything Wrong With The World Today
  12. Datavisualization.ch Selected Tools
  13. cola.js: Constraint-based Layout in the Browser
  14. HOWTO: Using PowerShell in ASP.NET (.NET Framework 2.0) – Akash Blogging…… – Site Home – MSDN Blogs
No Comments

MVC planning poker–part 6

The complete case 4 is:

Use Case 4: Estimation saved
Moderator enters a round name (?) .
Participants choose a value.
When all participants have choosen the value, the cards are shown
The cards with  high estimates and low estimates are highlighted
Host press "create new estimation" and create new estimation
The old estimation is saved in history

For now it is the moment to do estimation and save in the memory.

The code is

[TestMethod]
            public void EstimationSaved()
            {
                var td = createdTable();
                var rd = td.Table.StartRound("first");
                rd.AddCardChoice(1, newParticipantName1);
                rd.AddCardChoice(Card.NotSure, newParticipantName2);
                rd.AddCardChoice(3, newParticipantName3);
                
                rd.StartNewEstimation();
                rd.AddCardChoice(1,newParticipantName1);
                rd.AddCardChoice(3,newParticipantName2);

                var est=rd.ParticipantChoices(newParticipantName1).ToArray();
                Assert.AreEqual(1,est.First());
                Assert.AreEqual(1, est.Last());

                est = rd.ParticipantChoices(newParticipantName2).ToArray();
                Assert.AreEqual(Card.NotSure, est.First());
                Assert.AreEqual(3, est.Last());

                est = rd.ParticipantChoices(newParticipantName3).ToArray();
                Assert.AreEqual(3, est.First());
                Assert.AreEqual(Card.WithoutChoice, est.Last());


            }

No Comments

Friday links 111

  1. Documentum Search – Lucene versus FAST | TSG Blog
  2. Microsoft releases Kinect SDK 2.0 and new adapter kit – The Official Microsoft Blog
  3. Custom security filtering in Solr – Lucidworks
  4. Sense – a JSON aware interface to ElasticSearch
  5. ElasticSearch 101 – A getting started tutorial
  6. On the nightmare that is JSON Dates. Plus, JSON.NET and ASP.NET Web API – Scott Hanselman
  7. RabbitMQ – Downloading and Installing RabbitMQ
  8. View samples – Apps for Office sample pack
  9. 7 Company Blogs We’re Seriously Crushin’ On
  10. The One Tool Startups Need to Brainstorm, Test and Win
  11. Priceonomics | Data Crawling, Visualization & Analysis
  12. The Most Expensive Typo in Legislative History
  13. Handling concurrency issues in a CQRS and Event Sourced system – DANIEL WHITTAKER
  14. 6 code smells with your CQRS Events – and how to avoid them – DANIEL WHITTAKER
No Comments