I am trying to digitally sign requests made by a mobile client running J2ME and want to verify the signature by the .Net Framework.
Does anyone know if the implementations
DSACryptoServiceProvider //.Net
and
Signature.getInstance("SHA1withDSA", "SUN") //Java
are compatible? Or does anyone have a better idea?
After some resea...
Hi all,
I have a code section below :
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:MainConnStr %>"
SelectCommand="SELECT [au_id], [au_lname], [au_fname], [state] FROM [authors]" />
What is meaning of The $ character in value of ConnectionString attribute?
...
I am building a background processing engine which supports discarding both to-be-processed and is-being-processed items. This is for usage in a winforms application that will require heavy processing of some input elements, so I'm building a queue engine where I can enqueue workload items, and when they're processed, I get notified with...
The memory leak is not happening on every machine, but reliably on a couple at my work, and it's looking like close to 10% in the field.
I have a product that uses a Windows service to monitor user input to launch alerts, paired with a visual application that serves only to sit in the system tray, and allow the user to make configuratio...
In Visual Studio, are there any real differences between a "Release" build of an application, and a published version of the same application?
I have an ugly memory leak that's creeping up only in the published version installed via ClickOnce. The same leak does not occur in the "Release" build if I run the executable from the project/b...
I am interested in reading examples of code in C# that makes use of the Spartan Programming philosophy. Can you please provide a link to any open source project or online code sample that follows this coding style?
...
Every .net developer knows about the concept of properties. A rough 99.99%, it's just a piece of metadata gluing together two methods, a getter, and a setter.
Same thing usually goes for events, with their add, remove, and invoke method.
The ECMA-335 describes a «Other» kind of method semantic, that would apply to either a property or ...
I am trying to implement a custom control using a RowClickableGridView class provided on this Stack Overflow post. This is the first time I have tried to create a custom server control and followed steps laid out in this MSDN walkthrough.
I have the RowClickableGridView class in the App\_Code directory of my Web Application Project with...
My program needs to download object definitions (basically xml files, maybe binary files) on demand via the net. The program will request objects from my server during runtime. The only thing the program has to send the server is a string that identifies the object it needs (e.g. RedCubeIn3DSpace23). So a basic Key, Value system. My app ...
I know that all arrays in .net are limited to 2 GB, under this premise, I try not to allocate more that n = ((2^31) - 1) / 8 doubles in an array. Nevertheless, that number of elements still doesn't seem to be valid. Anyone knows how can I determine at run time the maximum number of elements given sizeof(T)?
I know that whatever quantity...
I have been searching for an hour on how to use FFmpeg from .NET and it seems you need to execute the FFmpeg.exe with a Process to get things done. To get a duration of an flv file for instance, you would need to start using grep to get something back out of cmd window. It all seems complicated... + you'd have to start installing things ...
I have recently set up Visual Web Developer 2008 Express Edition on my laptop (running XP SP3) to develop some c# .net code for a website. All seemed to be working great, I can edit code and the website runs in IIS...
The problem came when I hit F5 to debug. I get the following error message:
"Unable to attach to application 'WebDev.We...
I'm having a trust chain error when I receive my response in WSE 3.0.
Their cert is fine when I grab the WSDL. Their cert is fine when I connect. It likes my public cert when I send the XML request.
What WSE doesn't like is the token in the response. Microsoft.Web.Service3 calls getelement, then loadbinarysecuritytoken, but then check...
Hi guys,
I've read lots of tutorials on how to deserialize a JSON object to an object of a particular using DataContractJsonSerializer. However, I'd like to deserialize my object to a Dictionary consisting of either Strings, Arrays or Dictionaries, such as System.Json does with SilverLight when I say JsonObject.Parse(myJSONstring).
Is ...
I have DataSet.
it returns date, and value by date.
for ex:
01.01.2009 454
02.01.2009 785
03.01.2009 475
---------- ---
30.01.2009 523
I need new DataSet, that group by week.
for ex:
1 Week 1-7 2017
2 Week 7-15 4586
-----------------
5 Week 24-30 1482
Week begin from monday.
not importand only for this example, i...
What are Xml serialization assembilies and why do we need them? If at all possible can you provide links? Thank you in advance
...
Caching your data in your application code is generally a good idea for many reasons. We have being doing this for quiet some time in our shared environment which includes ColdFusion, .NET, and PHP. However, because we share this environment with many other development groups in our organization, there is significantly more downtime then...
Hi guys,
I have some "input" that gets parsed a number of different ways.
I'm trying to abstract out the parsing code from the various downstream engines that need the parsed result (some parts will display it, other parts actually execute it, etc. etc.).
So far, I have this:
interface IParsedNode
{
// Visits this node, returns wh...
I'm trying to upload a file to this ftp server using System.Net.FtpWebRequest in .net 2.0, but keep getting an error:
The underlying connection was closed: An unexpected error occurred on a receive.
Do you have any suggestions on how to figure it out? and the strange thing is I can connect it using IE6, but not IE8...
thanks a lot
...
I’m working on a project currently with 5 developers. The application consists of a thick client, a thin admin client, and multiple supporting maintenance applications. Currently the thick client is written in VB6 and is slated for conversion to .NET in the next 6-12 months. The thin client is an admin web application that allows the ...