Community Update 2014-03-15 – #webdev with #nodejs, #aspnet, #wcf, #unittest, #jsonld and more

As it’s the weekend, I’ll keep this short. Please enjoy this small list for those who just can’t stop.

Enjoy the reading!

Web Development

JSON-LD - JSON for Linking Data (json-ld.org)

Taking Advantage of Multi-Processor Environments in Node.js | The Carbon Emitter (blog.carbonfive.com)

Guy Barrette | Moment.js: a great JavaScript date library (blog.guybarrette.com)

Five Reasons ASP.NET Developers Should Care About Node.js | Wintellect (wintellect.com)

.NET

How to Implement a Service Architecture on Windows Azure using WCF, WPF, and Unit Testing (blogs.msdn.com)

c# - Creating a correct absolute URL when running ASP.NET MVC application under Visual Studio Windows Azure Emulator - Stack Overflow (stackoverflow.com)

Debugging .NET Backend in Visual Studio (blogs.msdn.com)

Immerse Yourself in Angular, MEAN, ASP.NET, and Gulp | John Papa (www.johnpapa.net)

How is Response.Redirect() Impacting My Site? (mikesmithdev.com)

Architecture and Testing

Video: Unit Testing and TDD – Why You Should Care and How to Make It Happen - Videos - Osherove (osherove.com)

Microservices (martinfowler.com) – I guess the article is still under development.

F

Exploring FAKE, an F# Build System for all of .NET - Scott Hanselman (www.hanselman.com)

Podcasts

How to start your first podcast - equipment, editing, publishing and more - Scott Hanselman (www.hanselman.com)

Community Update for 2014-03-14 – #webdevelopment, #tdd, #rest, #dotnet, #aspnet, and much more

So last community update before the weekend! How was your week?

So this time around, yet another batch of awesome links for you! Before I let you enjoy your weekend, I want to mention the following:

Pranav Rastogi is looking for people who want to help out with the development and/or suggest things for the new Identity framework for ASP.NET. Go on Github to see what it’s all about.

Enjoy your weekend!

Web Development

Responsive & Accessible Data Table - CodePen (codepen.io)

Responsive Web Design Patterns | This Is Responsive (bradfrost.github.io)

Preserving Important Comments in Bundling and Minification (mikesmithdev.com)

Don’t Be a Jerk. Optimize Your Site. | Alan Crissey (alancrissey.com)

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.

ColorPicker - Packages - Package Control (sublime.wbond.net)

Architecture and Testing

What TDD Is and Is Not | DaedTech (www.daedtech.com)

Microservices (martinfowler.com) – Yep! Some more Microservices content!

REST is OVER! - Literate Programming (blog.steveklabnik.com)

.NET & ASP.NET

Back to Basics: Assert your assumptions and diff your source code - Scott Hanselman (www.hanselman.com)

Easy Background Tasks in ASP.NET « Blog – Stack Exchange (blog.stackoverflow.com)

Delegate-based strongly-typed URL generation in ASP.NET MVC (maxtoroq.blogspot.ae)

Information about ASP.NET Identity & Security (gist.github.com)

Where’s the ESB? (channel9.msdn.com)

Azure Identity 103 - Vittorio creates an application that will authenticate against Active Directory (channel9.msdn.com)

Migrate away from MSBuild-based NuGet package restore - xavierdecoster.com (xavierdecoster.com)

Visual Studio

8 Visual Studio debugging tips – debug like a boss » DamienG (damieng.com)

Windows Azure

Troy Hunt: The World’s Greatest Azure Demo (www.troyhunt.com)

Search Engines (Solr, ElasticSearch, etc.)

Dev Time: Building a Navigation from a Search Index (blog.florian-hopf.de)

Elasticsearch.org 1.0.1 | Elasticsearch (www.elasticsearch.org)

Nuget Packages

Release 1.1.0 · stefanprodan/WebApiThrottle · GitHub (github.com) – Tools that allow you to throttle your WebAPI

Community Update 2014-03-13 – #WebDevelopment, #dotnet, #cqrs, #azure and lots more

Welcome to the community update folks!

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.

Enjoy!

Web Development

Build A (local) Webcam With WebRTC In Less Than 20 Lines! | ThoughtStream.new :derick_bailey (lostechies.com)

