Greetings,
I have a simple client/server setup. The server is in C and the client that is querying the server is Java.
My problem is that, when I send bandwidth-intensive data over the connection, such as Video frames, it drops up to half the packets. I make sure that I properly fragment the udp packets on the server side (udp has a ma...
I am trying to get the IP of a socket connection in string form.
I am using a framework, which returns the SocketAddress of the received message. How can i transform it to InetSocketAddress or InetAddress?
...
Although the HTTP spec says that headers are case insensitive; Paypal, with their new adaptive payments API require their headers to be case-sensitive.
Using the paypal adaptive payments extension for ActiveMerchant (http://github.com/lamp/paypal_adaptive_gateway) it seems that although the headers are set in all caps, they are sent in ...
How do I start a disabled windows service from command line
NET START "Service" doesn't work on disabled services
...
I need implement business using nhibernate ORM
I have two entites
Project
(Id,Name,Effort)
Task
(Id,Name,Effort)
I need update Effort in Project when Effort in Task changes.
How to do it ?
I have planed to use event system build in nhibernate but still don't know how to access to Project entity within Task Event
Here is EventListene...
Hi guys
In mongo native api it is possible to do following:
db.collection.find({ "field" : { $gt: value1, $lt: value2 } } ); // value1 < field < value
How could I achieve the same with NoRM
Best regards,
Dmitry Egorov
...
Consider the following code:
namespace DisposeTest
{
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Calling Test");
Test();
Console.WriteLine("Call to Test done");
}
static void Test()
{
DisposeImpl...
Imagine, there is a class object, like a Customer Class object, and it has many properties...
And I have an array which has its data in a sequence.
I want to call a property in order the data has been given to the loop;
PS: the code below just a presentation and I don't bet it is totally correct.
regards. bk
e.g;
foreach(FormValueData...
I am creating ASP.Net MVC application and want to handle errors globally. I have set web.config value as mode=On and defaulRedirect="Error.aspx". I have Error.aspx at two places. One at Views/Shared folder and one at project root folder level. But each time an unhandled error occurs, the error page at root level gets called. How can I ma...
I have a WebMethod that receives following types of parameters:
[WebMethod]
User(long userid,int number)
When Client sends parameter with different types from I want, I have to catch this error and write to database etc.
For example ArgumentExceptions...
How can I solve this?
Thanks.
...
Hi Guys
I have the following code that was written without Tests but is actually quite well designed and loosly coupled.
The CachedBindingListView constructs a number of objects namely the page provider and the Cache.
As Follows.
/// <summary>
/// Inner data cache
/// </summary>
private Cache<T> InnerCache { get; set; }...
Hello,
I'm a big fan of MVVM Light and I use it in my WPF Application.
It works Greeeeat.
I have a new project in asp.net mvc. And I'm wondering : Is anyone already tried to use mvvm light and asp.net mvc ?
I know that some components will obviously not work but maybe, someone has achieved to do a better job with it.
Thanks for your ...
Hi lynn,
Can u pls help me for the below issue.
I have sha1 value in mssql table (Password is encrypted using algorithm SHA1 which provided in Microsoft .Net library) .
I created one php application, in that i need to compare these encrypted value.
Thanks
...
Hi,
Using Fluent nHibernate on my database.
I'm perplexed as to why one of my .Update statements seems to create new data and leave the old data in the table as orphaned rows without a key. Take this as an example: the problematic object is a "MetaData" object which has a many-to-one relationship with a "Page" object (a Page can have ...
I've added a service based database to my solution.
So, it's working on my system and everything is dandy. However this program will have to run on many many machines all independant to each other (meaning they don't connect or even know they exists) I'm selling the application to different people all over my country.
What exactly do I...
Hi,
How seamless is the integration of devexpress winforms controls in Clarion NET. Does it work at all ? Is it comfortable ?
Bjoern
...
Hello,
I have a c# code which generates a stringbuilder with ul and li html tags with loaded data from the database. Using this data i am creating a treeview using a jquery treeview plugin.
Jquery treeview has its style properties written externally in an css file. My requirement is, i should be able to change the parent node icon dyna...
HI,
I want to know how to create a new item record using a template in Dynamics AX 2009 .NET Business connector. I know how to do this using Dynamics AX 2009. Is there a static method that i can call? I also want to show the new item information to the user before saving it. Is this possible?
Please help
Thanks
...
i am able to add am module in the right pane of all my pages but when i add the original and position it in the middle of 5 already existing modules in the pane and set it to show on all pages it shows as the first module on every page except for the page i added it to originally where it is where i want it. i want it to be the 3rd modul...
I have SQL data table that containes a DATE or DATETIME field
a LINQ statement show here just to get the basic idea
var testLinq = from t in DBDataContext.Certificates select t;
foreach (var t in testLinq)
{
....
}
Left out the code in {..} for briefness.
BUT whenever 'foreach' tries to use t I get this exception
...