-
Asynchronous code and exceptions
There are 2 kinds of coding when handling asynchronous code. The first one is calling Result: < [code lang="csharp"] t.TwoTask().Result [/code] The second is async /await As such,we will have 2 intercepting code. For the first one we will catch AggregateException For the second one we will catch the FIRST task exception ( or,more generic,Exception…
-
Friday links 128
700 Free eBooks for iPad,Kindle & Other Devices | Open Culture Falsehoods programmers believe about addresses Uwe Hermann on Twitter: ""Falsehoods programmers believe" series: http://t.co/HkhmU48fZ6,http://t.co/hZlB4kjjie,http://t.co/9MErWimCra,http://t.co/8zXFaSpmqm" WebAPI Generic ASP.NET MVC 6 attribute routing – the [controller] and [action] tokens – StrathWeb Ten Tips to Being a Great VB Developer Big Data Knows When You’re Going to…
-
Async / await transformation and pitfalls
/// <summary> /// please read first http://blog.stephencleary.com/2012/02/async-and-await.html /// </summary> Let’s say you want to transform this code to async / await public bool TwoTask() { var file= WriteToFile(); var console= ReadConsole(); return file & console; } The first version is public async Task<bool> TwoTask() { var file=await WriteToFile(); var console = await ReadConsole(); return file…
-
Friday links 127
Strip creator Born to Learn Applying NASA coding standards to JavaScript | Pixels Commander MSDN Blogs Monetization with PubCenter Ads – Creating App ID and Ad Unit ID – Quick Thoughts – Site Home – MSDN Blogs Lizard Stresser Runs on Hacked Home Routers — Krebs on Security Statisticians in World War II: They also…
-
Friday links 126
Comparing Go and .NET // Justin Beckwith » What is the Oxford comma and why do people care so much about it? » 8 of the Funniest,Most Sarcastic Greeting Cards of All Time How a Web Design Goes Straight to Hell – The Oatmeal Comics :: Popular – The Oatmeal You Don’t Have to Hate…
-
Friday links 125
5 Creative Design Ideas Using Grids – Design School 9 GIFs That Explain Responsive Design Brilliantly | Co.Design | business + design Pumpipumpe | a sharing community The AI Programmer’s Bookshelf Practical Tips for Web and Mobile Usability Tests Edward Reynolds on Twitter: "http://t.co/FjnCknj4CA" IT Pro New Year’s Honours List 2015 – TechNet UK Blog…
-
MVC-Planning Poker – Architecture versus unit testing fast
Now I have arrived to the moment when I want data to be persisted on disk. I choose SqlIte – because EF 7 is not yet on the market and SqlIte could work on Windows Phone / Android. So now I want to just serialize TableData and save . To serialize I have several options…
-
Friday links 124
20 Hilarious Programming Jargon Phrases You Should Know When Talking To Engineers – Business Insider Serving external traffic with WebMatrix Beta : Vaidy’s IIS Blog : The Official Microsoft IIS Site Accessing an IIS Express site from a remote computer — Johan Driessen’s blog 9 filme IMPRESIONANTE care îți pot schimba modul în care vezi…
-
IndieGoGo campaign for programmer tools
I have made a campaign on IndieGogo for making a website, videos and tutorials about C# and .NET tools and common practices. Think about verticals( logging,security) that every application needs to have. It will be a common knowledge base(book,video and website,and mobile application ) about how to use those applications. Please join at bit.ly/toolsProgrammers …
-
Friday links 123
UserJoy – 25 must do’s before launching a website! gionkunz/chartist-js Can I use… Support tables for HTML5,CSS3,etc Bing Developer Assistant for Visual Studio – The Visual Studio Blog – Site Home – MSDN Blogs Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Couchbase vs Hypertable vs ElasticSearch vs Accumulo vs VoltDB…
I am ok , you are ok