Friday, July 06, 2012

Silverlight debug problem & solution


You can run a Silverlight project, but can not debug the Silverlight code. The debug point is not reached at all. What could be the reasons & how to solve it?


1. Is this issue with any silverlight applications on your machines or a specific app?To know this you can create a test silverlight app & try to debug that.

2a. if issue with all sl apps, check if Silverlight runtime is same developer_runtime, if not install it

2b. if issue is with specific app, in vs web-project properties make sure that the debugging check boxes are, sql-no asp-yes silverlight-yes native-no

3b. if 2b does not work then, check if the website is actually using right xap? - Remove Silverlight app from website - Delete whole ClientBin folder - Add SL app again

Does anyone has additional steps to resolve this (based on experience) ??

Thursday, May 24, 2012

How to store and read news/articles offline?


So you are someone who regularly reads articles/news items from news/tech site or a blog
There is a technique to store these in your smart-phones/tablet & read them offline! and its automatic

Step 1: Create your ifttt account (if not already)

Step 2: Create your Pocket (http://getpocket.com/) account.

Step 3: Get url your favourite feed for example
Seth Godin's feed (http://sethgodin.typepad.com/seths_blog/atom.xml)
or Most commected TOI articles (http://timesofindia.indiatimes.com/rssfeedmostcommented.cms)

Step 4: Install Pocket on your Smartphone or tablet

Step 5: Go to ifttt website & create a task
If 'new items' in your feed
Then 'Save for later' to your pocket

That is all you need..
ifttt will read the feed & give them to pocket, which will save articles when you are online & you can read them later.. offline!

Sunday, March 18, 2012

Ummeed waali dhoop

What made me keep smiling throughout this weekend?
Its the coca cola song 'Ummeed waali dhoop', definitely the most positive thing i heard in recent times

Ummeed waali dhoop, Sunshine waali aasha

Rone ki wajah hai kam, Hansne ke bahane jyada
Zidd hai muskuraayenge, Khush rehne ka hai waada

Umeed wali dhoop, Sunshine waali asha

Tum dil se agar puchhoge, Woh khush rehna hi chahe
Jab sache mann se maango, Toh khul jaati hai raahein
Toh khul ke khusi lutaao, Ye kya aadha-aadha

Umeedon wali dhoop, Sunshine Wali asha
Umeedon wali dhoop, Sunshine Wali asha

Believe in a happier tomorrow

Thursday, September 29, 2011

Monday, April 25, 2011

Calvin: Life is this square of sidewalk

ch110419

Let’s say that life is this square of the sidewalk. We are born at this crack and we die at that crack. Now we find ourselves somewhere inside the square and in the process of walking outside of it. Suddenly, we realize our time in here is fleeting. Is our quick experience here pointless? Does anything we say or do in here really matter? Have we done anything important? Have we been happy? Have we made the most of these precious few footsteps?

Another one on Life

download

Saturday, January 15, 2011

Musings

Lily "why he had to be an architect?".
Ted "because I have to be an architect".
Lily "Listen to what the world is telling you to do, and take the leap."
From: How i met your mother (Season 4 Episode 24)
http://melvin-updateofalifetime.blogspot.com/2009/08/listen-to-what-world-is-telling-you-to.html

Tuesday, December 14, 2010

Silverlight Features

AutoComplete Box
Jeff Wilcox – Introducing the AutoCompleteBox
http://www.jeff.wilcox.name/2008/10/introducing-autocompletebox/

Resize with Browser
Silverlight Tip : How to Scale your entire App and its Elements to your Browsers Size http://blogs.silverlight.net/blogs/msnow/archive/2008/08/26/silverlight-tip-of-the-day-33-how-to-scale-your-entire-app-and-its-elements-to-your-browsers-size.aspx
Improve your user experience using the AutoCompleteBox - Jonas Follesø's
http://jonas.follesoe.no/2008/10/28/improve-your-user-experience-using-the-autocompletebox/
On browser window size change/Full screen change
http://forums.silverlight.net/forums/p/137122/306300.aspx
Getting Silverlight Plugin to resize on resize of Browser Window
http://forums.silverlight.net/forums/p/4331/13007.aspx

Managed Extensibility Framework and Silverlight MVVM
http://visualstudiomagazine.com/articles/2011/01/01/using-mef-to-expose-interfaces-in-your-silverlight-mvvm-apps.aspx

Thursday, December 02, 2010

Silverlight Applications

http://grapholite.com/
online flow charting solution.
http://www.telerik.com/products/facedeck.aspx
Silverlight Facebook Client for Desktop
iMeta Agility
http://agility.imeta.co.uk/Cloud/
Silverlight Eyes - SliBall
http://www.pay4foss.org/jumpstation/sliball/
DeepZoom
http://www.wssdemo.com/livepivot/
http://www.mumbaiindians.com/DeepZoom.aspx
http://thejit.org/demos/
http://roomseeker.eu/content/pivot.htm

Monday, November 22, 2010

Vista

How to disable/stop Vista’s Search Indexing (Windows Search)
http://4sysops.com/archives/how-to-disable-vista%E2%80%99s-desktop-search-indexing-windows-search/
  1. Navigate to Control Panel/System and Maintenance/Indexing Options. There you can remove all locations or only those you use rarely.
  2. It is also possible to disable indexing for a certain drive or enable it only for selected folders. You can do this by changing the Properties of a drive or folder (right click on drive letter in Windows Explorer).
  3. The fasted way is to simply disable the Windows Search service. Run Services (just type “Services” at the Start Search bar), right click on the Windows Search service and select “Properties”. Then choose “Disabled” for the start type. Afterwards, you have to stop this service by right clicking on it and selecting “Stop”.

Start - Control Panel - Indexing Options
Modify - Show All Locations
Change the folders that are indexed
Under Advanced, you select file types and reset the index

 
 
 

Tuesday, October 26, 2010

Handling DataGrid.SelectedItems in an MVVM-friendly manner

Handling DataGrid.SelectedItems in an MVVM-friendly manner: "

An interesting question from one of the MVVM Light users today:

Is there an MVVM-friendly way to get a DataGrid’s SelectedItems into the ViewModel?

The issue there is as old as the DataGrid (that’s not very old but still): SelectedItem (singular) is a DependencyProperty and can be databound to a property in the ViewModel. SelectedItems (plural) is not a DependencyProperty.

Thankfully the answer is very simple: Use EventToCommand to call a Command in the ViewModel, and pass the SelectedItems collection as parameter. For example, if the command in the ViewModel is declared as follows:

public RelayCommand<IList> SelectionChangedCommand
{
get;
private set;
}
and (in the MainViewModel constructor):
SelectionChangedCommand = new RelayCommand<IList>(
items =>
{
if (items == null)
{
NumberOfItemsSelected = 0;
return;
}

NumberOfItemsSelected = items.Count;
});

Then the XAML markup becomes:

<sdk:DataGrid x:Name="MyDataGrid"
ItemsSource="{Binding Items}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<cmd:EventToCommand
Command="{Binding SelectionChangedCommand}"
CommandParameter="{Binding SelectedItems,
ElementName=MyDataGrid}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</sdk:DataGrid>

I slapped a quick sample and published it here (VS2010, SL4 but the concept works in SL3 and WPF too).


Cheers!


Laurent



"

Monday, October 25, 2010

WCF

WCF : BasicHttpBinding compared to WSHttpBinding at SOAP packet level. ***
http://geekswithblogs.net/claeyskurt/archive/2008/04/22/121508.aspx
Winterdom » Blog Archive » WCF Configuration Complexity **
http://winterdom.com/2007/02/wcfconfigurationcomplexity
WCF Binding: BasicHttpBinding vs WsHttpBinding - Fabian's Blog **
http://www.apexa.net/Blog/web_design_Blog_20080911.aspx
Configuring Message Logging – MSDN **
http://msdn.microsoft.com/en-us/library/ms731859.aspx

Stephen Covey’s Five Metastasizing cancers


Watch out for an organizational culture that produces any of these five:
1.    Criticizing
2.    Complaining
3.    Comparing
4.    Competing
5.    Contending

The above culture shows a victim mentality. Instead, strive to uphold the following values in your organization:
1.    Gratitude
2.    Forgiveness
3.    Abundance

Websites

Interview
You need to identify this type of applicant quickly & the quickest way is the short coding interview. You don't even have to have them come into the office.
Get a private site right here where you can watch your job candidate write code over the internet in real-time.
http://i.seemikecode.com/
 
Task management - Online
http://www.producteev.com/
 
Photo Gallery
http://tympanus.net/codrops/2010/06/27/beautiful-photo-stack-gallery-with-jquery-and-css3/
 
Simple Diagrams
A small desktop application that helps you express your ideas quickly and simply.
There's just enough functionality to describe a thought or capture a process.
It keeps the visual expression clear through the simple design of library items and backgrounds.  

http://www.simplediagrams.com/

 

We Used To Wait
http://www.thewildernessdowntown.com
An interactive short film for Arcade Fire's "We Used to Wait" track, utilizing Google's Chrome Browser, Google Maps and HTML5
http://www.thefwa.com/article/fwa-site-of-the-year-2010