.net-3.5 Questions
2
We have run into a problem where
We have two instances of the same window in an MDI workspace bound to two separate object models.
The object models have their .Equals and .GetHashCode methods o...
1
Solved
Having upgraded from Visual Studio 2010 to Visual Studio 2013 Update 2 and installing the Visual Studio installer projects extension.
The Setup up project builds and the installer works in Windows ...
Ermaermanno asked 30/7, 2014 at 14:33
3
I have a C# application and I want to copy a file to a new location. Some times I need to overwrite an existing file.
when this happens I receive a System.IO.IOException. I want to recover from a ...
2
Solved
I'm trying to get a handle on whether we have a problem in our application with database connections using incorrect IsolationLevels. Our application is a .Net 3.5 database app using SQL Server 200...
Conflagration asked 11/3, 2010 at 14:11
2
Solved
Say we have list.Where(p=>p.Number > n).Select(p=> p.Name).Where(n=> n.StartsWith(a)).ToList(); will this be ran one pass algorithm or it will be 3 passes?
8
Solved
I got the following :
01.05.03
I need to convert that to 1.5.3
The problem is I cannot only trim the 0 because if I got :
01.05.10
I need to convert that to 1.5.10
So, what's the better way t...
9
Solved
For several reasons that I don't have the liberty to talk about, we are defining a view on our Sql Server 2005 database like so:
CREATE VIEW [dbo].[MeterProvingStatisticsPoint]
AS
SELECT
CAST(0 A...
Scherzando asked 18/6, 2009 at 15:23
4
First things first, some context. If you're familiar with the problem, skip down to the BindingExpression part. This is my first major project in WPF, so I am still quite new to the MVVM pattern. H...
5
Solved
Since now I've used the excellent FluentValidation
library to validate my model classes. In web applications I use it in conjunction with the jquery.validate plugin to perform client side validati...
Arcane asked 17/2, 2010 at 12:30
3
Solved
6
Solved
I have a WPF window that I am launching from inside of a winform app. I only want to allow once instance of that WPF window to be open at a time, and not warn that user if they try to open it again...
10
This exception is consistently thrown on a SOAP Request which takes almost three minutes to receive and is 2.25 megs in size.
When scouring the web I find all sorts of posts which all seem to be ...
Ethelind asked 12/11, 2008 at 20:56
5
Solved
I have something like this:
var itemsInCart = from o in db.OrderLineItems
where o.OrderId == currentOrder.OrderId
select new { o.OrderLineItemId, ..., ..., o.WishListItem.Price}
is there any w...
Elastic asked 13/3, 2009 at 6:50
7
With the advent of new features like lambda expressions (inline code), does it mean we dont have to use delegates or anonymous methods anymore? In almost all the samples I have seen, it is for rewr...
Coccidioidomycosis asked 19/9, 2008 at 23:14
2
Solved
Can anyone explain how is dependency property implemented? Is it just a static dictionary that is declared in base class with a reference of given instance as a key?I can't find any resources about...
Ebullition asked 19/5, 2009 at 4:16
2
Solved
I have the following code:
class Program
{
static void Main(string[] args)
{
string xml = @"<ArrayOfUserSetting>
<UserSetting>
<Value>Proposals</Value>
<Name>La...
Marek asked 18/8, 2010 at 23:12
3
Solved
I have a very small wcf service hosted in a console app.
[ServiceContract]
public interface IService1
{
[OperationContract]
void DoService();
}
[ServiceBehavior(InstanceContextMode=InstanceCon...
Prothalamion asked 12/5, 2010 at 11:39
2
Solved
I am developing a class library (MyClassLibrary).
I depend on a third party class library (ThirdPartyClassLibrary).
I need to use the same version of ThirdPartyClassLibrary as my users. e.g....
3
Solved
.NET 3.5, C#
I have a web app with a "search" feature. Some of the fields that are searchable are first-class columns in the table, but some of them are in fact nested fields inside an XML data ty...
Groveman asked 11/11, 2008 at 22:41
7
Solved
Using C# .NET 3.5.
It seems I'm not the only one, since a search seems to bring up a lot of similar questions, however reading through them I seem still to be missing the solution.
I'm raising an e...
Languish asked 24/5, 2011 at 9:39
4
I have a producer that produces integers by burst (1 to 50 in a few seconds). I have a consumer that consumes those integers by block.
I want the consumer to start consuming when the producer has ...
2
Solved
We have a Grid that's bound to a List<T> of items. Whenever the user hits "Refresh", changes are obtained from the database, and the bound list is updated. I'm running into a problem where du...
Jezabel asked 5/3, 2014 at 15:36
4
Solved
I just hit a huge brick wall with Paypal. I had created a regular C# project to create some wrapper classes using their WSDL.
If you create a non-web project, the only option you get to add a wsdl...
5
Solved
I have a Config class like this:
public class MyConfig : ConfigurationSection
{
[ConfigurationProperty("MyProperty", IsRequired = true)]
public string MyProperty
{
get { return (string)this["M...
Aitken asked 2/12, 2010 at 19:49
6
Solved
I don't know how long an action could take and I want to display a progress bar to the user in a dialog box. I've tried using System.Windows.Forms.ProgressBar but it doesn't seem to support it.
An...
© 2022 - 2024 — McMap. All rights reserved.