Bin Deploying ASP.NET MVC 3 - You’ve Been Haacked (haacked.com)

How to Render an MVC View to a String | Scott Schluer (www.scottschluer.com)

NuGet Configuration File inheritance is awesome (blog.maartenballiauw.be) – This is a must read if you use NuGet!

Custom View Engines: Registering a custom extension and avoiding the “There is no build provider registered for the extension” error | andrewlocatelliwoodcock on WordPress.com (andrewlocatelliwoodcock.com)

Five Reasons ASP.NET Developers Should Care About Node.js | Wintellect (www.wintellect.com)

.NET

EntityFramework Reverse POCO Generator extension (visualstudiogallery.msdn.microsoft.com)

Registering with Microsoft Unity an interface to a concrete class with multiple constructors | Patrick Desjardins’ Blog (patrickdesjardins.com)

Using Parameter Alias to simplify the OData URL (blogs.msdn.com)

Getting started with ASP.NET Web API 2.2 for OData v4.0 (blogs.msdn.com)

Security

Security Fundamentals: (01) Understanding Security Layers (channel9.msdn.com)

Hardening Your Web Server’s SSL Ciphers — Hynek Schlawack (hynek.me)

CQRS

Why Can’t I Update an Event | Greg Young’s Blog on WordPress.com (goodenoughsoftware.net)

Architecture

Microservices (martinfowler.com) – This is the 3rd update and I’m linking you directly to the updated section

Mobile devices

Push Notifications Between Android and Azure – Part 4 The Android App Revisited (martinobrink.azurewebsites.net)

Public Speaking

You’re paying to speak (remysharp.com) – For all my MVP friends out there

Free and open-source tools and software

cmder | Console Emulator (bliker.github.io)

Agility & Methodology

Code rant: Coconut Headphones: Why Agile Has Failed (mikehadlow.blogspot.co.uk)

Community Update 2014-03-12 – #cqrs, micro services, #testing, #podcast, #sidewaffle, #dotnet and more

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.

Bonus: as always… ElasticSearch!

Enjoy!

Architecture

Microservices (martinfowler.com)

Micro Service Architecture (yobriefca.se)

CQRS

Download Book Download: Exploring CQRS and Event Sourcing from Official Microsoft Download Centre (www.microsoft.com)

Posts about Event Sourcing on Greg Young’s Blog (goodenoughsoftware.net)

Testing

imagine easy / dev — Test Driven Development is not the solution (dev.imagineeasy.com)

Taking it Too Far? Unit Testing Your Data Access Code (sanjay.io)

Podcasts & Videos

The Ultimate List Of Developer Podcasts | Simple Programmer (simpleprogrammer.com)

SideWaffle (channel9.msdn.com)

.NET & WebAPI

Why I Left the .NET Framework (blog.jonathanoliver.com)

Binding to the TitleTemplate in a Windows Phone Panorama Control | Derik Whittaker (codebetter.com)

Avoid many-to-many mappings in ORMs | Jimmy Bogard’s Blog (lostechies.com)

Disable “Always start when debugging” for all projects in a solution (gist.github.com)

Migrations Screencast Series (blogs.msdn.com)

WebApi Performance With Transient OData Actions Beyond the Duck (beyondtheduck.com)

Miscellaneous

Sarah Mei » Why You Should Never Use MongoDB (www.sarahmei.com)

Free Mercurial and Git Client for Windows and Mac | Atlassian SourceTree (www.sourcetreeapp.com)

ElasticSearch

Elasticsearch.org This Week In Elasticsearch | Blog | Elasticsearch (www.elasticsearch.org)

Community Update 2014-03-11 – Efficient querying with #linq, basic http auth with #webapi, #aspnet caching and #elasticsearch

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.

Enjoy!

.NET

Efficient querying with LINQ, AutoMapper and Future queries | Jimmy Bogard’s Blog (lostechies.com)

ASP.NET & WebAPI

Basic HTTP authentication in ASP.NET Web API using message handlers at piotrwalat.net (www.piotrwalat.net)

Cache busting in ASP.NET (madskristensen.net)

Miscellaneous

High Scalability - High Scalability - Building a Social Music Service Using AWS, Scala, Akka, Play, MongoDB, and Elasticsearch (highscalability.com)

