I would like to execute msdeploy from a powershell script to create a deployment package, but i can't find out what parameters Visual studio is actually calling msdeploy with.
...
I would like to add a build target to the BuildDependsOn, but I want it to only affect release builds. How do I do this in MSBuild?
...
i am working on VC#.net
i have connected my combox with my database
when the combox change's the value then my textbox should show the corresponding value
in the textbox
...
Hello
I'm developing a Win32 mobile application (.NET CF 2.0/3.5) that has to communicate with a WebService. The mobile computer will be used in places called "Dispatch" where good WLAN coverage is provided and company offers its own AP with defined SSID name. This means that the mobile computer must use those APs (knowing their SSID na...
private static Socket ConnectSocket(string server, int port)
{
Socket s = null;
IPHostEntry hostEntry = null;
hostEntry = Dns.GetHostEntry(server);
foreach (IPAddress address in hostEntry.AddressList)
{
IPEndPoint ipe = new IPEndPoint(address, port);
Socket tempSocket ...
I often write .net applications that only support one instance. Formerly I used .net-remoting and now WCF to detect if already an instance of my app is running and giving the focus to this instance.
My question is, if there is with .net4 a better solution available to achieve single instance applications (or is there in general a bette...
i am working on C# .net platform
i wanted to connect my combox to my text box
this is code done by me but it is give me error
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
{
panel1.Visible = true;
string sql;
SqlConnection cn = new SqlConnection();
cn.Con...
Is it faster the List.Remove(T) or List.RemoveAt(int) method in .NET collections? Is speed different for value types or reference types?
Thanks,
Alberto
...
Hi,
I've had a long look through MSDN documentation and all I'm starting to think that this editor is defined as Internal only. I'm guessing it is similar to the CollectionEditor, though this does provide any ToolStripItem specific elements.
[EditorAttribute(typeof(System.ComponentModel.Design.CollectionEditor), typeof(System.Drawin...
.NET Bitmap class uses GDI+
I want to know how many Bitmaps I can create.
Will memory leak when create too many Bitmaps?
...
What's the rationale (if any) of using XamlWriter.Save() to serialize a domain object?
Please describe realistic scenarios.
Thanks.
...
Every time a new feature like WPF comes along, it's added to the .Net Framework. Do you ever worry about disk space on the clients computer? Should I?
...
Hello
I was wondering is there any option of using Stylesheets for .NET Windows controls ?
If not, which is the best way to make the UI look consistent.I need to use VS 2005 to make
the changes in the UI.
Regards
...
I am trying to give some visual feedback to the user during a drag/drop operation. The feedback I'm struggling with is in the case where the drag target is somehow invalid for the type of data being dragged. I'd like there to be some feedback (during the drag) which displays a small message as to why the drag would be invalid.
I am tr...
What are common practices for designing a build system/project structure that allows targeting multiple .NET versions with different feature sets?
Specifically:
Should you branch in source control?
Should you use conditional compilation?
Should you derive interfaces, thereby versioning them?
Should you create seperate "versionX" proje...
I am a fresher to .net. is that possible to create a tar.gz using .net enviroment ? if yes how ?
...
I've always built my own serializers/deserializers to be able to use BeginReceive/EndReceive with sockets to avoid using one thread per connected socket. It's a quite time consuming task.
I've started to look at protobuf-net and want to used it with async sockets without having to write serialization/deserialization myself. I would pref...
How can I test my asp.net web application limits. User connections etc. And does my application is limited to server & IIS performance or what are the other factors?
How can I host an application which will be used by millions of people?
...
I need to call ASP.Net server side code from the client. Because I'm in an ascx user control I can't use [webmethod] + PageMethods as this only works on ASPX pages.
The next option that I thought would work was manually creating a client-callback. Using this method the client will successfully call the server code but the client will no...
Hi,
Is there a standard (framework) mapping between CLR types and xsd type codes.
I need to convert a string, int, decimal etc to the equivalent XmlSchemaSimpleType.
I can construct the necessary simple type and use a case statement to do the mappings myself. I was hoping their might be a standard framework class that can either constr...