Hi All,
Multiple applications are sharing the same session cookie at the moment and I don't want this to be the case, however, I would like to set the value in code rathr than hardcode a value using the web.config.
Does anyone know how thi can be done?
...
Is it possible to have one service with two behavior configurations? As you know it is possible to have one service and more than one endpoint where you can specify different binding configuration.
But I need to have, for the same service, different service behaviors.
If I try something like this:
<services>
<service name="Service....
My application has its own scripting language of which I cannot get rid of (lots of customer-specific scripts written). Now my customers are asking if it would be possible to call a SOAP service from within that scripting language. Of course, the SOAP service that needs to be called will be different for every customer. This leaves me...
I get an UnautorizedAccessException running this code:
string[] fileList = Directory.GetFiles(strDir, strExt);
The exception occurs in c:\users\username\appdata
How can I check if I have access permission (to list and read files) ?
...
Speaking of in-browser (having not much experience with a SL, I can only assume this is a very common usage scenario) SL applications - do they have any programming restrictions with respect to database access and multi-threading?
...
What do you guys find preferable?
private Point location;
public int LocationX { get { return location.X; } }
public int LocationY { get { return location.Y; } }
or
private Point location;
public Point Location { get { return location; } }
The problem with the second approach is that both X and Y can be mutated by the class' clie...
hi; i try to run my codes. My program more slowly runnig. i need to give performance also write less codes in GetAliSpReqs(), GetMaintData();GetAccess....GET(...
How can i write more effective below codes. They are too slow also not useful. forexample i try to write les than 1-2 line with GetAliSpReqs()? How can i ? please help me...
...
Is there any deflate implementation for Silverlight 3 that is compatible with the .NET one?
Or, barring that, is there any similar compression algorithm available for both .NET and Silverlight I can use?
I tried this LZW example: http://paste.lisp.org/display/12198, but unfortunately it doesn't work very well.
...
When i add a .dll file as a reference in C# application it shows an error :
A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component.
ILDissassembler says there is no valid CLR header so I try to register it using regsvr32 and that gives me another erro...
I know it is possible to send an email with a fake address to impersonate someone else. I seen automated emails coming from my friend email address that he sent to me but did not write himself.
I know email servers ask the email provider if they really sent the message and if it is no it tends to go into spam or is marked untrusted. How...
We are facing some annoying issues while trying to remotely connect to an Oracle database from a Windows Azure worker instance. The problem has been already discussed on the MSDN, but at this point, we are still stuck.
Does anyone has succeeded in establishing a connection toward an Oracle database from a .NET app hosted in Windows Azur...
Hi,
Is there a ways to rebuild a c# .net CF application and deploy it in windows mobile emulator from the command-line?
This is required to create a bat file for automation.
I have taken a look at http://msdn.microsoft.com/en-us/library/aa188169(VS.90).aspx which mentions how to use the emulator from command line, but doesn't mention ...
how to know the number and type of parameters?
how to know the return type?
how to check whether the return type is void?
...
I have this in a XML doc.
<userdata name='filter'>&SearchExpression[0].Key=Id&SearchExpression[0].Value=1&</userdata>
The value is a query which will be added to an url.
It keeps failing to parse. It says the document isn't well formatted. The parser is pointing at the bracket "["
Could the bracket causing the error ?
How can I pa...
I need code that takes in a string and determines the date. I wrote a simple 15line function to return the date assuming it is relative. That was easy. Now i need to take in a string such as "jan 17 09" "1/2/3" (is it MM/DD/YY? or DD/MM/YY, here it means the former). I'll need ambiguous return codes or exceptions. What can i use to parse...
Can i ensure the batch file vsvars32.bat has run or not
is there any evironment variable through which i can confirm that it has been run or not
...
I am using both the Microsoft Toolkit themes, and the C1 Themes (which are a subset of the MS Toolkit themes).
The reason for this is that I need the range of Themes that MS offer, but I need one of the controls that C1 offers. The problem is, when you apply the Application Theme to one of the MS themes, it doesn't apply to the C1 contr...
How do you develop web services and how do you create WSDL? What do you include in WSDL?
This question is based on observation that developers don't use WSDL properly. WSDL describes the service. I think that service description should include everything needed to use that service. So if I use any WS-* protocol I have to include WS-Poli...
Hi!
I want to check if there have been any changes to a form on my ASP.NET webpage, What are my options?
Should i check if the viewstate has changed or should create a flag in the code-behind, triggered by webcontrol events like TextChanged for Textboxes or SelectedIndexChanged for Dropdownlists?
...
I have an ASP.NET site that I am maintaining. Currently it has code that on first access (and other times too) goes and does a bunch of data caching by writing it to files. Currently it has no locking so we cna get problems with multiple people accessing the site and multiple threads trying to write to the files at the same time. This is...