In a custom configuration section of a config file I want to have properties or elements define a new scheme, host and port for a service endpoint, but not define the path.
So these should be allowed https://newhost/ or http://newhost:800, but not newhost:800, http://newhost/path/to/service.
What would be the best option to implement?
...
Hello everyone,
I am trying to find an elegant way to validate two related TextBox values in WPF.
The Text property of each text box is bound to a public decimal property on my class which implements INotifyPropertyChanged for TwoWay binding.
I want to validate the two values such that: BiggerValue >= SmallerValue >= 0
I have succeed...
I have seen tons of articles all around the web but nobody describes exactly how to use Adobe Acrobat 5 API with .NET to automate Image Extraction From a lst of PDF documents.
Can anyone please help ?
...
So, we have a sharepoint install in three environments. In both dev and qa, we can do the following (after authentication):
://account.server.com/
In dev and qa, this redirects to
://account.server.com/somepage.aspx
In prod, this brings back 'access denied'.
Now, if I do this in production (after authentication):
://account.server.c...
I have been searching and reading all day, and have not found a UDP sockets programming tutorial suitable for a newbie. I know UDPClient programming, but, because of the inability of UDPClient to receive a message without blocking AND without having problems with cross-thread commands, I have turned to sockets. I don't even truly know if...
If you have a method that needs to be tested that takes a list of SearchResults
public virtual void ProcessResults(IList<SearchResult> list)
{
//Code to tests here
}
How do you mock up that list of SearchResult?
Note: No low-level injection frameworks (eg TypeMock) allowed.
...
In the Load event or in the constructor after the InitializeComponent()?
or doesn't matter at all?
...
how to add in exception showing the input has to be enter, if the user click on connect without entering any input? i would like the have a message box show if the user click on the connect button without entering the name, ip and port. [SOLVED]
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System....
I have something I want to initialise and use throughout a WCF Service Library. If it was in an ASP.NET site I'd be doing it in the Application_Start method of the global.asax, but what's the equivalent for a WCF Service Library?
...
How do I load a dll and its dependencies? I don't want to place each of the dependent dlls in an Assembly.Load. I'd rather just load the one dll and then the dependencies are loaded.
The above dlls aren't loaded when my application launches. They are only loaded when a user does a specific action, which then freezes the gui.
A worka...
Our company currently has a web site which is deployed in Windows 2000 OS, which means that we could only install .NET 2.0 on that machine. Upgrading the Webserver OS is out of the question, since this web server also hosts other web applications in our country. As also part of our IT's policy, for security reasons the web sites are not ...
I am having trouble getting the ODP.NEt library to work with the .NET DBProviderFactories. I am getting the following error with this code:
_DBFactory = DbProviderFactories.GetFactory(providerName);
An error occurred creating the configuration section handler for system.data: Column 'InvariantName' is constrained to be unique. Value ...
Is there an up-to-date Windows Library which allows the playing of individual musical notes?
Even just a wrapper on top of Beep, would suffice, though I don't know if that would be supported on all version of Windows.
...
Hi
I'm currently using yahoo map service to display a static image of a location with the latitude and longitude that I suppiled, and this work fine.
But I was just wondering if it possible to send an url request to the service that will return an image
with multiple markers on the image? (ie. more than one locations marked).
If anyon...
I wish to dynamically create and name instances of my object at runtime as I add them to a list class I somehow thought this would be a simple matter in c# but thus far I have been unable to find any information on how to achieve this.
for the brief description I have a custom class that during runtime I wish to create an array list and...
I'm trying to do my first WPF project, and I've started with this sample project for image display. Part of it is the XAML that binds a Listbox to an Array of images:
<ListBox.ItemsSource>
<x:Array Type="{x:Type ImageSource}">
<ImageSource>http://static.flickr.com/34/70703587_b35cf6d9eb.jpg</ImageSource>
<Image...
Please refer to question: http://stackoverflow.com/questions/2062852/resume-in-upload-file-control
Now to find a solution for the above question, I want to work on it and develop a user control which can resume a HTTP File Upload process.
For this, I'm going to create a temporary file on server until the upload is complete. Once the up...
Hello all,
Does anyone have any experience with receiving and updating a large volume of data, storing it, sorting it, and visualizing it very quickly?
Preferably, I'm looking for a .NET solution, but that may not be practical.
Now for the details...
I will receive roughly 1000 updates per second, some updates, some new rows of data ...
Hi all,
Is it possible to integrate silverlight with PHP. I'm currently using flash, so was wondering if silverlight can be used as a replacement.
Thanks,
Roger
...
How come there are a lack of Controls for ASP.NET MVC?
Sure it hasn't been around that long but one would think that a GridView, Calendar and other important controls would be included or at least in seperate packages.
However, I've failed to find any besides the ones that cost a lot of money for nearly nothing at all.
Does these type...