DCSIMG
Csharp,Visual Studio 2008 - Alex Golesh's Blog About Silverlight Development

Browse by Tags

All Tags » Csharp » Visual Studio 2008 (RSS)

What’s new in Silverlight 3 and Expression Blend 3 – DevDay (22 July 2009)

Silverlight 3 will be released very soon . Many new features were added, many improvements were made. Come and see me presenting what’s new in Silverlight 3 and Expression Blend 3 at Microsoft Israel Offices, 22 July 2009. I will talk about new features, new and improved technologies. Will see Silverlight 3 tools and features in current version of Visual Studio 2008 and in upcoming release of Visual Studio 2010 (Beta). Will see what’s new in Expression Blend 3. Many cool demos, tips & tricks...

Silverlight & Visual Studio 2010 Beta

As you probably know, Visual Studio 2010 Beta 1 was released to MSDN subscribers and soon will be released to general public here . What is new in this release for Silverlight developers? First of all – Silverlight is a first class citizen in this release, like WPF for example. More good news - now we will be able to create/manage both version of Silverlight projects (2 and 3)! When you choosing to create a new Silverlight projects, you will be prompted with dialog which allows to select the version...

What’s new in Silverlight 3 at WDC (03 May 2009)

Silverlight 3 is long awaited upgrade for the current version of Silverlight. Many new features were added, many improvements were made. Come and see me presenting what’s new in Silverlight 3 Beta 1 at Web Developers Community (also known as WDC) next Sunday (03-May-2009) at Microsoft Israel Offices. I will talk about current version of Silverlight (a little bit), new features and available tools. Expect cool demos and live coding as usual :) Details and Registration   See you there, Alex

Silverlight 3 Quick Tip #6: Navigation Framework and Uri Routing

Silverlight 3 introduced the Navigation Framework and URI Routing features. Today I’ll show how to use those features. To use navigation features you could either create a new “Silverlight Navigation Application” or simply add relevant references to standard “Silverlight application” In case of standard “Silverlight Application” you need to add reference to “System.Windows.Controls.Navigation” assembly and relevant XAML introduce namespace: xmlns : navigation ="clr-namespace:System.Windows.Controls;assembly...

Silverlight Isolated Storage Maximum Quota

I've been asked couple of times (by clients, eMail and also here in comments ) about maximum size for Silverlight Isolated Storage. From tests I did, seems that maximum quota size is theoretically limited by total of long.MaxValue number of bytes. 1: // Request more quota space. 2: if (!store.IncreaseQuotaTo( long .MaxValue)) 3: //if (!store.IncreaseQuotaTo(store.Quota + spaceToAdd)) 4: { 5: // The user clicked NO to the 6: // host's prompt to approve the quota increase. 7: tbResults.Text...

Quick Silverlight Tip: Silverlight Events in JavaScript and JavaScript Events in Silverlight

Lately I've been asked couple of times about catching managed events in JavaScript and catching JavaScript events in Silverlight managed code. In fact it is very easy, but seems not so obvious... Here it goes. To catch JavaScript event in Silverlight managed code, all your application need to do is to "attach" to event from some HtmlElement you have on hosting page and define some managed EventHandler to handle the event. Sample page as it was auto generated by Visual Studio 2008, MyApplicaitionTestPage...

Quick Silverlight Tip: "InitializeError #2103 - Invalid or malformed application" what is it and how to deal with it?

Today I've seen very strange and unpleasant error while trying to run some freshly created Silverlight application. It said: Code# 2103 Invalid or malformed application: Check manifest Fast search by popular search engines gave me this and this places, but everything mentioned there I've already knew or tried before... So what is it? Let's see what it was and how it was solved. Let's reproduce it. I'm creating new Silverlight 2 project, compiled it it works... My simplest project...

Silverlight & Streaming Media

Lately I'm getting a lot of questions what could be done with Silverlight in in terms of work with streaming media. Today I'll show what could be done. I've built very simple media player based on MediaElement object and prepared some stream to use in my application. The major focus of this post it to briefly show what could be done with stream in Silverlight and not how specifically do it. I'll be glad to answer any specific questions there will be any. First about the stream. I've...

Silverlight application performance - refresh rate & CPU usage

You just wrote great Silverlight application? How about CPU usage? Do you have pretty static application UI and it still consumes 25-30% of your CPU? Probably you have to control how fast Silverlight should redraw the UI. To do it, you need to specify MaxFrameRate property in object initialization, like follows: 1: < asp:Silverlight ID ="Xaml1" runat ="server" 2: Source ="~/ClientBin/ShowFPS.xap" 3: MinimumVersion ="2.0.30523" 4: Width ="100%"...

Silverlight Tip: How to reflect ScriptObject content in runtime

Today I want to show how Silverlight application could "understand" which objects form HTML DOM from hosting page it deals with. The minute before I start, let me show why many of Silverlight developers need it. Lets assume we have some simple HTML/ASPX page, with some JavaScript functionality and JavaScript objects, like follows: 1: < html xmlns ="http://www.w3.org/1999/xhtml" style ="height:100%;" > 2: < head runat ="server" > 3: < title >...

Silverlight TreeView Control

I've created new Silverlight Control - this time it is TreeView control. This time TeeView Templatable & Stylable, supports TreeNodes Drag and Drop. Still not support DataBinding. All binaries, sources and samples at Codeplex . Comments/suggestions is welcome. Enjoy, Alex

Quick Silverlight Tip: Communicating between two Silverlight objects on a single page

Today I'll show how two Silverlight objects (Silverlight applications) could communicate while been hosted on one page. Earlier today I've seen some blog post by Joel Neubeck about Silverlight objects communication. The way Joel does it is pretty traditional, by providing some JavaScript functionality on host page to communicate with each Silverlight application. I'll show slightly different approach: each Silverlight application will communicate directly with another (giving the fact...

My Presentation at IDF Developers Forum

I will present at next IDF developers forum, which will take a place in Tel-Aviv, 27/07/2008. If you are an IDF developer, interested in Silverlight and/or want to get some practical tips & tricks about .NET reflection you more than welcome. See you there, Alex

Quick Silverlight Tip: Initialization Parameters

The scenario: you developing Silverlight application, and you need to pass some parameter inside - for example to define which page will be shown, or to pass user credentials, after he already logged-in in previous non-Silverlight part of application. So, ho you could do it? The answer is pretty simple - "initParams" in Silverlight object construction. The parameters could be named, and not named. Named parameters example: < object data ="data:application/x-silverlight," type...

Path.Data Dependency Property Initialization from String - Take 2

Day or to ago, I've blogged how to initialize Path.Data property in Silvelright 2 Beta 2 from string. In this post I've mention, that probably the best and the right way to do it is develop functionality similar to WPF's PathFigureCollectionConverter object. Now it exists: the porting of PathFigureCollectionConverter functionality for Silverlight 2 Beta 2 in my CodePlex project . Here is usage sample (just add reference to your project): XAML < Path x:Name ="path" Canvas...
More Posts Next page »