Try profiling with the Visual Studio profiler in order to get a good measure of your managed code and the native code executing within Silverlight. The profiler will help point you to where you’re spending the most of your time (what the hot path’s are) and whether or not your spending it in framework (SL) [...]
When putting content on the web, it’s important to get that content to the user as quickly as possible. In general, reducing the amount of data users need to download is a big step in the right direction. As Silverlight applications are usually linked with rich user interface these includes lot of images and other [...]
Basic Usage of MVVM-Light Intialize the DispatcherHelper in the App.cs file’s Application_Startup function Create ViewModels from the BaseClass Always Create a ViewModelLocator class, which contains all your view models and is Linked in your application Resources Use RelayCommands to expose Functions to your view Learn when to use the DispatchHelper. Clean-Up Ideas: When appropriate, add [...]
A dependency property is a property on one object whose value depends on some other object. So, for instance. The value of the FontFamily property of a TextBox can (and usually does) depend on the FontFamily property of its container. If you change the property on the container, the value on the TextBox changes. The [...]
Many projects have requirement to logout a user after some time of Inactivity user has not performed any activity for past 10 minutes we need to auto logout the user. Solution Use DispatcherTimer SMNetworkTimer = new DispatcherTimer(); Sample implementation App.xaml.cs Declare a timer in app file as as follows public static System.Windows.Threading.DispatcherTimer _Logouttimer [...]
Debugging on SharePoint is much the same as debugging any other ASP.Net application…you can use the same techniques. Here are some of my tips for diagnosing & solving your problems… Debugging starts with your first line of code As you start writing some code you need to bear in mind that at some point you will need [...]
ASP.NET allows you to cache pages. The means that when the code behind the page runs, it produces HTML, the HTML is sent down to the client, however a copy is stored in the memory of the web server. If the same page is requested again, then the page is retrieved from the cache and [...]
How often do your programs grab some data from a database and throw the values returned into local variables without giving the data another thought? I used to, until my programs started throwing exceptions because of nulls in the data. So, what did I do? I checked every field coming back from the database that [...]
Nokia N97 NAM – Specs Overview Regions available Canada Technology GSM 850/900/1800/1900 MHz UMTS 850/1900/2100 MHz Packet Data GPRS, EDGE, HSDPA SIM Card Yes World Phone Yes Operating System Symbian v9.4 (S60 5th Edition) Processor ARM11 434 MHz Internal Flash Memory 32 GB RAM No ROM No GPS Yes FlightMode Unknown Hearing Aid Compatible Unknown [...]
Nokia 5800 XpressMusic – Specs Overview Regions available Canada Technology GSM 850/900/1800/1900 MHz UMTS 850/1900 MHz Packet Data GPRS, EDGE, HSDPA SIM Card Yes World Phone Yes Operating System Symbian 9.4 with S60 5th edition Processor ARM 11 369 MHz Internal Flash Memory 81 MB RAM 128 MB ROM 256 MB GPS Yes (A-GPS) FlightMode [...]


