How to profile a silverlight application

On August 29, 2011, in Performance, by admin

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) […]

Tagged with:  

Optimize Silverlight applications for smaller size

On August 29, 2011, in Performance, by admin

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 […]

Tagged with:  

Silverlight MVVM light toolkit best practices

On August 28, 2011, in MVVM, by admin

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 […]

What is Dependency Property

On August 28, 2011, in Silverlight, by admin

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 […]

Tagged with:  

Silverlight Auto logout user after 10 minutes of inactivity

On August 23, 2011, in Tips, by admin

  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 […]

Tagged with:  

Debugging tips for SharePoint

On May 19, 2010, in Sharepoint Tips, by admin

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 […]

Tagged with:  

ASP.NET: Controlling Caching in ASP.NET Web Forms

On May 19, 2010, in Asp.net, by admin

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 […]

Tagged with:  

.NET Tip: Using a Nullable Value Type

On May 18, 2010, in CSharp tips, by admin

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 – review

On January 27, 2010, in Nokia, by admin

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 […]

Tagged with:  

Nokia 5800 XpressMusic – Review

On January 27, 2010, in Nokia, by admin

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 […]

 
Page 2 of 212
WordPress主题