When Should You Think? | 8th Light (blog.8thlight.com)

A closer look at Titanfall’s not-so-secret weapon: Microsoft’s cloud (www.engadget.com) – Reads like a PR piece but it is kind of awesome to see the Cloud in action

ElasticSearch

Querying ElasticSearch - A Tutorial and Guide - Open Knowledge Foundation Labs (okfnlabs.org)

Community Update 2014-03-10 – #angularjs, #thinktecture, #aspnet, #oauth and #openid

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.

Enjoy!

Thinktecture Identity Server (OAuth + OpenID)

thinktecture/Thinktecture.IdentityServer.v2 · GitHub (github.com)

Thinktecture Identity Server - Configuration, Customization - CodeProject (www.codeproject.com)

ASP.NET & MVC

Writing Asynchronous Web Pages with ASP.NET- Part 1 | Brij’s arena of .NET on WordPress.com (brijbhushan.net)

AngularJS

Cascading DropDownList with AngularJS and ASP.NET MVC | TechBrij (techbrij.com)

Displaying ModelState Errors with AngularJS in ASP.NET MVC | TechBrij (techbrij.com)

Community Update 2014-03-10 – Coming back on the weekend, #cqrs, #aspnet, #fsharp, #windowsazure

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).

Enjoy!

Windows Azure

Push Notifications Between Android And Azure: Part 1 – The Android app (martinobrink.azurewebsites.net)

Push Notifications Between Android And Azure: Part 2 – The WebAPI backend (martinobrink.azurewebsites.net)

Push Notifications Between Android And Azure: Part 3 – The WebAPI backend revisited (martinobrink.azurewebsites.net)

ASP.NET / WebAPI

ASP.NET Identity with the Entity Framework (odetocode.com)

Per-Request WebApi Tracing and the Semantic Logging Application Block | Beyond The Duck (beyondtheduck.com)

CQRS

CQRS, Task Based UIs, Event Sourcing agh! | Greg Young (codebetter.com)

Domain-Driven Design, Event Sourcing and CQRS with F# and EventStore (www.youtube.com)

Event Sourcing Basics · EventStore/EventStore Wiki · GitHub (github.com) – Great wiki for the EventStore tool that explain what is an event store.

F

Nobuhisa/FsIdentitySample · GitHub (github.com) – Identity provider sample written in F#

Domain-Driven Design, Event Sourcing and CQRS with F# and EventStore (www.youtube.com) – Okay I know it’s in double but for F# nerds, I thought some of you might miss it.

Miscellaneous

OpenStack in Production: Log handling and dashboards in the CERN cloud (openstack-in-production.blogspot.ch) – CERN (Conseil Européen pour la Recherche Nucléaire or European Nuclear Research Organisation)

Community Update 2014-03-07 – #CodeStarsSummit, #visualstudio, #aspnet and #webapi

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!

Code Stars Summit March 25-28 in San Francisco (codestarssummit.com)

Visual Studio

Visual Studio 2013 Update 2 and Web Essentials (madskristensen.net)

ASP.NET

Introducing the newest “dots” in ASP.NET with Daniel Roth (channel9.msdn.com)

Using CORS to access ASP.NET services across domains | Encosia (encosia.com)

Handle Deactivated JavaScript in ASP.NET MVC Web Application | Factory Blog (blog.instance-factory.com)

Multiple databases comparison

Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Couchbase vs Hypertable vs ElasticSearch vs Accumulo vs VoltDB vs Scalaris comparison :: Software architect Kristof Kovacs (kkovacs.eu)

ElasticSearch

Implementing data validation in ElasticSearch | Templth’s Blog on WordPress.com (templth.wordpress.com)

Community Update 2014-03-06 – #html5, #aspnetmvc, #elasticsearch and mobile detection

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.

Web

Build an HTML5 Offline Application with Application Cache, Web Storage and ASP.NET MVC (www.codemag.com)

ElasticSearch

Approaches to multi-lingual text search with Elasticsearch and Lucene (skillsmatter.com)

Tools

Detect Mobile Browsers - Open source mobile phone detection (detectmobilebrowsers.com)

Miscellaneous

Review: A tale of three Lenovo Laptops - X1 Carbon Touch, ThinkPad Yoga, IdeaPad Yoga 2 Pro - Scott Hanselman (www.hanselman.com)

