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

Top 5 Contributors of the Month
Melody Anderson
Post New Web Links

Is .net plateform dependent or independent??

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :ASP.Net

Can any 1 give a proper explanation of this

View Complete Post

More Related Resource Links

Measure Dependent Calculated Measure

Hi Was looking to create a calculated Measure Which needs to be dependent on another column of the FACT table. I need to have the Average of the particular Measure based on the fact that this particular 'set' has a common Related dimension's The example would give a better picture. I have a set of dimensions like STUDENT, TEACHER, COURSE etc as my dimensions and the grades, class standing based on marks for the subject, percentage of marks scored, Percentile, Marks Scored,StudentID and the related PK's etc are the measures on my fact table Here I want the Avg of the marks scored by the Students based on the grade say is  A or B or C  I was looking to create a calculated measure by using MDX which was a follows (NOT THE CORRECT SYNTAX JUST THE IDEA) SUM  (MARKS SCORED)/COUNT(DISTINCT StudentID) WHERE GRADE = A As this would be measured against a particular subject or a teacher or a Course. I was hoping if I could get help in putting this in a proper SYNATAX   Thanks in advance.  

triggering an action from a property that is not a dependent property

hello I have a xaml component that shoud start an action when a property from the DataContext has some value. Say the DataContext class is Subject with a property IsAlert and Subject implement INotifyPropertyChanged. I tried to do this: <   Trigger  Property="{Binding IsAlert}" Value="True">   But it does not work because IsAlert is not a dependent property. I would like to know what option I have to solve this issue? thank you Thank you!

How to create a second independent transaction inside a CLR stored procedure?

I use the context connection for the "normal" work in the CLR procedure.But I need to commit some data in every case. So I need to create a second transaction which is independent from the calling transaction.What is the best way to do this inside a CLR procedure?Thanx a lot

starting a new independent wpf application from the application itself


In a wpf application i have a class  (AddressesClass) that supplie the address of some folder where a database and some fiels are stoed.

All the classes in this app.domainrefere to these class when they ahve to get or save data.


many classes have indepente threds to read or write data to tehse folders.


One class in this application should allow the user to see data stored in another set of folders

but it needs to used the classes of the app.domain to present the data.



I could change temporary the folder addresses stored in the AddressesClass but sice these classes could be used by  independet threads

started from inside the app.domain i would like to find a more robust way to address this problem.


I would like to start an independent application where the addresses are changed so i do not create problem with the original one


how can i do this in wpf?


i found this interesting article but i can not translate it in vb.net even with a converte









.net is platform independent?

before we use a .net application in any client machine, we have to install .net framework there right?
then how is it platform independent?
Can u give some example of other technology which is not platform independent
Life is unpredictable! Do right things and be safe!

Dependent MDX parameters


Hello all,

I have a question about dependent MDX parameters I am using in my report.

There are couples of parameteres in the report.

One parameter name is Template name. There are few templates names for 2009 Jan, Feb Marc etc and some other for 2010 Jan ,Feb, Mar...Dec.

Also there are two other parameters callsed BeginDate and EndDate. Those two dates are selected on the date attribute in a different dimension. Template name is in another Dimension.

[My Deployment Date].[Date].[Date].ALLMEMBERS


[Template].[Template Name].[Template Name].ALLMEMBERS

What I want is when someone select a date range , I want the Template parameter drop down box to select the template only withing that particular date range.

Can anyone tell me how to do this please?



SSRS Change field properties dependent on the render type


I've built a report that has background images with text over the top, which when rendered as Word or Excel the images don't show and because the client has requested the text is white against the image, the text isn't visible.

What I'd like to do is run code within the report that identifies the render type and if xls will change the text color through an expression.

Any ideas would be greatful.


WPF Independent Images


I am trying to figure out the best design approach. I have a WPF application using C# and I am setting up a canvas in the window. I would like to draw a grid on the canvas with lines and a button to make it visible and not visible. I also later want to draw images into these grids. My questions are:

1) I will use a drawing cotext to draw the lines for the grid. Should I use code behind (using a for loop) or XAML to draw these lines.

2) If I use XAML to draw the lines can I create a seperate XAML to do this? Would this also include a code behind file or is that just for windows.

3) Is there a performance issue between using code or XAML to draw images?

4) Can I create mutiple canvases in the same area and only make one visible at a time using commands?

I know this question is fairly general but any pointers would be welcome. 

software developer

How to implement: Multiple *independent* sites on same server


Say I have three sites: http://my-server/active-development, http://my-server/beta-release and http://my-server/official-release that essentially 3 different version of the same code base and I need them to function independently w.r.t. to session state. As in, when I log into one site (say http://my-server/active-development), the session ID cookie generated for that site should not be present when I open another browser window (of same type: say IE) to another site (say http://my-server/official-release). Unfortunately, that won't happen. Its because when the ASP.NET SessionIDManager generates the ASP.NET_SessionID cookie, it always specifies Path = "/".

