Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Dynamically Loading Controllers and Views with AngularJS/$controllerProvider and RequireJS

AddThis Social Bookmark Button
Dynamically Loading Controllers and Views Updated: August 30th, 2014 A complete sample application that uses the techniques shown in this post can be found at https://github.com/DanWahlin/CustomerManager.

AngularJS provides a simple way to associate a view with a controller and load everything at runtime using the $routeProvider object. Routing code is typically put in a module’s config() function and looks similar to the following: $routeProvider .when('/customers', { controller: 'CustomersController',
templateUrl: '/app/views/customers.html' }) .when('/customerorders/:customerID', { controller: 'CustomerOrdersController', templateUrl: '/app/views/customerOrders.html' }) .when('/orders', { controller: 'OrdersController', templateUrl: '/app/views/orders.html' ...(Read whole news on source site)

Why I love Leanpub for getting my books to readers

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/theArchitectsNapkin/archive/2014/08/30/why-i-love-leanpub-for-getting-my-books-to-readers.aspxThere is some discussion going on, if/when using Leanpub is the right choice for a budding (or even established) author. Some contributions you may want to read include: Why Don’t I Use Leanpub by Management 3.0 author Jurgen Appelo Why Don’t I Use Leanpub? by Leanpub co-founder Peter Armstrong Why do I use Leanpub? by Leanpub “bestselling author” Simon Brown Much has been already said. So why add another article to the discussion? Because I feel there´s something missing. Some kind of systematic view of self-publishing. Without some more structure, my guess
is, authors still looking for their way to go, might get even more confused than they were before. Or is it just me who finds the self-publishing landscape quite confusing sometimes. So here´s my take on the topic. Let me break down the self-publishing process into a couple of steps: Write Publishing starts with writing. It´s always the author who does the writing. But with self-publishing the author needs and wants to do more than that. Writing fiction is pretty much just about plain text sprinkled with some chapter headings or occaissonal italics. Also writing most non-fiction books probably does...(Read whole news on source site)

Quick tip: Avoid ‘async void’

AddThis Social Bookmark Button
When developing a Web API application recently with an AngularJS front end, I made a basic mistake and then lost 2 hours of my life trying to figure out what was causing the problem … async void. Its pretty common nowadays to use tasks to improve performance/scalability when writing a Web API controller.  Take the […] The post Quick tip: Avoid ‘async void’ appeared first on Developer Handbook.

Pogo Connect vs Pencil

AddThis Social Bookmark Button
If you’ve been paying attention to my blog and/or my weekly email in the last month or two, you’ve probably noticed all the hand-drawn illustrations. I can’t say I had really planned on doing this, at first, but once I started I couldn’t stop. I love drawing these little stick figures and scenes to visualize […]

Creating and Consuming Web APIs in .NET

AddThis Social Bookmark Button
A quick note for folks who attended the Apex Systems Tech Talk I did this past Thursday. As promised, I've published my slides to OneDrive, and they can be found here: http://1drv.ms/1qPINUn The resources at the end of the deck include links to the Web API tutorial I mentioned in the talk, which is a great place to start if you're unfamiliar with ASP.NET Web API. And for folks who attended either of my VSLive talks this year, including my talks in Redmond a week ago, those decks are also available on my OneDrive, and can be found
here: http://1drv.ms/1qPJrBd If you'd like to hear my next talk on API development, please join me on September 10th, in Tyson's Corner, VA for the NoVA Mobile C# Developer's Group....(Read whole news on source site)

The Incremental Architect´s Napkin - #6 - Branch flows for alternative processing

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/theArchitectsNapkin/archive/2014/08/30/incremental-architectacutes-napking---6---branch-flows-for-alternative.aspxConfronted with an Entry Point into your software don´t start coding right away. Instead think about how the functionality should be structured. Into which processing steps can you partition the scope? What should be doen first, what comes next, what then, what finally. Devise a flow of data. Think of it as an assembly line. Some raw input plus possibly some additional material is transformed into shiny output data (or some side effect fireworks). Here is the Flow Design of the de-duplication example again: That´s a simple sequential flow. Control flows along with the
data. And it´s a one dimensional (1D) flow. There is just one path from start to end through the graph of processing nodes. Such flows are common. For many functions they are sufficient to describe the steps to accomplish what´s required. And as you saw in the previous chapter they are easy to translate into code:static void Main(string[] args) { var input = Accept_string_list(args); var output = Deduplicate(input); Present_deduplicated_string_list(output); } Streams causing alternative flows So much for the happy day. But what if an error occures? Input could be missing or be malformed. Sure you...(Read whole news on source site)

Home