As a web developer, what is in my toolbox and why

A few of my fellow developers in Montreal are not web developers and often asks me how to debug certain problem on the web and what tools I am using.

Today, I’m sharing all of my tools and why I’m using them. So let’s start, shall we?

Web-based tools

Json2Csharp.com

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.

It takes a string as this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"employees":[
{
"firstName":"John",
"lastName":"Doe"
},

{
"firstName":"Anna",
"lastName":"Smith"
},

{
"firstName":"Peter",
"lastName":"Jones"
}

]
}

And transforms it into this:

1
2
3
4
5
6
7
8
9
10
public class Employee
{
public string firstName { get; set; }
public string lastName { get; set; }
}

public class RootObject
{
public List<Employee> employees { get; set; }
}

That makes it easy for JSON converter tools to map JSON to strongly-typed entities.

JsonFormatter (CuriousConcept.com)

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:

1
{"employees":[{"firstName":"John","lastName":"Doe"},{"firstName":"Anna","lastName":"Smith"},{"firstName":"Peter","lastName":"Jones"}]}

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.

JetBrains ReSharper

Not quite there yet for JavaScript but awesome on the C# side of thing.

Fiddler by Telerik

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.

References

CanIUse.com

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!

Community Update 2014-03-05 – Part 2 with #aspnet, #webapi and #elasticsearch

So since Part 1, here’s what’s new.

We have HTTP API versioning with Nancy and an overview of what is new in WebAPI 2.

As usual, I include a little bit of ElasticSearch.

Enjoy!

ASP.NET & WebAPI

HTTP API Versioning Using Nancy (liddellj.com)

What is New in ASP.Net Web API 2 Attribute Routing - Part 1 (bitoftech.net)

ElasticSearch

Elasticsearch.org This Week In Elasticsearch | Blog | Elasticsearch (www.elasticsearch.org)

Community Update 2014-03-05 – Part 1 ish #dotnet, #aspnet, #oauth and #owin

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.

Enjoy!

.NET & ASP.NET

Upcoming .NET NuGet Releases (blogs.msdn.com)

Flushing in ASP.NET MVC | nik codes on WordPress.com (nikcodes.com)

OAuth & OWIN Must read (some repost)

OAuth 2 Simplified - Aaron Parecki (aaronparecki.com)

OWIN OAuth 2.0 Authorization Server : The Official Microsoft ASP.NET Site (www.asp.net)

Principles of Token Validation | CloudIdentity (www.cloudidentity.com)

Miscellaneous

7 Things I Learned From 175,000 Eyes And A Failed Ad | ThoughtStream.new :derick_bailey (lostechies.com) – This guy is basically a Backbone.js master. Checkout his book if you are interested.

ElasticSearch

Apache Solr vs ElasticSearch - the Feature Smackdown! (solr-vs-elasticsearch.com)

Community Update 2014-03-04 – #aspnet, #webapi with #cors some #entityframework 6 and #breezejs

So people are waiting for the beginning of the week to blog. Well… we see that today.

We have 7 excellent links to read on the subject of ASP.NET, WebAPI, CORS, OpenID, OAuth, etc. Then, I followed with a tutorial on MSDN blogs on EF6.

Finally, I’m closing with Hanselman’s Newsletter of Wonderful Things (a must read!), some test related blog and BreezeJS with WebAPI and OData.

ASP.NET & WebAPI

A practical guide to ASP.NET Web API | Web Development Tutorial (www.webdevelopmenthelp.net)

NuGet Package of the Week: FluentAutomation for automated testing of Web Applications - Scott Hanselman (www.hanselman.com)

ASP.NET Thread Usage on IIS 7.5, IIS 7.0, and IIS 6.0 (blogs.msdn.com) – Warning wall of text but VERY VERY informative.

OAuth2 and OpenID Connect Scope Validation for OWIN/Katana | leastprivilege.com on WordPress.com (leastprivilege.com)

Lifecycle of an ASP.NET MVC 5 Application : The Official Microsoft ASP.NET Site (www.asp.net)

ASP.NET MVC 5 - A .NET Developer Primer for Single-Page Applications (msdn.microsoft.com)

How to use CORS with ASP.NET Web API 2.0 | Ugo Lattanzi’s tech world (tostring.it)

