Hi,
I have an command line that uses arguments, I have no problem with this, but each time I want to test the application, I need to compile it, run the CMD, call the application with the parameters from the CMD, because I didn't find any solution that let me dynamically pass arguments to the console in Visual Studio
Any idea about that?...
I am not sure if this a problem with my Fluent configuration or some logic in my thinking.
Basically I have a Person class from which I have two inherited classes, Author and Borrower (it's a library system). The mapping I have is.
public class PersonMap : ClassMap<Person>
{
public PersonMap()
{
Id(x => x.Id, "id");
...
Is it possible to implement different layouting modes for a windows form without having to manual compute the alignment locations?
For example: I have a Form which should be able to displayed in two modes normal & touchscreen. Touch screen mode being the same form with larger buttons, larger fonts and should not have alignment issues.
...
How do we set the parameters of .Net's reportviewer?
...
I am working on an C# and ASP.Net application, that uses Windows Authentication.
i.e. in Web.config:
<system.web>
<authentication mode="Windows" />
</system.web>
I want to get details for the current user (full name, email address, etc) from Active Directory.
I can get their pre Windows 2000 user login name (eg: SOMEDOMAIN\so...
I have a client-server application that uses .NET remoting.
The server sends update event to the client via .NET events. (That was a big deal to get working, but it has been deployed for seven months without problems.)
To be able to listen to events, the client has to create a listening channel. My app.config file specifies port "0", m...
Hi guys,
What would be considered the best practice in duplicating [cloning] a LINQ to SQL entity resulting in a new record in the database?
The context is that I wish to make a duplicate function for records in a grid of an admin. website and after trying a few things and the obvious, read data, alter ID=0, change name, submitChanges(...
I'm wondering how many folks using the Microsoft development stack (IIS and/or ASP.NET) are actually using REST? If so, what forms of rest are being used?
REST can be categorized a zillion ways, but for the purpose of this question I'll categorize it as follows:
Radically REST: Using all the
HTTP methods PUT/POST/GET/DELETE
Moderate...
I know this is probably the canonical "It depends..." question but I'd appreciate any pointers as to where to start looking.
I have a client/server app talking over ethernet. In one computer I run the server and a client and on another just the client. One runs Vista and one runs XP. After an uptime of about 3 weeks the entire computer ...
I'm trying to code a web service client in Silverlight for a RESTful WCF service that I have developed. In Silverlight I am constructing the body of the WebRequest using a DataContractSerializer instance.
This approach works great if there is a single argument for the OperationContract. It doesn't work so well if there are multiple ar...
Hi,
I want to keep the settings for two different projects for c# commonly.Is there any way to achieve this?.
Regards,
Harsh Suman
...
I need to make a large c++ library avaiable for use in .Net languages such as C#.
The library contains a large number of classes which can be broken into two groups. Refrence counted classes, which implement the IRefCounted abstract class and use a factory method to create them, and just plain classes using new/delete.
In adittion ther...
I have a .Net application. I want this application to send an email to me. How do I implement this without installing an SMTP server?
...
What would be the best approach to migrate a .NET Windows Service to Linux using mono? I've been trying to avoid executing the application as a scheduled command.
Is it possible to obtain a service/system daemon(in linux) like behavior?
...
Is it possible to set up continuous build of projects written in .NET and Java on single build server with single set of applications?
I've seen CruiseControl has support for both world but as far as I know these are two separate applications. Should I go with a separate machine to build Java projects (a machine for .NET projects is alr...
I need to validate an object to see whether it is null, a value type, or IEnumerable<T> where T is a value type. So far I have:
if ((obj == null) ||
(obj .GetType().IsValueType))
{
valid = true;
}
else if (obj.GetType().IsSubclassOf(typeof(IEnumerable<>)))
{
// TODO: check whether the generic parameter is a value type.
}
...
Say I have the following C# code:
Action a = TestMethod;
Action b = TestMethod;
Action c = b;
b += a;
Tests indicates that b is not the same instance as c, so clearly the + operator seems to create a new instance of the delegate. Is this a correct assumption? Does it reuse the b-instance internally, or does it just copy the method/tar...
I'd like to expose data that can come from different sources (ie. a database, or various other folders locations) and make it available as a virtual network folder so that users could access the data, and also write data into this virtual folder structure, with a listener translating the action into what should be done with the file behi...
How do i know for sure that my production server uses release build dll's. Is there a way to find that info inside dll?
Duplicate of:
How to tell if .net app was compiled in DEBUG or RELEASE mode?
How to check if DLL is debug-compiled
...
Im planning to upgrade a large vb6 application to .net. The project uses many third party components eg VSFlexGrid as well as crystal reports. It also uses old VB6 dlls whose source code is unavailable. My questions are
Should I convert the source to C# or is VB.net robust enough? What do I do about third party components that are not ...