.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Differences between Silverlight and WCF(Full Framework) drawning

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :WCF
I have created a "Layout Editor" in Silverlight where the user can drag and drop text and image to create a custom layout. A sample of a Layout with one TextBlock can be seen here . The used font is Arial, size 50. This layout (not the image, but the layout itens properties like x,y,font, etc) is upload to the server by a WCF Service, which create the actual image and save it in the database. This is necessary because the text fields can have dynamic text, marked as '%text1', '%text2', where that dynamic values are in the database too. But, when i use the Bitmap and Graphics classes of the full .NET framework the DrawString method resulting drawning don't have the same aspect that your silverlight "counterpart". A result of the server generate image can ben seen here . Anyone can tell me if it is a resolution problem or something? I can't got a single clue about this.   PS: If it is possible, move to the corresponding forum section. I use Silverlight UI, WCF communication and GDI+ drawning, so used WCF forum.    

View Complete Post

More Related Resource Links

Now Playing: Building Custom Players with the Silverlight Media Framework


The Silverlight Media Framework is an extensible and scalable video framework upon which you can create your own player experiences. We'll walk you through a custom player project that displays suggested videos for further viewing after the current video ends.

Ben Rush

MSDN Magazine May 2010

KB951847 update requested after installing .NET Framework 3.5 SP1 (Full Package)

Situation - After performing a fresh install of XP Professional with the following,the Microsoft Windows Update Service prompts for download and install of KB951847.Win-XP-Pro  SP2 - new installWin-XP-Pro  SP3 - updateWindows IE-7 - install.NET Framework 3.5 SP1 (Full Package)When I start the Microsoft Update Service to obtain patches, I am prompted to download and install (KB951847) which is a 69.2 MB download.  My homesystem is on a dial-up line (4-10 hours of connect time).  My work locationhas a 100 MB connection to Internet.  This KB appers to be an update thatshould have been included in the .NET Framework 3.5 SP1 (Full Package).Documentation for KB951847 states that this is the .NET Framework 3.5 SP1.Is this KB already installed with .NET Framework 3.5 SP1 (Full Package)?If Yes - How do I tell Microsoft Windows Update to ignore the install of:KB951847Otherwise, How do I obtain the 69.2 MB file for KB951847 using my Internetat work so I can take a CDROM home for install?Looking at other documentation, I have not installed the following KBsafter installing .NET Framework 3.5 SP1 (Full Package).  Do these needto be installed in order to satisfy the KB951847 via Windows Update?  KB958481 Update for .NET Framework 2.0 Service Pack 2  KB958483 Update for .NET Framework 3.0 Service Pack 2  KB958484 Update for .NET Framework

.net framework 3.5 full package error in installation

