.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

Scaling StrokeThickness

Posted By:      Posted Date: October 01, 2010    Points: 0   Category :WPF


I found quite a few threads about this topic when i searched, I was not able to get this working anyway.

What i want to do, I want to apply a scaletransform to the strokethickness of a line

  <Grid Name="grid">
    <Line Name="testLine" X1="0" Y1="0" X2="100"

View Complete Post

More Related Resource Links

Performance: Scaling Strategies for ASP.NET Applications


Performance problems can creep into your Web app as it scales up, and when they do, you need to find the causes and the best strategies to address them.

Richard Campbell and Kent Alstad

MSDN Magazine April 2008

Advanced Basics: Scaling Up: The Very Busy Background Compiler


One of the features that distinguishes Visual Basic® from the other languages in Visual Studio® is its use of a background compiler (BC). The BC runs from the moment you start up a Visual Basic project until the time you close the last one down.

Matthew Gertz

MSDN Magazine June 2005

Troubleshooting IIS 7 network performance issues and TCP Chimney Offload, Receive Side Scaling, and

There is a lot of posts on http://forums.iis.net related to network performance.  Actually, there was two today!.  The problems can be different, but the common thread seems to be network performance.  Windows Server 2008 (and R2) enabled a new network feature by default which has been referred to as "Scalable Networking Pak".  Some people refer to the feature as TCP Chimney Offload.  Either way, in my experience this feature causes more issues than it solves.  If you are having a network related issue or performance, this is a easy setting to check and verify if disabling portions or all of them can resolve the issue.   KB article on TCP Chimney Offloadhttp://technet.microsoft.com/en-us/network/dd277645.aspx KB Article how to show your settings and disablehttp://support.microsoft.com/kb/951037 I strongly encourage test these changes in a non-production environment before making changes to your production systems! Enjoy, Steve SchofieldMicrosoft MVP - IIS

How to Stop background image from scaling

I need a WPF window that has a background image and I desire it not to scale beyond a certain point or maybe even at all.  I am trying to duplicate the image effect of this site...  http://richardpwalton.co.uk/ - When you scale the window it only scales down so far and then starts to clip but I don't know how to do that in WPF. Any suggestions? yes i am relatively new to WPF :)

Scaling Single Server Farm by adding a seperate Database server

Hi, Right now, I am having a sinle server farm SharePoint 2010 installation. Now I need to seperate out the SQL server from the same box and want to move it to the new SQL server. In short , I need to have a seperate SQL server in my current farm (which is single server farm installtion). Can some one point me to the steps for the same ? Thanks.

Search Searver 2010 - scaling farm topology

I am trying to make sure I fully understand how to scale out my small search server 2010 farm topology.

I understand that in 2010 a server is generic and flexible, providing any number of services and is not role specific (http://social.technet.microsoft.com/forums/en-us/sharepoint2010setup/thread/A3CA629C-C006-4002-AACF-74FDBFD6F06D)

I have reviewed Microsoft's various Sharepoint Search 2010 PDF documentation for planning search deployments.

I seem to be confused on probably the easiest part of all this. 

Here is my server architecture I would like to implement (typical small farm architecture):

- app-msss-3 query server, WFE, index partition 1, query component 1m
- app-msss-2 query server, WFE, index partition 1, query component 1
- app-msss-1 crawl server, hosts CA
- app-db (contains search DB instance)

Here are the steps I performed.

1. Install Search Server 2010 on app-msss-1 (farm install, complete), create farm
2. Setup CA and search center on app-msss-1
3. Install Search Server 2010 on app-msss-2 (farm install, complete), join existing farm 
4. Add index partition to app-msss-2

OpacityMask on StrokeThickness



I have a line for which I want the opacity to fade out across the thickness of the line. I only manage to apply a LinearGradientBrush along the length of the line as in the sample below.

    <Line X1="400" Y1="300" X2="600" Y2="300" Stroke="Red" StrokeThickness="

Scaling an image source

I have an image in which I set the image.Source to a writeableBitmap - I want to know how to scale the image.Source so the whole writeableBitmap fits into the image control initially, to avoid having to scroll.

Functioning of K-Means (Scaling of values; Distance between discrete data)

Hello everyone,

at the moment I try to figure out how the implementation of k-means in SSAS works, especially how the disctance between 2 datapoints (with continuous and discrete variables) is measured.
I figured out, that in case of only coninuous variables the square of the eucledian distance is used.
Furthermore I figured out that the distance between only discrete variables is described as 1 - the probability of that value in a cluster.

My questions are:

-How does the algorithm work with continuous AND disrete variables? Is the distance calculated by sum the eucledian distance (e.g. 13,2) and the probability of a discrete value in a cluster (e.g. 0,4)?

-Is it necessary to scale the continuous variables to a lower range, maybe -1 to 1? How does SSAS handle this job

Unfortunately there are no sufficient documentations...



Forecast: Cloudy: Performance-Based Scaling in Windows Azure


One of the great features of cloud computing is the ability to scale up or down to serve the needs of the application owner. We'll show you a technique for programmatically scaling your app in Windows Azure based on application performance.

Joseph Fultz

MSDN Magazine October 2010

Binding of Path and scaling/resizing it


Hello Everybody,

i have a problem with a Path that I want to resize to it's parent element size.

This is my User Control:


<Border x:Name="PathContent" BorderBrush="Black" HorizontalAlignment="Stretch" CornerRadius="16<
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