I have a Xaml file which is used in a project which can be built for both Silverlight and WPF. I want to use the GridSplitter control. However, this control is in different Xaml namespaces on Silverlight and desktop WPF.
In WPF, the namespace is: http://schemas.microsoft.com/winfx/2006/xaml/presentation
On Silverlight, it is: http:/...
In ADO.NET, how do specify that a column in a DataTable is required?
...
I'm writing an windforms application using .NET (actually IronPython, but that's not relevant), and I have a CheckedListBox object in my GUI.
It's working fine, it has about 20 items in a multicolumn layout. But I can't figure out how to give the thing a nice internal margin--I want to insert around 20 or 30 pixels of whitespace ar...
I'm having trouble where to put our data model in our Prism app. Most, if not all or our data will be coming from web services and the web services are unique for each module. Unfortunately, there will be objects that need to be shared (such as a person/user object).
I'm really torn about whether to add these services directly to the ...
applications which require .NET 2.0 and 3.5 are not running after installing VS 2010 which comes with .NET 4.0
Please help me how can i make .NET 2.0 and 3.5 running using .NET 4.0.........
not will be install both .NET 3.5 and .NET 2.0 along with .NET 4.0....
Thanks in advance....
...
I am trying to understand how to use SyndicationItem to display feed which is RSS 2.0 or Atom compliant.
What property of SyndicationItem gives me the entire description of the post. It appears that there is a Summary property but per MSDN, it gives only the Summary. Also I have noticed that in my RSS feed reader, some RSS feeds show on...
I migrated an asp.net app to 4.0. Now I am getting an error "The type or namespace name 'IQueryable' could not be found". The reference to System.Linq is invalid and I can't find it in the reference list. Where did System.Linq go?
...
I'm playing around with declarative / delayed computation, where expressions are built up into a directed acyclic graph. Microsoft's GPU Accelerator does something similar.
Are there any libraries available for .Net languages that makes it easier to build a representation of the computation?
...
Hi,
I know there is a thread about open source projects with good code quality, but which projects have unit tests (With mocking) and are of a high quality?
Many Thanks
...
HI, I was wondering is there any way to store data, like say I wanted to make a login form and save the usernames and passwords, without using a database or .txt file? Seems like alot of work to set up stuff like that, for something simple, and I was just wondering if there was another way. :)
And if any one has some tutorials on how to...
Hi!
I want to create a windows service that may log pressed keys into files.
For handling global key events I use hooks, hooks works great for desktop apps.
But it doesn't work for the services.
Is it possible to develop a windows service with key event handling?
Developing on C#...
Thanks for your time.
...
Possible Duplicates:
Fast technology to learn
How to learn programming related topics faster?
What is the fastest way to learn a new programming Language? I've heard of a few programmers that know 5-6 programming languages fluently, how do they do that? Just looking for tips and tricks really? Any advice?
Thanks in advance;...
My code looks like the below. Obviously i cant write 'ok' because the object has been disposed. I cant do return sw.Clone() bc clone doesnt exist. If i dont use a using then at any point between = new and return (like iterating and writing to the object as my example doesnt do) can have an exception and thus not disposing the object.
Am...
Hi
I've started with a VS2010 Dynamic Data project, but now I want to add other MVC type pages etc.
How can I get "new MVC item" options to appear in AddItem menu?
i.e. this seems to appear in an MVC created project, but if I started with a DD project how can I make the option appear
...
I'd like to find a tool that I can use to point at a specific Window in a large application with many DLLs and discover the path (or at least the name) of the DLL used to render this window.
...
I have a XHTML string I want to replace tags in
for example
<span tag="x">FOO</span>
<span tag="y"> <b>bar</b> some random text <span>another span</span> </span>
I want to be able to find tag="x" and replace FOO with my own content
and find tag=y and replace all the inner content with by own content.
What is the best way to do t...
For example I have class to serialize
[Serializable]
class Person
{
[XmlAttribute("name")]
string Name {get;set;}
}
I need to make Name attribute required. How to do this in .NET?
...
Are there enums available in the .NET framework that have values for build flavor (Debug, Release) and build platform (Any CPU, x86, x64 etc)? I haven't been able to find anything on MSDN or Google.
It seems unnecessarily cumbersome to create my own.
For context: I'm creating a custom TFS2010 workflow activity that requires flavor and ...
I am having some speed issue with my datatables. In this particular case I am using it as holder of data, it is never used in GUI or any other scenario that actually uses any of the fancy features.
In my speed trace, this particular constructor was showing up as a heavy user of time when my database is ~40k rows. The main user was set_...
Hi,
Does an ASP.net MVC project support adding Dynamic Data?
If so, any links/pointers to doco that gives an overview?
...