Hello
after much debating between nhibernate and EF, our team has decided to go for EntityFramework with EFPoocoAdapter to solve the POCO problem with EF.
Wondering if there are projects (> 400 db tables) being developed using this adapter, and if there are things that we should be aware of while using it.
many thanks
...
Posted this on the structuremap group as well. We just started using structuremap last week, and are really digging it.
I'm sure I'm missing something simple.
I am trying to mimic the following code, using SM within my factory.
I'm ok with having the container dependency in the factory class. The
consensus in this thread seemed ...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.0. I have two input strings, I think they are different. But the following C# code thinks they are the same, and throws System.Data.ConstraintException, says Column Name is contrained to be unique, but value already exists. Any ideas what is wrong?
Here is my code and my input strings,...
Not sure if I have the correct subject line. Here is my issue. I have a form with 2 GridView. One GridView has a list of all zipCodes. The users is to select a location from a dropdown list, then select the zipcodes he/she wants to be assigned to that location and then click the "Add" button. The zipcodes then appear in the second GridVi...
I'm working on an application that serves up files (e-commerce downloadable content.) The content is stored on a windows folder share on the server and the application then provides access to that content when the uses requests it. Essentially there is a DownloadFile.aspx?fileId=XXXX
Anyway I'm having issues getting the security right o...
I've used the Matrix class a thousand times. I have an elementary grasp of matrix mathematics, it's been years since I've had a class on the subject. But I don't fully understand what this class is doing under the hood to manipulate the points in a GraphicsPath.
What, specifically, is it doing in there as it pertains to GraphicsPaths i...
What are the best practices or pit falls that we need to be aware of when using Microsoft Oracle provider in a web service centric .NET application?
...
Hi,
I have an ugly piece of Serial Port code which is very unstable.
void port_DataReceived(object sender, SerialDataReceivedEventArgs e)
{
Thread.Sleep(100);
while (port.BytesToRead > 0)
{
var count = port.BytesToRead;
byte[] buffer = new byte[count];
var read = port.Read(buffer, 0, count);
...
I'm using a filestystem based (no apache or web server) subversion repository.
Since we moved over to subversion our change log on the application has converted to be commit notes in subversion. I would like it if it were possible for either at design time, I call a tool that scrapes the latest commit notes out of the subversion repos...
I need to enumerate over a collection of controls - regardless of their nesting level - that match a given predicate.
Originally the problem occurred, when I needed to set all textbox's in a grids row to ReadOnly, if a column in that row indicated that the record should not be editable.
Later I realized, that I already solved a problem...
Does anyone have copies of documentation for ShuffleText.com's ShuffleText.Highlight.Express .NET library? The library is used for fuzzy searching in an open source project that I am modifying. I wish to understand ShuffleText's API more in depth, but I cannot locate any documentation online.
ShuffleText.com looks like they went out of ...
There are 2 machines, one with Xp one with Win 2003. Both are Japanese versions!
If you get the available encodings (via Regional Settings or programatically, Encoding.GetEncodings() ) this happens:
on Xp, the resulting list is in Latin characters
on Win 2003, the list is in Japanese characters
Some guy at work though to persist t...
We have two services developed in Visual Studio .NET 2008 with VB.NET. Both were developed completely separately by separate individuals (one of them being myself), but both are reporting the same error during boot: "service hung on starting" appears in the System event log after booting. The services proceed to start up fine after tha...
So I have a requirement to change the locale of a site collection at runtime.
I am deploying a .resx file into the web applications App_GlobalResources folder, then I am using:
<asp:Literal runat="server" Text="<%$Resources:MyResource,MyLocalizedStringID%>" />
to insert the right localized string.
This works fine for the default r...
Hi All,
I used CodeMax for many years as a VBScript code editor, syntax highlighter and intellisense. However, it does not look like it is being updated anymore. I have tried to find a replacement to be used in a WPF/Silverlight 3 app but I have not found one yet. I did find ScintillaNET but that is just a wrapper for a non .Net control...
Is xaml in WPF equivalent of .Designer.cs in Windows Forms apps?
Does it just provide compile-time state for the UI?
I am not sure but it looks like you can do things programmatically with xaml at run-time.
If I have a basic UI state where everything is added at run-time, then should I be looking outside the xaml stuff?
...
Hi,
I have a client-server system, both sides written by me, and I would like to put the clients in an 'offline' state when the server disconnects/dies, and then automatically bring them back 'online' when the server is available again.
For the first part, I listen for channel faulted events and handle that by setting the client to off...
I created a vb .net app and basically it connects to the server (my brother's computer at his house) and sends messages. The problem I'm having is, we both have routers. The only way I'v gotten all of this to work, is by both of us connecting ppeo broadband and then our ips work, otherwise the "real ip" is used for all the pcs in my hous...
I was looking at some sample code and in it they used a ListDictionary object to store a small amount of data (around 5-10 objects or so, but this numerber could change over time). The only issue I have with using this class is that, unlike everything else I've been doing, it's not generic. This means, and correct me if I'm wrong here, t...
I want to implement some various algorithms for practice, just to see how bad I really am and to get better :p
Anyways, I thought I would try to use IEnumerable<T> and IOrderedEnumerable<T> and other .Net collection types just to be compatible (so that what I write can be used more easily later).
But I can't find a way to return an ins...