One of our early blogs was about extracting images from databases, websites and showing them on the screen. The blog(see it here) dealt with a) Retrieving images from the www b) Retrieving images from the database when retrieved as a binary. We realized there are some more scenarios to take care of here c) Save […]
Tag Archives: Silverlight
WPF/Silverlight Canvas Vs Single Cell Grid
I’ve often been asked the question of when should we use a Canvas and when a Single Celled Grid…. This is a snapshot of the an MSDN article . Our inputs are marked as [Cennest:]. The source can be read at http://msdn.microsoft.com/en-us/magazine/ff646962.aspx A single-cell Grid is just like a regular Grid except without any row […]
Improving WPF/Silverlight- WCF Communication!
While working on a recent assignment related to establishing and optimizing duplex communication with Silverlight and WCF,we learnt quite a lot of new concepts like HttpPollingDuplex binding with multiple messages mode Http Long Polling designs etc. While most of these concepts were new we did get a bulb flash on how to improve basic WPF/Silverlight […]
Monetize your Silverlight Videos!!
Silverlight streaming seems to have caught the fancy of many and a lot of sites are now streaming Silverlight videos.. however very few are making money from doing so!!.. Recently came across an Open Source Silverlight Media player called OpenVideoPlayer which lets you do just that!!.. Dynamically Insert ads into your media files with configurations […]
Silverlight:- Browsing without a Browser??
Wanna navigate to Google.com from your Silverlight application?? Just put the following code HtmlPage.Window.Navigate(new Uri(“http://www.google.co.in/”) We all know THAT…so what’s this blog all about??.Now lets take this application Out of Browser This is what you will get.. WHY???:- Because there’s no browser when running out of browser, so you can’t use the DOM and Scripting.Html […]
MEF ,Prism and the Surrounding Confusion!!
While reading up on Prism 4…the integrated Prism which ships in .NET 4.0, i saw people still wondering on how MEF and Prism compare…are they the same…do they complement….etc etc..Having seen these questions almost 2 years back with Prism(then called the CAG) and MEF were just announced i was surprised the confusion still exists… Here […]
Location Based Applications in Silverlight Using Bing Maps!
Going to the headquarters of Microsoft..Redmond is every developers dream…so the first time i happened to go there i was truly overjoyed!!. I tried my best to describe the entire town to my family and friends but pictures were never enough…and then came in Bing Maps…now they can virtually (pun intended:-)) walk the streets of […]
Bulb Flash: Foreign key objects from WCF service not propagated to Silverlight client!
Consider the case :- WCF uses LINQ to SQL to connect to a DB with extensive foreign key relationships. You set Serialization Mode= Unidirectional to ensure all the relationships and DB objects can be propagated to the client as datacontracts Silverlight client connects to the WCF service. In many of the cases(i could not come […]
Bulb Flash: Controls in WPF/Silverlight
Grabbed this screenshot from a Virtual Tech Day webcast. Good snapshot explanation of which control to use when Hope this clears some confusion! Cennest!!
Bulb Flash: Debugging DB entity creation in Silverlight!
Your silverlight client speaks to a WCF service which in turn uses some complicated logic (say LINQ to SQL) to interact with the DB. You create an instance of the DB object on the client side(as per User’s inputs) and send the object to the service for saving. You are greeted with a Your […]