Friday links 99

  1. The 10 Best Things a Mother Ever Told Her Child
  2. Creating a Fake Person Shows How Digital Anonymity Is Nearly Impossible
  3. Michael James – Developer: May 2012
  4. A .NET Build Server Without Visual Studio
  5. Mindscape Blog » Blog Archive » Extending Visual Studio properties
  6. NuBuild Project System extension
  7. Website Screenshots & Responsive Design Screenshots | Modern.IE
  8. Most Mind-Bending Movies Ever Made | Nerdacy
  9. The Greatest Thinker You’ve Never Read: Ludwig von Mises – Forbes
  10. HTML minifier revisited — Perfection Kills
  11. 33 Pictures Taken At The Right Moment | Bored Panda
  12. Microsoft Tackles Internet-of-Things With New Data Stream Processing Service
  13. This page does not exist!
  14. Self-service Data Discovery and Visualization Application, Sense BI Tool | Qlik
  15. Nuget Dependencies and latest Versions – Rick Strahl’s Web Log
  16. Dynamically loading Assemblies to reduce Runtime Dependencies – Rick Strahl’s Web Log
  17. Using Markdown for Effective Logging – CodeProject
  18. Wheelies/MarkdownLog
  19. Windows 7 File-properties "Version" Tab Shell Extension – CodeProject
  20. IoC Container Benchmark – Performance comparison – www.palmmedia.de
  21. Applying the Three Levels of Design to Building Software Products — UX / UI Design — Medium
No Comments

Friday links 98

  1. Your templating engine sucks and everything you have ever written is spaghetti code (yes, you)
  2. kahun/awesome-sysadmin
  3. sorrycc/awesome-javascript
  4. Technical debt 101 — Medium
  5. Dependency Injection in ASP.NET vNext – .NET Web Development and Tools Blog – Site Home – MSDN Blogs
  6. ASP.NET Identity Recommended Resources | The ASP.NET Site
  7. Be a Big Rockstar
  8. Microsoft is Giving Away Intel Galileo Arduino Compatible Boards to Developers
  9. Why your users hate Agile development (and what you can do about it)
  10. 7 Things Really Persuasive People Do | Inc.com
  11. • We go forward. image twitter | facebook
  12. Jacob Kaplan-Moss
  13. Doxygen: Downloads
  14. A lesson in shortcuts. Long ago, as the design of the Unix file system was…
  15. Chrome Web Store – Apps
  16. Is this what they mean by iterative development? | Computerworld Blogs
  17. How the ‘most hated person in SF’ learned tech’s limits (Q&A) – CNET
  18. SQL Server Data Tools
  19. Smartphone apps: The antisocial networks | The Economist
  20. The Web API Checklist — 43 Things To Think About When Designing, Testing, and Releasing your API | Mathieu Fenniak
  21. The 15-Minute Daily Habit That Will Change Your Career | Fast Company | Business + Innovation
  22. Legenda Romaniei si moartea clinica | Filozofie pe bordura
  23. How To Turn A Mid-Life Crisis Into A Million-Dollar Business | Fast Company | Business + Innovation
  24. ECMAScript 6 Modules: What Are They and How to Use Them Today
  25. Snap :: NASA’s The Space Place
  26. The Great Works of Software — The Message — Medium
  27. You Can Now Pay 99 Cents to Read 15,000 Marvel Comics Online | Underwire | WIRED
  28. Everyday Life in Indonesian Village Captured by Herman Damar | Share After Reading
  29. If It Isn’t Broken, Don’t Fix It :: UXmatters
  30. How Do You Design Interaction? | Smashing Magazine
  31. BCX: Exporting: Design the UI for kicking off a new export and downloading an existing one
  32. The Rise of the UX Torturer — Medium
  33. Advanced Rest Client Application
No Comments

2014 in review and new year resolutions

2014 have been a good year.
I have made several videos and tutorials about

  1. EF record an play: http://msprogrammer.serviciipeweb.ro/category/howto/entity-framework-howto/ 
  2. Traceability : http://msprogrammer.serviciipeweb.ro/category/traceability/
  3. Tools that I use: http://msprogrammer.serviciipeweb.ro/2014/11/16/programming-tools-2013-2014/
  4. 4Sq data: http://msprogrammer.serviciipeweb.ro/category/foursquare/
  5. Minimize Json: http://msprogrammer.serviciipeweb.ro/2014/01/13/minimize-json/
  6. Javascript MVVM and MVC: http://msprogrammer.serviciipeweb.ro/2014/01/05/javascript-mvvm-and-asp-net-mvc/

 

For the new year I want to make several video tutorials about the tools that I use on everyday basis. I will start with Visual Studio 2013 extensions

Happy new year!

No Comments

2015 – Todo

Learn vNext

Make a tutorial in EN + RO about vNext

That will be all ;-)

No Comments