Entity Framework

Tutorial Series for Entity Framework 6 MVC 5 Published (blogs.msdn.com)

Miscellaneous

Hanselman’s Newsletter of Wonderful Things: January 21st, 2014 - Scott Hanselman (www.hanselman.com)

Cleaning Up Test Failure Noise | Patrick’s blog (lostechies.com)

Home (www.responsivemvc.net) – Resources for anything “responsive design” with ASP.NET MVC

Breeze Web API OData | Breeze.js (www.breezejs.com)

Community Update 2014-03-03 – Back from weekend edition, #aspnet, #owin, #eventsourcing, #superscribe and more

As I don’t always post during the weekend, I normally what was shared during the weekend into a big news update on Monday.

So because of this, today we have a shotgun spray of subjects. First, ASP.NET and everything related closely or not to it.

As always, Hanselman brings us a nice post that could have gone to the ASP.NET section but hey… it’s Hanselman!

Then a routing tool for OWIN and of course… the ElasticSearch bonus.

Enjoy!

P.S.: If you want to comment, I’ve migrated everything to Disqus.

ASP.NET & OWIN & Cloud

Develop MVC 5 with ASP.NET Identity in Visual Studio 2012 | httpJunkie (httpjunkie.com)

ASP.NET WebApi Identity System: how to login with Facebook access token | thewayofcode on WordPress.com (thewayofcode.wordpress.com)

Dependency Injection for Web API Controllers : The Official Microsoft ASP.NET Site (www.asp.net)

OWIN OAuth 2.0 Authorization Server : The Official Microsoft ASP.NET Site (www.asp.net)

Deploy ASP.NET MVC on Amazon EC2 with Web Deploy - Martin Buberl (martinbuberl.com)

Event Sourcing

Event Store for Web Applications (www.infoq.com)

Miscellaneous

IE10 and IE11 and Windows 8.1 and __doPostBack - Scott Hanselman (www.hanselman.com)

Tools

Home - Superscribe (superscribe.org)

ElasticSearch

Breaking changes in 1.0 (www.elasticsearch.org)

Community Update 2014-02-28 – #aspnet, #visualstudio, #miniprofiler and some videos from @ch9

Here is some content to keep you busy for the weekend.

First Authorization and Help pages for mobile services in .NET, the new JSON editor of V2013 Update 2 CTP2 and what’s new with it.

Then, I’m giving a link to an awesome tool. It’s called MiniProfiler. Awesome when you need something small to see what’s taking so long in your app.

And for the weekend, videos! Both from Channel 9.

I’m hoping that you’ll enjoy all your weekends!

ASP.NET

Authorization and public Help pages for Mobile Services written in .NET | Around and About .NET World on WordPress.com (marcominerva.wordpress.com)

Visual Studio

New JSON editor features in Visual Studio 2013 Update 2 CTP2 (blogs.msdn.com)

Tools

MiniProfiler: A simple but effective mini-profiler for .NET and Ruby (miniprofiler.com)

Videos

Working with images in Web Essentials 2013 (channel9.msdn.com)

Making Your Jobs Easier With Windows Azure WebJobs SDK (channel9.msdn.com)

Community Update 2014-02-27 – #ryujit compiler, #aspnet, #nservicebus, huge #angularjs series 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!

Bonus as always, ElasticSearch!

.NET

ASP.NET

NServiceBus

AngularJS

ElasticSearch

Community Update 2014-02-26 – Update to #VisualStudio, #aspnetmvc, #webapi and some #elasticsearch

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.

Enjoy!

Visual Studio

ASP.NET & WebAPI

Miscellaneous

ElasticSearch

Community Update 2014-02-25 – #EntityFramework with @CanadianJames and some #ElasticSearch

Very small day today. First, don’t miss out on James Chambers with changing Namespaces in EF6. As a bonus, some more ElasticSearch!

Enjoy!

Entity Framework

ElasticSearch

'ObjectContent`1' type failed to serialize the response body with #webapi and anonymous type

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”.

Here is the type of method on WebAPI I had:

1
2
3
4
public object Get()
{

return new { someValue = false };
}

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.

Community Update 2014-02-24 – Waterfall of links for #aspnet, #axon and #cqrs and new reference source for #dotnet

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!

ASP.NET

.NET

CQRS