Background
In the mobile world, MM7 is a multimedia message that uses XML/SOAP as its content and HTTP as its transport (wiki).
What I want
some kind of a message builder (a DSL engine is preferable) that builds the SOAP (XML) message itself, so that I can actually view the raw message without sending it.
What I found so far
......
What is the best way to install a windows service written in C# (in the standard way) on a remote machine, where I need to provide the username and password it should run as?
I am going to run it from MSBuild as part of integration tests.
EDIT: I don't have an msi and I don't want to create one.
...
I'm implementing copy-paste in a Windows Forms application.
I need to enable/disable the bar-buttons for this two operations when the user changes the focused element in the application.
I can find the current focused control using something like this: http://www.syncfusion.com/FAQ/windowsforms/faq_c41c.aspx#q1021q, but how can I detect...
I have the study guide from Microsoft for this course. However I'm looking for a more in depth step by step guide through all the possible study materials. Has anyone written a blog on the subject?
...
I'm loading an ASP.NET dropdown list.
Is there any advantage to doing this::
Private Sub LoadSeasonsListbox(ByVal seasons As List(Of Season))
Dim li As ListItem
For Each s As Season In seasons
li = New ListItem(s.SeasonDescription, s.SeasonCodeID)
frm.SeasonsList.Items.Add(li)
Next
End Sub
o...
Is there a library like Apache Commons IO for .Net?
I am looking for the following functions:
IOUtils.toByteArray(Stream);
IOUtils.toString(Stream);
FileUtils.write*();
DirectoryWalker.
...
ASP.NET has a feature that allows you to declare implicitly used namespaces in the web.config.
<configuration>
<system.web>
<pages>
<namespaces>
<add namespace="System.Web.Mvc"/>
</namespaces>
</pages>
</system.web>
</configuration>
I'm curious to know if configuration for other .net environments (like winforms, consol...
Coming from a perl background, I have always defined a 2D array using int[][]. I know you can use int[,] instead so what are the differences?
...
while (TcpClient.Client.Available == 0)
{
Thread.Sleep(5);
}
There is a better way to do this?
...
I need to create a industrial monitoring application that shows the operator a SCADA diagram, similar to this
What toolkits are available to do this and what experience have people have with them? I already know of the ilog tookit but have no experience of it.
Edit: I don't need software to control the hardware itself, I just need ...
Is it possible to get a Type via Type.GetType() when the assembly-qualified name passed into GetType() specifies a different Version than the version of the DLL that's actually loaded? If so, what is the behavior of GetType()?
I want to get a Type from an assembly regardless of what version the assembly is. I have a function which gets ...
I have this:
cmbConnections.DisplayMember = "Name";
cmbConnections.ValueMember = "Index";
cmbConnections.DataSource = DBConnectionSettings.ConnectionList;
All Ok!
Now add new item to list:
DBConnectionSettings.Connection c = new DBConnectionSettings.Connection();
c.Name = reply;
c.Index = DBConnectionSettings.ConnectionList.Count + ...
I recently developed an interop user control in .NET (Visual Studio 2008, project targetting .NET 2.0) to be used in a VB6 application. The assembly exposes 1 control, 1 class, and a few enums and structs. I developed it using C# translations of the Interop Forms Toolkit 2.0 project template found here. The assembly has a strong name and...
I am trying to reuse a task in an Ant way:
<Target Name="Release">
<Message Text="Env: $(Env)"/>
</Target>
<Target Name="ReleaseIntegration">
<CreateProperty Value="Development">
<Output TaskParameter="Value" PropertyName="Env" />
</CreateProperty>
<Message Text="Env: $(Env)"/>
<CallTarget Targets=...
I've encountered an issue whereby when I create an XML Document programmatically using the System.Xml classes and then use the Save method the output XML doesn't use QNames for the Nodes and just uses local names.
eg Desired Output
<ex:root>
<ex:something attr:name="value">
</ex:root>
But what I currently get is
<root>
<somethin...
Our application saves user preferences in isolated storage.
However,it's proving tricky to remove these files from our uninstaller!
I can enumerate all of the files in IsolatedStorage (using the MSDN example code), locate the ones that are related to our strongname key, and attempt to remove/delete them. Unfortunately, that's where it ...
Dear ladies and sirs.
I have a client-server application, where there two options for the server - standalone executable or in another AppDomain in the client, which is very convenient for the debugging purposes. The choice of the server is transparent to the client, the only file that needs to be changed is the client app.config.
In o...
I make a web request from both an application and a service. From the application (user context), the request works fine. However, the service (LocalSystem context) catches this:
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
Why can the application get out but the service can't? Do ...
I have dynamically created hidden input controls in a c# codebehind file, and then populate their values with javascript. I now want to access these variables in c#.
Firebug shows that the values do change with javascript, but i'm getting the origional values back in the code behind. Any insight would be much appreciated.
Javascript:
...
I have a CLR enabled .NET app that accesses a webservice and writes an xml file to a webserver for a SQLServer SSIS package to digest. Everything works fine on the development servers, but the production server returns the following error:
Error creating the Web Proxy specified
in the 'system.net/defaultProxy'
configuration se...