Friday links 97

  1. Entity Framework in the Enterprise – Online Training Course for Developers
  2. GitLab | GitLab Community Edition
  3. Entity Framework (EF) Documentation
  4. Entity Framework Pre-Generated Mapping Views
  5. Shiju Varghese’s Blog – Releasing SocialGoal – Reference Web App for ASP.NET MVC 5, EF 6 Code First, AutoMapper, Autofac, TDD and DDD
  6. Chapter 3: Architectural Patterns and Styles
  7. Open Data Day Hackathon | Welcome
  8. Using Data Annotations to Customize Data Classes
  9. 9 Meditation Apps to Get Your Om On | Organic Authority
  10. WordPress › ClassDex « WordPress Plugins
  11. WordPress › Event Espresso Lite – Event Management and Registration System « WordPress Plugins
  12. Karma – Coverage
  13. karma-runner/karma-coverage · GitHub
  14. jasmine test alert – Google Search
  15. Testing javascript alerts with Jasmine – Stack Overflow
  16. Jasmine: Behavior-Driven JavaScript
  17. introduction.js
  18. karma jasmine clock – Google Search
  19. how to unit-test setInterval in karma angularjs – Stack Overflow
  20. Test setTimeout with Jasmine – Jake Trent
  21. What goes around comes around (Javascript testing … – HP Enterprise Business Community
No Comments

EF Record and play – conclusions

 

Part 1 : What is EF record and play : http://msprogrammer.serviciipeweb.ro/2014/11/29/entity-framework-6-record-and-play-1-of-5/ 

Part 2: EF Record and play use: Testing : http://msprogrammer.serviciipeweb.ro/2014/12/08/entity-framework-6-record-and-play-use-unit-testing-part-2-of-5/

Part 3: EF Record and play use: Make demo: http://msprogrammer.serviciipeweb.ro/2014/12/14/entity-framework-6-record-and-play-use-making-demos-part-3-of-5/ 

Part 4: EF Record and play use: Record user Sql when a bug occurs: http://msprogrammer.serviciipeweb.ro/2014/12/26/ef-record-and-play-use-recording-user-sql-when-a-bug-occurred-part-4-of-5/

Part 5: EF record and play: conclusions: http://msprogrammer.serviciipeweb.ro/2015/01/05/ef-record-and-play-conclusions/

 

 

I have show to you how easy you can record and play again Entity Framework 6 actions. Also, some possible uses as testing, making demos and record user Sql.

One possible use that can be done is Profiling  – analyzing sql – for example, just like MiniProfiler or EFProfiler does. Read this article about profiling : http://msdn.microsoft.com/en-us/magazine/gg490349.aspx

I hope you enjoy this piece of code.

Source code is available at https://github.com/ignatandrei/EFRecordAndPlay/wiki/
There is also a NuGet package at https://www.nuget.org/packages/EFRecordAndPlay/

Video at https://www.youtube.com/playlist?list=PL4aSKgR4yk4Mi1eLKArsgoqQRluxXv2-Y

No Comments

Friday links 96

  1. 14 Abandoned Places That Will Make Your Skin Crawl – Answers.com
  2. What Stops Leaders from Showing Compassion – Roger Schwarz – Harvard Business Review
  3. Making an Image Easier to Debug
  4. 5 Things To Do Before Bed That Will Jump Start Tomorrow | Entrepreneur.com
  5. Automatic optimization of images, CSS and JavaScript
  6. Creating ASP.NET MVC Negotiated Content Results – Rick Strahl’s Web Log
  7. 10 Scientific Ideas That Scientists Wish You Would Stop Misusing
  8. Email icons | 1 | Iconfinder
  9. 8 Types of CTAs You Should Absolutely Try on Your Blog
  10. Why You Should Never Cross Your Arms Again | Entrepreneur.com
  11. The Dangers of Implementing Recurring Background Tasks In ASP.NET – You’ve Been Haacked
  12. Nadeem Afana’s blog · ASP.NET MVC 5 Internationalization · Strings Localization on the client-side
  13. Algorithms: Design and Analysis, Part 2 | Coursera
  14. Killer Infographics The Anatomy of an Effective Web Design » Killer Infographics
  15. Google Design
  16. Why Leaving Work On Time May Be A Bad Thing | LinkedIn
  17. Flat UI and Forms · An A List Apart Article
  18. refactorthis/GraphDiff
  19. 12 Stunning Civil War Facts
  20. What You Learn in Your 40s – NYTimes.com
No Comments

EF Record and play use: Recording user sql when a bug occurred (part 4 of 5)

 

Part 1 : What is EF record and play : http://msprogrammer.serviciipeweb.ro/2014/11/29/entity-framework-6-record-and-play-1-of-5/ 

Part 2: EF Record and play use: Testing : http://msprogrammer.serviciipeweb.ro/2014/12/08/entity-framework-6-record-and-play-use-unit-testing-part-2-of-5/

Part 3: EF Record and play use: Make demo: http://msprogrammer.serviciipeweb.ro/2014/12/14/entity-framework-6-record-and-play-use-making-demos-part-3-of-5/ 

Part 4: EF Record and play use: Record user Sql when a bug occurs: http://msprogrammer.serviciipeweb.ro/2014/12/26/ef-record-and-play-use-recording-user-sql-when-a-bug-occurred-part-4-of-5/

Part 5: EF record and play: conclusions: http://msprogrammer.serviciipeweb.ro/2015/01/05/ef-record-and-play-conclusions/

 

In this video tutorial I will show how to see the sql when a database bug occurs.

Let’s suppose that a department should have the name not null – and , by mistake, we have not prevented the registering of a null in the name of the department

We put those lines

 
 #region set record EF
            record = new InterceptionRecordOrPlay(@"DemoEmployeeAndDepartment.zip", ModeInterception.Record);

            DbInterception.Add(record);
            #endregion 

We register the null name department and  in the DemoEmployeeAndDepartment.zip we see the error

<?xml version="1.0"?>
<InterceptionData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CommandText>INSERT [Department]([NameDepartment])
VALUES (NULL)
; SELECT [Id]
FROM [Department]
WHERE [Id] = CAST (@@IDENTITY AS int)</CommandText>
  <NonQuery>0</NonQuery>
  <ThrownExc>
    <ExceptionType>System.Data.SqlServerCe.SqlCeException</ExceptionType>
    <ExceptionMessage>The column cannot contain null values. [ Column name = NameDepartment,Table name = Department ]</ExceptionMessage>
  </ThrownExc>
</InterceptionData>

Source code is available at https://github.com/ignatandrei/EFRecordAndPlay/wiki/
There is also a NuGet package at https://www.nuget.org/packages/EFRecordAndPlay/

No Comments

Friday links 95

  1. SharpPcap – A Packet Capture Framework for .NET – CodeProject
  2. Dear Bucharest IT recruiters… | Sergent.ro
  3. How a Handgun Works: 1911 .45 – Animagraffs
  4. “ASP.NET MVC Helper – MoreLessText” – HonestIllusion.Com
  5. Introducing ASP.NET vNext – Scott Hanselman
  6. 30 Satirical images created by Pawel Kuczynski – 9GAG
  7. How Emotionally Intelligent Are You? Here’s How To Tell
  8. Determining the Exchange Web Services (EWS) URL for the ShareScan Exchange Connector
  9. How to Layout and Manage Your Machine Learning Project | Machine Learning Mastery
  10. Comment le numérique redistribue la puissance économique « InternetActu.net
  11. Social Sentiment and Sentiment Analysis – An Overview
  12. Using QueueBackgroundWorkItem to Schedule Background Jobs from an ASP.NET Application in .NET 4.5.2 – Marius Schulz
  13. Tim Harford — Article — Gary Becker – the man who put a price on everything
  14. Secrets, lies and Snowden’s email: why I was forced to shut down Lavabit | Comment is free | theguardian.com
  15. 10 Things You Must Accept And 10 Things You Must Change In Your LifeElite Daily
  16. 69 Rare Historical Photographs You’ve Probably Never Seen. #8 Is A Bit Disturbing. | SF Globe
  17. The Fermi Paradox – Wait But Why
  18. 10 Things to Do Every Workday | Inc.com
  19. Testează-ţi cunoştinţele cu „Vrei să fii milionar?” Ediţie specială de „Ziua Copilului” | adevarul.ro
  20. 1272 free SVG and PNG icons for your games or apps | Game-icons.net
  21. 14 Brilliant Pieces of Literature You Can Read in the Time it Takes to Eat Lunch – PolicyMic
  22. Architecture and patterns | Exercises in .NET with Andras Nemes
  23. What is NoSQL? Four Things, Actually
  24. 30 Cool Open Source Software I Discovered in 2013
  25. PMI’s Career Central | 3 Bad Habits to Break
  26. AppVeyor – A good continuous integration system is a joy to behold – Scott Hanselman
  27. Flat UI and Forms · An A List Apart Article
  28. 10 of the Best UX Infographics – The Usabilla Blog
  29. The 15 Most Common Mistakes in Writing Novels | Write Edit Seek Literary Agent
  30. Forget Setting Goals. Focus on This Instead. | Entrepreneur.com
  31. DESIGN is… — Medium
No Comments

Friday links 94

  1. UAE announces visa on arrival for nationals of 13 EU countries | GulfNews.com
  2. How To Make The Most Of LinkedIn – Business Insider
  3. How and Where Concurrent Asynchronous I/O with ASP.NET Web API – Tugberk Ugurlu’s Blog
  4. research.microsoft.com/pubs/204451/socialDEB2013.pdf
  5. A step by step guide on video captures – Teamlink Wiki
  6. 10 Simple Steps To Exceptional Daily Productivity – Business Insider
  7. HackHands | On demand mentorship
  8. Flappy Bird: What lessons can be learned? | GamesIndustry International
  9. Incredible 3D Effect by Adding Two White Lines to an Image
  10. PNGGauntlet – PNG Compression Software | BenHollis.net
  11. 100,000 Stars
  12. What Data-Obsessed Marketers Don’t Understand – Jake Sorofman , and Andrew Frank – Harvard Business Review
  13. 29 Hilarious True Facts About Life | Strong Mind, Brave Heart
No Comments