private static HttpCookie System.Web.SessionState.SessionIDManager.CreateSessionCookie(

Multiple updatepanels are independent of each other?


So can someone help me understand a bit of UpdatePanels here?  I just want to make sure that I got this right.  If I have two update panels, and updatepanel1 has 10 dynamic controls created from an external button that resides on the page by default.. and then i have a second button which also is on the page by default but is an asynctrigger to updatepanel2...

then when the first updatepanel1 is populated with dynamic controls, then when I click button2 to update the second updatepanel2 with some data, the dynamic controls in updatepanel1 wil;l still remain there right? but does it persist by itself on postback?  And if so why? 

because when I click button2 to update updatepanel2, it does a partial page postback.  So when it does a partial page postback, does that mean it does not destroy updatepanel1's dynamic controls???

Databound dropdown list inside detailsview filtered dependent on selected radiobuttonlist item


It's driving me mad.  I have a detailsview bound to an sqldatasource. One of the items on the data table is to get its value from a dropdown list, so I created a template field and entered a dropdownlist, then bound that to a second datasource with the selection values in it. As the values can be male or female related, I have an unbound radiobuttonlist above the dropdownlist with two values - male or female - retunring an d"m" or an "f" and I want to use this to filter the records coming from the second data source for the dropdownlist.

I can't use a normal SQL control parameter on the datasource as the selector (the male/female radiobuttons) are in the detailsview and therefore "invisible".  I set up a normal control parameter with "none" as the type.  I then set the "autopostback" value to "true" for the male/female radio buttons and tried writing in the code-behind for the "maleorfemale_SelectedIndexChanged" event and using debug lines revealed that I was getting the "m" or "f" I needed by using "findcontrol", so that's fine.

I also tried adding in the "selecting" event for the second datasource to use the value of the radiobutton item, but although the "selecting" event fires

1) Does Sharepoint Support in Linux Plateform?


1) Does Sharepoint Support in Linux Plateform?

 2) Can i Deploy the Sharepoint Site in Appache Server?

actually we want to change the company Env from Windows to Linux for that i want to confirm before to give them recommendation about the Microsoft projects which we are already running in Windows plateform. about sharepoint iam not sure that either it does support on linux or not.

Thank you

Does Sharepoint Support in Linux Plateform? 2)


1) Does Sharepoint Support in Linux Plateform?

 2) Can i Deploy the Sharepoint Site in Appache Server?

actually we want to change the company Env from Windows to Linux for that i want to confirm before to give them recommendation about the Microsoft projects which we are already running in Windows plateform. about sharepoint iam not sure that either it does support on linux or not.

Thank you.

How to deploy dependent features


I have SP2010 beta standalone installation with VS2010 beta 2 10.0.21006.1 B2rel.

I have the following features:
SiteFeature Scope=Site, ActivateOnDefault=True, Hidden=False, DependentFeatures=SiteTypes
SiteTypes Scope=Site, ActivateOnDefault=False, Hidden=True
WebFeature Scope=Web, ActivateOnDefault=True, Hidden=False, DependentFeatures=WebLists
WebLists Scope=Web, ActivateOnDefault=False, Hidden=True

When deploying this via stsadm using activatefeature ... it installs OK ... first activate SiteFeatures, then WebFeatures, and I get my content type and list instance OK.

When deploying using VS2010, I get an error saying SiteTypes feature is already installed at this scope. It seems to be trying to activate the feature even though it is set as a dependency to my SiteFeatures feature.

Anyone managed to get this type of (simple) scenario to work OK in Visual Studio??


How to display Independent Value in ToolTip of WPFToolkit Version4 PieChart

I need to the tooltip to display independent value along with Dependent Value and Ratio on the tooltip on mouse over of piechart.

I tried to find get some info online from blogs but after the latest release of toolkit those codes dont work properly. Can anyone help?

WF Workflows: can the workflow be dependent on data embedded in a given workflow document


Our organization just starting out with understanding/prototyping WF workflows. One ciritcal question we have concerns if, and how, a given workflow can change depending on data embedded in a document.

Simple example: An invoice might have several different routing requirements depending on say, the customer related to that invoice, or the amount, or some other data related/embedded in that invoice.

We are looking to have the specific path for that document - inside it's workflow - to be determined at run time - and we're not sure how that would typically be implemented.. Are there certain activities or a service configuration that comes to mind to satisfy this requirement?

This is probably simple - but maybe there's some good documentation/discussions concering this I've yet to find... I guess this might be referred to as a 'smart workflow' - with human intervention not required for this functonality - automating which workflow path is taken depending on the underlying data...


john c kat

Unable to create two independent task using basic task workflow


Hi everyone,

recently I've tried to create Basic task workflow with SharePoint designer 2010. I followed tutorial step by step: http://www.sheltonblog.com/video/HiRes_BasicTaskWorkflow.wmv

But at the end the behavior of workflow was not what I expected. 

I created one custom list and task list.

When I add item to custom list the workflow is started. Workflow creates some task connected to the just created item. When I change task state to Complete the workflow should finish.

Everything works fine till I create two or more items in custom list, because all my tasks states are changed to Completed when  I change task of one item to Completed. After that all workflows at custom list are Completed.

I really don't understand where I did mistake because as I wrote above I followed tutorial step by step. 

This is used code:

private void createTask1_MethodInvoking(object sender, EventArgs e)
      createTask1.TaskProperties.AssignedTo = "Domain\\user";
      createTask1.TaskProperties.Title = 
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