TechEmpower Framework Benchmarks (www.techempower.com) – This is the performance of webstacks on all OS/frameworks over delivering plaintext to your browser. ASP.NET still has a long way to go but we’re getting there.
I’m still experimenting with “categories” for the links. If some of them makes no sense to you, let me know and I’ll adapt. Today, we literally have a truckload of links ranging from Web Development to Agility.
I hope you enjoy reading them as much as I enjoyed gathering and reading them.
So for today, I’ve gathered the best of the best for all of you. We have a nice discussion about Micro services including an article by Martin Fowler describing them. Followed by a book download for the white paper by Microsoft “Exploring CQRS” and a blog post by Greg Young about Event Sourcing.
Beside including some articles on testing, I’ve included the Ultimate list of Developer Podcasts. Seriously… this one, do not miss out. You have to take a look.
Have you seen SideWaffle? Do you even know what it is? No? Watch the video on Channel 9 by Mads Kristensen. It’s worth it.
Then we reach the big .NET section. All of those article are worth a read by their own. The post by Jonathan Oliver is especially worth it if you’ve been developing in a .NET world for a long time. It will help you put things in perspective.
Then we finish with an interest-grabbing title of a blog post: “Why you should never use MongoDB”. Long, but also essential in knowing exactly what you are getting into with object databases.
We start with efficient querying by Jimmy Bogard then Basic HTTP Auth with WebAPI.
Mads Kristensen provides us a very nice article about cache busting in ASP.NET. I’ve also included some miscellaneous articles about high scalability, an Uncle Bob article and an article about the use of Windows Azure with Titanfall (a video game). Very interesting stuff.
As always, I end up with an article on ElasticSearch.
If you are within an enterprise and want to implement an OAuth/OpenID provider for your company infrastructure and you don’t want to pay top premium dollars for a commercial architecture, there is a solution. Thinktecture Identity Server provides a nice implementation that respect a lot of standards and protocols. You will want to take a look at that.
As for the rest, ASP.NET and Async Web Pages as well as some AngularJS code.
So for this weekend, here is what we have. Three nice articles about Push Notification with Android, ASP.NET Identity and EF6, per-request tracing in WebAPI.
Then we have an article by Greg Young on CQRS and Task Based UIs, a video about DDD, Event Sourcing, CQRS with F#. Do not miss the wiki on basics of an event store.
For the F# nerds here, I re-included the same video… yeah I know but I really don’t want you to miss it guys. Also, we have a sample for the Identity provider for F#.
Finally for the nerd in all of us, a simple blog on how they do logging and dashboards at CERN (Nuclear research in Europe).
I’m not normally doing community updates on conferences (especially if never went) but this one looks actually awesome. It’s a conference in San Francisco with big names only.
Then we have Mads that comes back on the VS2013 update and what’s to consider on the web-side of things. Finally, we have ASP.NET, CORS and a huge comparison of object database.
As a bonus, as always, schema validation in ElasticSearch!
Enjoy the weekend everyone!
Conference
If you are looking for an awesome session and you have some free time in March, I’m suggesting the Code Stars Summit. We’re talking Dan Wahlin, Douglas Crockford and many more. A must go!
Few articles for today but hey… at least I only get the best for all of you!
So we have HTML5 and offline applications with ASP.NET MVC, ElasticSearch with multilingual text (for all of you from India/France/United Kingdom). Then we have a website that helps you detect mobile browsers and allows you to download the proper code to do it.
And we finish that with a tech review from Scott Hanselman from 3 Lenovo Laptops.
I’m using this little converter when I’m parsing external REST service and that I want to create simple C# DTO out of the exposed object. They start as DTO but gets enriched rather quickly.
Talking about JSON, this tool transforms any JSON string into different format (3 spaced, 2 spaced or compact). It will also validate the JSON at the same time.
Taking the above JSON that I used in the previous example, it can transform it into this:
So if you service returns it to you into a very compact format, you can easily expand it to visualize the data.
Desktop Tools (All Windows based, sorry Mac/Linux people)
Visual Studio 2013
As I’m a heavy .NET developer… I still use Visual Studio for most of what I do. Considering that the JavaScript and CSS editor have improved a lot… it has become a tool of importance especially for deployment on the cloud which it makes easy as pie.
This is a free tool. It basically serves as a proxy on your local machine capturing all web traffics over the wire. It allows you to filter and create web requests. Very excellent when you start debugging some specific HTTP call that you make and understand exactly what is happening on the wire.
Google Chrome
Simply because its debugging tools for JavaScript are beyond compare. You can debug JavaScript, forge request for different user agents, set device ratio and sizes, edit live CSS and this without breaking a sweat.
If you are into heavy CSS/JavaScript modification live on the server, Chrome supports you to set a “Workspace” and the website you are on will sync (both ways) modification made to either side of things. Kind of crazy if you are into Single Page Applications.
You are building an application and you are wondering if you can use HTML5 videos or Local Storage with IE8? This website will cover you front to back for most cases. If you are wondering which specs are implemented in a browser related to HTML5, CSS or SVG… this is the site you want to go on to before using them.
What are you using?
Any tools that I left out? Share them with everyone else! I would be curious if there is a way to do more with what we already have!
So I’m not doing this often but I saw a lot of content this morning so instead of pushing one huge list at the end of the day, I thought about pushing it in an earlier instalment.
It will give you some time to read during lunch maybe. So we get little ASP.NET per se but we got some very interestiung OAuth and OWIN. I decided to repost a few of them since they were posted days apart.
From the kingpin of Backbone.js (Derick Baily) come his “lesson learned” from his ad about his book.
Finally, a feature comparison smackdown between Solr and ElasticSearch.
The RyuJIT compiler is being moved to CTP2 and there’s a whole blog post about it! You should take a look. As for ASP.NET, we have a security article that is always interesting and a roadmap for OpenID Connect and IdentityServer.
Gabriel Schenker brings us a huge series on AngularJS, I’ve brought you the table of content rather than individual episodes. Enjoy!
So here we go! First we have the announcement for Visual Studio 2013 Update 2 CTP2 (anyone else think those names are getting longer and longer?). Right after, we have the nice summary by our pal Jon Galloway to help you focus on the important stuff. We have next Rachel Appel with some guidance on how to use ViewBag, ViewData and more.
Don’t miss out on Scott Hanselman’s post. Seriously, if you aren’t subscribed to Scott’s blog, you should.
We’ll finish all of this with some classic ElasticSearch with rsyslog.
I received this error at some point today about failed serialization of ObjectContent. At first I didn’t see it since I’m making all of my requests with the header “Accept: application/json”.
Pretty easy no? See the problem? Me neither. When I was requesting JSON, I received a nicely formatted object exactly like it is displayed there.
When I did the request through the browser, it failed. So I launched Fiddler and try to debug and… it’s basically as soon as you request XML.
So I hit Google (my preferred tool for search Stackoverflow) and I found this. This brought me eventually to this link.
It contains a very similar code base than mine. Object as return type and we return an anonymous type. Let me bring in the quote for you:
The XML serializer does not support anonymous types or JObject instances. If you use these features for your JSON data, you should remove the XML formatter from the pipeline, as described later in this article.
Conclusion
Try all formatters on all endpoint before actually shipping to production. In the mid-time, I resolved this by creating a simple nested class that has my value.
JSON.NET had no problems doing the job but the XmlSerializer didn’t like it one bit.
Side note: So the software I built to gather links for all of you has been migrated to a worker role in Windows Azure. That means that I don’t need to run a machine all the time to gather data. That also means that I will be retrieving more data during the weekend whereas before it would not have been possible. Soon, I’ll also be crawling RSS feed for more detailed links and metadata.
Today is the day of ASP.NET. We’ve seen days with many subjects with sparse amount of articles. Today is not that day for ASP.NET. We have some very nice article yet again.
So enjoy this wonderful content!
PS.: We also have a link for the new reference source for .NET and a CQRS link also. Don’t miss out!