Is there a database which will satisfy all (or at least most) of this requirements?
Graph oriented - optimized for storing graphs and traversal(e.g HyperGraphDB, Neo4j)
Running in memory, but having a persisted storage (e.g. Redis)
Distributed (e.g. membase)
Had .NET adapter (TCP/IP, not HTTP REST)
Or am I asking too much?
Thanks in...
The question explains it all but here is some more info. I am trying to use 4sq api with C# and need to send username password pair in every request. The API documentations says that "curl -u user:pass" does the job but how can I do it with WebClient? Don't have time to inspect the traffic, maybe someone knows about it...
WebClient.Cred...
Apart from an architectural point of view, i'm wondering if there is any difference in .net between a readonly property and a function. Are properties only conceptual wrappers around functions?
Private m_Property As String
Public ReadOnly Property PropertyGet() As String
Get
Return m_Property
End Get...
Hello,
i have an existing DB with which i would like to build a new app using EF4.0
Some tables have not primary keys defined, so that when i create a new Entity Data Model i get the following message: "The table/view TABLE_NAME does not have a primary key defined and no valid primary key could be inferred. This table/view has been excl...
Can some one help with with the following code please!!
if (DiaryOccasions != null && DiaryOccasions.Rows.Count > 0)
{
DataTable dtFilteredOccasions = new DataTable();
if (ddlMonths.SelectedItem.Value != string.Empty)
{
string[] selMonthYear = ddlMonths.SelectedItem.Value.Split('/');
if(selMonthYear.Length ...
I have dependency property in my UserControl "Menu":
internal static readonly DependencyProperty ActionProperty =
DependencyProperty.RegisterAttached(
"Action",
typeof(LetterAction),
typeof(Menu),
new FrameworkPropertyMetadata(LetterAction.None, ActionChanged));
I set this property into control:
<my:Ribbo...
I have read a fair amount about pre-generated views in EF but not sure which scenarios you wouldn't use it. My understanding is it simply requires a little set-up in your project and that is the only hit. So you will therefore get a performance improvement on first access of queries, essentially for free.
If that is the case why would y...
I want to create pkcs12 private and public key files in c# .net
I want to do this really without having to use makecert.exe or any external programs.
Does anyone know any .net library’s to do this with or any resource so i could create the files myself?
Thanks
...
Situation overview.
We have several projects used in multifunctional system.
objectAccessLibrary.dll (multiple versions)
dispatcherHandler.dll (v.1.0) (dependency:
version independent part of objectAccessLibrary.dll)
Event handlers: handler_01.dll, handler_02.dll, handler_03.dll.
Dependencies: dispatcherHandler.dll (v.1.0), objectA...
In our customized C# logging system, we use streamWriter = File.CreateText(fileNameStr); to create a file and open a stream for write.
Now we want to monitor the file size to see if it reach the max required size. What I did is the following:
create a FileInfo object for about file: currFileInfo = new FileInfo(fileNameStr);
get file ...
I'm currently investigating OAuth 2.0 Service Provider solutions for .NET (I appreciate that 2.0 isn't a complete spec).
What libraries are people currently aware of, other than DotNetOpenAuth ?
...
Hi
I am trying to remove all spaces from a text field when a form is submitted so that the contents of the post code field match those in a database...
If drSet5c.Tables(0).Rows(0).Item("post_code") = UCase(Replace(tbPostcode.Text, " ","")) Then
response.write("Postcodes match")
Else
response.write("Postcodes DON'T match")
End ...
I am Developing a online test(Multiple choice) in C# asp.net. I have to show only one Question per page. I am using radiobuttons to select one of the options.
When i click the next button, options respective to the next Question bind to the radiobuttons.
The origin of Problem:
I select a radiobutton for one Question and the same radio...
I am writing code that pulls data from database tables and writes them to an XML file (to be picked up by another process). There are bout 60,000 records, and each record can have multiple entites, i.e. a member can have several contacts, each contact can have several phone numbers, etc. The entire process takes several hours, and I've n...
I am trying to open the file in browser (browser will give me Open/Save dialog box). This is what I am using
FileStream MyFileStream = new FileStream(@"C:\bb.txt", FileMode.Open);
long FileSize;
FileSize = MyFileStream.Length;
byte[] Buffer = new byte[(int)FileSize];
MyFileStream.Read(Buffer, 0, (int)MyFileStream.Length);
MyFil...
Compact Framework
.net
C#
Desktop Application for Windows Mobile
I got 2 buttons that open 2 different "modules" / "screens"
Code looks like:
/*previous declaration in static class Program */
public static Form ofrmBin = null;
/* this is called for both buttons */
Program.ofrmBin = new frmMainBin();
Program.ofrmBin.Show();
Pr...
I have this portion of code:
var hasAttribute = TypeDescriptor.GetAttributes(property.DeclaringType).OfType<CrmTypeAttribute>()
.Any((attr)
=> ((CrmTypeAttribute)attr).Name == property.Name);
if (!hasAttribute)
{
var crmTypeAttribute = new CrmTypeAttribute(proper...
I just want to know if there is any known issue, or if I'm doing something wrong. Everytime I do something like the example below, I get an error "the server failed to resume the transaction".
I had already asked another question about this error, but now I've figured out it only appears in the foreach loops
//Listing orde...
I'm sure this question has probably been answered before, so I apologize, but I wasn't able to find the proper search terms to find the answer.
Given the following code example, does db.GetRecords().Any() get executed?
string s = "Z";
bool x = s.IndexOfAny(new[] { 'A', 'B' }) > 0 &&
db.GetRecords().Any();
...
Is it okay to start using Iron Ruby and Iron Python in production systems? Also, are there any additional requirements for hosting them?
And, for the bonus points, given that F# is a functional programming language in the same way that Python is, is there any advantage to using one over the other within the .NET framework?
...