Do you or do you not know about the VERB… Cause everybody’s heard that the VERB is the word

Like Peter Griffin said the bird is the word, I say the VERB is the word. What I’m I talking about? HTTP Verbs.

I have been recently playing with Windows Azure Mobile Services commonly called ZUMO. In doing so I ran into a bit of a snag. I was trying to do CRUD operations from an MVC 4 app when i kept getting an error on updates. As many people know the typical mapping for REST APIs is something like this:

Read: HTTP GET
Insert: HTTP POST
Update: HTTP PUT
Delete: HTTP DELETE

While I had no issues inserting or reading the update action was failing with the following error “{“MethodNotAllowed“}. After some digging I was able to spot the issue. The ZUMO REST API is expecting the PATCH Verb instead of PUT.

I replaced the following:

var request = new HttpRequestMessage(HttpMethod.Post, BaseAddress);

with

HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Add("X-ZUMO-APPLICATION", ApplicationKey);
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
var request = new HttpRequestMessage(new HttpMethod("PATCH"), BaseAddress + contact.id);

That little tweak did the trick!

Hope this helps others playing with Windows Azure Mobile Services too. If you haven’t go ahead and give it a try :-)

Cloud adoption: It's not about the price, stupid

Reblogged from GigaOM:

Click to visit the original post

Don't look now, but there has been a shift in thinking around why companies move -- or should move -- workloads to the cloud. A few years ago, most of the talk was all around saving money. Look at how cheap Amazon(s amzn) Web Services are! Pennies per hour to spin up instances! We don't need to buy more servers!

Read more… 449 more words

It has always been about scaling resources quickly not minimizing dollars. But a good scaling down strategy WILL save money also. The problem is that the same thing we do in our On-Premise servers we do in our Cloud instances... we over-spin.

CloudCheckr Raises $2M To Help AWS Customers Analyze Resources, Costs And Security

Reblogged from TechCrunch:

Click to visit the original post
  • Click to visit the original post

Cutting through Amazon Web Services complexity is becoming quite a business. CloudCheckr is the latest to leverage AWS' lack of tools for analyzing resources, costs and security with the news of a $2 million investment and the general availability of its freemium service. The Series A round was led by Garrison Capital with Genesee Capital also participating.

Here's how it works.

Read more… 501 more words

More and more we see monitoring as the key pillars in lowering OpEx for cloud.

Mejorando mi App con Windows Azure Mobile Services!

Reblogged from MSEstudiantes Tech:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

En este post: exploraremos la aplicación inicial de WAMS, la mejoraremos con scripts desde el servidor, y le agregaremos identificación con Microsoft Account por medio del Live SDK! 

Es hora de mejorar las aplicaciones de Windows 8, y que mejor que hacerlo con Windows Azure Mobile Services! ;)

Es por ello que si se han perdido la introducción que he realizado sobre Windows Azure Mobile Services (WAMS) es mejor que lo vean:

Read more… 815 more words

iPhone/iPad Simulator for Visual Studio at NashDotNet

NashDotNet

If you have been looking for a quick way to see how your MVC pages would render on an iPhone or iPad… I have some good news for you. This week while attending aspConf i saw Scott Hanselman run an MVC app directly from Visual Studio in what looked like an iPhone Simulator (link). Indeed it was, I googled and found a blog post that detailed how to do this. I will try to explain in detail for those interested.

Step 1: Download Microsoft WebMatrix 2.0 RC

You will need to download WebMatrix 2.0 RC in order to get the browser extensions to support this.

Step 2: After install, Open a site in WebMatrix

Step 3: Select a site and click Ok

Step 4: Select Add New from the Options in the Run Menu

Select Add New From the Run Menu

Select Add New

Step 5: Select the iPhone simulator from the Browser extensions gallery. Either option (iPhone/iPad) will work as it is the same simulator.

Select iPhone Simulator from the Browser extension gallery

Install iPhone (or iPad) Simulator

Step 6: Open Visual Studio with you Web Project. From the Debug control select Browse with

Select Browse with in Visual Studio

Select Browse with in Visual Studio

Step 7: Add a new Browser to the list

Select Add

Select Add (new browser)

Step 8: in Program, look for Electric Plum’s Simulator

Browse for the simulator

Browse for Electic Plum’s executable

Step 9: Navigate to this Directory:

C:\Users\USER\AppData\Local\Microsoft\WebMatrix
\Extensions\20RC\iPhoneSimulator\
ElectricMobileSim\ElectricMobileSim.exe
C:\Users\USER\AppData\Local\Microsoft\WebMatrix\Extensions\20RC\iPhoneSimulator\ElectricMobileSim\ElectricMobileSim.exe

Browse for: ElectricMobileSim.exe

Step 10: Add arguments and Rename the Browser.

Argument “1″: iPhone Simulator

Argument “2″: iPad Simulator

Arguments and Rename

Arguments: 1 – iPhone Simulator, 2 – iPad Simulator

Step 11:

Run the project with this new browser

Run the project with this new browser

Step 12: Enjoy!

You can now test out your web app on this iPhone or iPad simulator. While nothing compares to actual testing on a device this is a great option for .NET Developers who need a quick way to test directly from Visual Studio their work. This is great for testing the new MVC 4 Mobile templates too.

For non .NET Developers you may want to try out Adobe’s Shadow also; it is a Chorme extension that connects to physical devices too.

Update: David Neal from NashDotNet also mentioned that this is a great way to develop quick mockups when you need it as you can take screenshots from the simulator.

Connect VS2010 to TFS 11 express

Reblogged from Bernardino's Blog:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

Today I had a little issue trying to create a new project from VS2010 to my just recently installed TFS 11 express :

I confirmed in security manager that I had all access possible....

To fix it I installed Team Explorer for Microsoft Visual Studio 11 Beta  from here

It installed the VS 2011 beta shell, from here Team Explorer works as expected and a new project can be created:

Read more… 47 more words

WOL + tablets make the world go round

I had played  with WOL (Wake-On-LAN) some years ago but now with the way tablets are spreading and being able to RDP from them to any computer this old school trick makes it too easy to turn your computer on from anywhere and be able to log into it remotely (for those little things that your mobile browser just can’t do yet).

I want o give a shout out to Mathew who’s post had me up and running in Win7 in less than 5 minutes.

 

PS: try the WOL Sniffer, it works like a charm.

Blogging from the other side… (The Last Post By Derek Miller)

I have been meaning to write this down but as always the muse has escaped my thoughts these past few days. I was inspired a while ago by a writer called Derek K. Miller; like a viral cat video his last tweet and his famous “last post” caught my eye. After reading them and googling the heck out of him and his story I asked myself if I would do such a thing when I died and the answer (which wouldn’t surprise those who know me) would be Absolutely YES!

Now the question would be… what would I write about. I believe my family and loved ones would take a huge chunk of space but I also would love to recall if possible anyone who ever touched my life in any way, from childhood to adulthood and so on. Now imagine if every person in the world had that same chance; to have the the knowledge that their time was near and being able to send a message from the other side. What would some of the ones that we lost too son would have said.

I think Derek as many other had done in the past made clear that death is not the end that we can keep tweeting and blogging from the other side. I think we should all start the habit of scheduling tweets and posts and along the way compose a journal of the whom and how that changed our lives. You might not be surprised by the message your grandmother or wife would leave you but wouldn’t it be nice if we could all tell that person who gave you a ride or shared a cab with you on a rainy day in a distant location of how that moment made you feel. I do think it would make some of our digital noise more pleasant. Now go and read his story and start writing yours.