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 […]
Monthly Archives: March 2010
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!!
Looking Forward to VS2010!
Few really useful developer friendly features in VS2010 1. Pin your favorite project so that its always available in the recent projects(even after a year!) 2. Double click a variable to highlight its usage all over the current page (no more find all references). Do a Ctrl+Shift+DownArrow to move to next reference 3. Do a […]
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 […]
Migrating ASP.Net MVC 1 to ASP.Net MVC 2
With release of ASP.NET MVC 2, are you planning to migrate your ASP.Net MVC 1 applications. Here are few links which would help you to migrate Eilon Lipton has created migration tool for migrating ASP.NET MVC 1 solutions to ASP.Net MVC 2 solution over here To manually upgrade project one can find instructions at www.asp.net […]
ASP.Net MVC 2 RTM Released
ASP.Net MVC 2 RTM has finally released and available on MSDN for download here Brief on ASP.Net MVC 2 RTM ASP.NET MVC 2 is a framework for developing highly testable and maintainable Web applications by leveraging the Model-View-Controller (MVC) pattern. The framework encourages developers to maintain a clear separation of concerns among the responsibilities of […]
Code For Keeps:- WPF/Silverlight Retrieve Images from DB/Url
WPF and Silverlight are all about images and styling and the one thing i end up doing a lot is extracting images from Databases, websites and showing them on a screen…and the code to do this is really hard to remember. So keep this code in your safe!! 1. Get Image from a byte[]: If […]
Silverlight WCF Communication Issues!
Lets get the context straight first…i am a hardcore Microsoft person..infact i work ONLY on microsoft technologies. But its a fact that the speed at which technology is being churned out its becoming difficult to learn how to make all different pieces work together Although to be fair i think this article is a little […]
Code for Keeps!: Deep Copy For Custom Objects
One of the major issues i had working with database entities/custom objects in Silverlight/WPF was that since “class” is a reference type any changes made to the object would stay in all its copies!!. Lets take an example I have a custom class called Person and i want to show in a listbox all those […]