Magento + .Net Framework, simple order preview app

Magento + .Net Framework, simple order preview app

For those of you who are into kinky stuff :) I made a simple, more of a proof of concept, application that sits in Widnows taskbar and shows the order info in balloon popup. Took me little more than half of hour to get this working. Almost forgot how great C# is :)

Magento has this great feature, rss feed for orders. You can access it via link http://myshopsite/rss/order/new. It requires authentication, so you need to provide Magento user and pass to access this link. Idea I wanted to play around was how to get this info in my windows app. It’s really, really simple. Below is the screenshot of this little app for you to see what I’m talking about.
simpleorderpreview-proofofconcept

And here is the application it self  simpleorderpreview and full source code (Visual Studio 2008 Express C#, entire solution project) acmnewproducts.

When you un-archive  files from simpleorderpreview there is only one thing you need to do prior to running .exe file. You need to open ACMNewProducts.exe.config and set username, password and url of your own Magento shop. That’s it. Now you can run the app.

One click on Magento icon inside the taskbar executes show order process, while double cliking the icon closes the application.

I will not go into the details in this post on how this works. Basicaly it’s simple XML parser. Most important part is the HTTP authentification, which you can see in code source code.

Hope you find this usefull, something to play with.

5
Top

Enjoyed this post?

Subscribe to our RSS Feed, Follow us on Twitter and spread it to your friends!

Author

Branko is Inchoo's CTO with over 3 years of active / everyday full time Magento development.

Other posts from this author

Discussion 5 Comments

Add Comment
  1. d3signr

    Great Stuff! Thanks for sharing it!

  2. Pingback: molotov.bliss › Tools — WordPress | molotov.bliss

  3. Hi! Great feature! But for me it doesn’t work. When I run the exe, an error alert say me that it doesn’t work. I use Windows xp on my Pc.

  4. Great example, this helped a lot with another project I’m working on, thank you!

  5. seeal

    need any more to work on windows XP, DLL?? doesn´t work :(

Add Your Comment

Please wrap all source codes with [code][/code] tags.
Top