i downloaded the full package and when it went to the install part it started then it said an error has occurred deleting all files downloaded :( i have windows xp professional, 200gb hard drive 1.5gb ram hp pavilion a1310n i get this error msg plz help [04/11/10,19:44:09] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603 [04/11/10,19:44:28] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed. [04/11/10,20:01:47] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603 [04/11/10,20:02:08] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed. [04/11/10,21:13:34] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603 [04/11/10,21:14:01] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed. [04/11/10,21:33:18] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603 [04/11/10,21:33:42] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.

.NET Framework 4.0 Full package installation failed with error code: (0x80070643)

I am getting an error when installing .net framework 4.0. I am using the full package installer. OS: windows XP Service Pack 3 Windows Update: Current with all security updates. Error: [7/12/2010, 10:50:49]MSI (C:\eb1ddbb12a129b2fddde4054\netfx_Core_x86.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20100712_105014316-MSI_netfx_Core_x86.msi.txt [7/12/2010, 10:50:49]PerformOperation returned 1603 (translates to HRESULT = 0x80070643) [7/12/2010, 10:50:49] Action complete [7/12/2010, 10:50:49]OnFailureBehavior for this item is to Rollback. [7/12/2010, 10:50:49] Action: Performing actions on all Items... [7/12/2010, 10:50:49] Action complete [7/12/2010, 10:50:49] Action complete [7/12/2010, 10:50:57]C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz - Signature verified successfully for netfx_Extended.mzz [7/12/2010, 10:50:57] C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz Signature verified successfully for netfx_Extended.mzz [7/12/2010, 10:50:57]Signature verification succeeded for netfx_Extended.mzz [7/12/2010, 10:50:57]File C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz, locked for install. [7/12/2010, 10:50:57]Verifying Digital Signatures: C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz Success [7/12/2010, 10:50:57]Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:00

How to detecting Whether .Net Framework 4.0 Full/Client is available.


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full can indicate whether .Net 4.0 is installed. But "the reg key exists" doesn't necessary mean .Net Framework is available.

For example, on Vista/Win7, if .net framework is installed, but user hasn't reboot the os as promoted, the reg key exists, but .net application failed to run.

Is there any way for C++ application to detecting whether .Net Framework 4.0 available?


PollingDuplexHttpBinding support in the full framework in .NET4



I understand from the previous posts in this forum that the client support for PollingDuplexHttpBinding in previous versions of SL was limited to silverlight clients only.

Is there any change in .NET4 / SL4 in this area for supporting full framework clients? We have a scenario where we need firewall-friendly callbacks to a non-SL client from a WCF web service. If folks have other recommendations for bindings that we could consider, please share.



Full Screen Mode In Silverlight

In this post I will show you how to make the silverlight application to run in full screen mode which is provided by the silverlight. You can use the F11 key to run the silverlight application in full screen mode but the toolbar button are visible on the top of screen in case of the F11 key. To go back to the embedded mode you can use the Esc key to exit the full screen mode. But if you want to give this functionality in you application or by using the code here is the code which is used to run in the Full screen mode and also to go back to the embedded mode.

How do I check whether I have installed full .NET Framework or .NET Framework Client Profile?

How do  I check whether I have installed full .NET Framework or .NET Framework Client Profile?
When you learn you excel; when you learn you achieve; when you learn you succeed.

Ingredients for Perfect Web App Recipe , Silverlight 4.0 + WCF RIA Service+ Entity Framework

When Silverlight launched in 2006 , world saw it merely as a flash replacement but with Silverlight 4 things have changed a lot .Now Silverlight far ahead from its adobe competitor at least in terms of technology implementation and rich development environment .RIA enabled Business Apps with Silverlight is not just a illogical stich of technology concept but it is a well thought architectural paradigm shift ,In this post i am going to introduce RIA services in .Net framework 4.0 using Silverlight .

Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.

Serving Silverlight Apps from Windows Mobile

Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Creating a Generic Entity Framework 4.0 Repository

With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework.

The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. To set things right, Microsoft proactively moved forward with improving Entity Framework, in time for the 4.0 release of the .NET Framework. This is good news because my initial impressions, so far, have been nothing but positive.

ASP.NET 4.0 Dynamic Data and Many to Many Entity Framework Entities

I did not play much with Dynamic Data controls in VS2008 and just made a cool discovery in VS2010 Beta 2. This may not even be new, but as I'm sitting 30,000+ feet over the Atlantic ocean, I don't have access to VS2008 at the moment to check.

Building a 3-Tier App with Silverlight 3, .NET RIA Services, and Azure Table Storage

Silverlight 3, .NET RIA Services, and Windows Azure Services Platform makes a 3-tier Cloud application easier to build: Silverlight 3 as presentation tier, .NET RIA services as the business logic and data access tier, and Windows Azure Table as the data storage tier. The sample application in this article demonstrates the architecture with a simple Survey application with all these technologies working together from Windows Azure.

Silverlight Simple Animation

Silverlight has several built in techniques for animating controls. Many of these technologies are particularly useful for creating simple animations meant to decorate a web page with eye catching movement that draws the reader's attention. In this post I will skip over these decorative technologies, and instead show how to create a simple animation using a technique similar to those used in many games.

Feature available to Silverlight 4 with VS 2010.

In Part I of this article series we have seen some features available to Silverlight 4 with VS 2010. We will continue to explore more in this article.

Silverlight Slideshow Viewer for SharePoint

This series will walk through the Building Blocks that I have created to demonstrate and improve the SharePoint end user experience. I have been using many of these techniques in my developer focused demos for SharePoint 2010 (and in some cases SharePoint 2007). My plan is to use this post series to distribute my code and provide more detail on the why and the how of many of my code samples
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend