I needed to post an object from Javascript to an Action using Asp.Net Mvc, and realized it is not as straitghforward as I thought it would be. So, I put together a little example which can be used for reference in the future.
Wednesday, September 5, 2012
Monday, August 13, 2012
A sample JQuery Carousel
I recently had to display pages of commercial flyers on a Carousel, where they could be flipped over. After some research I found Chris Coyier's blog and his excellent JQuery plugin that allowed me to implement my own carousel. He baptized his JQuery plugin as Moving Boxes and you can find his introductory article here and a live running sample here.
Thursday, July 12, 2012
HRESULT: 0x80070057 (E_INVALIDARG)
Very annoying problem for a good while today. I happened to be reverting my code back to a previous version of the repository on SVN. We needed to roll back some changes, and to my surprise after going back to the previous version I wasn't able to build the solution anymore, showing me a weird error:
"Could not load file or assembly … The parameter is incorrect … HRESULT: 0x80070057 (E_INVALIDARG)".
"Could not load file or assembly … The parameter is incorrect … HRESULT: 0x80070057 (E_INVALIDARG)".
Tuesday, June 5, 2012
Delving into Android Apps Development
I always had this frustration with native mobile apps, of never having had the opportunity to develop one. Maybe it was the lack of a real chance in my company or maybe lack of free time to do it. Anyways, Last week I decided to get through with something basic for Android and publish it on the Google Play market.
Friday, May 4, 2012
How to solve Http 401 error for Http Put and Delete with WCF Rest
With the popularity of WCF Rest services, it is now a bit more common to issue HTTP PUT and HTTP DELETE requests. I don't remember using those verbs before in my career. Whenever I needed to delete something or update something, I would use HTTP POST and then handle the data in the back end. But times have changed, and with WCF Rest embracing the HTTP protocol, you are more likely to work with those two verbs more often.
Tuesday, April 3, 2012
Basics of SQL Ranking Functions
This is a subject that I didn't know much about until I had to really investigate and use a month ago. Ranking Functions, that is SQL commands to obtain results sets with a column containing some "order" or ranking related information.
Friday, March 16, 2012
Copying data between classes with Automapper
Sometimes you have similar classes in your project and you want to copy data from one instance of a class to another. In my old days I used to do that myself going field by field. That was until someone told me about Automapper.
Subscribe to:
Posts (Atom)