Equivalent of PathMatchSpec for .NET
Does anyone know if there's an equivalent functionality to the Windows API function PathMatchSpec() in .NET? Thanks in advance ...
Does anyone know if there's an equivalent functionality to the Windows API function PathMatchSpec() in .NET? Thanks in advance ...
Is there a way to tell AutoMapper to ignore all of the properties except the ones which are mapped explicitly? I have external DTO classes which are likely to change from the outside and I want to avoid specifying each property to be ignored explicitly, since adding new properties will break the functionality (cause exceptions) when tr...
Does anyone know what's the .NET/C# equivalent of Delphi's forceDirectory function ? For who don't know delphi, forceDirectory creates all the directories in a given path if it doesn't exist. ...
I've encountered two different variations of this: "The ServicePointManager does not support proxies of proxy scheme" "The ServicePointManager does not support proxies of HTTPS scheme" I get this error when a client attempts to connect to our webservices through a proxy. I've encountered this problem with a few clients using proxies, t...
Hello and good morning! I have following scenario: We have a WebService which poses as a search-engine, used by WebApps But as we all know on 32bit systems and IIS6: 800Mb is the max. alloc-mem for a webapp... Now I had the following idea, as we are exceeding this limitation: Let the WCF communicate with a Windows Service, which isn'...
Hi, I have a C# windows mobile application originally created in VS2005 that was used to create a test database. However, now that I've included the C# code into a VS2008 project and re-setup the SQL references, I receive the following error: An unhandled exception of type 'System.TypeLoadException' occurred in Unknown Module. Additio...
For many projects we had to choose a CMS platform. I came across a few CMS platforms based on .NET. I want to know your experience. Community Server (cannot be called a true CMS) DotNetNuke (DNN) Umbraco Kentico Sitefinity Can you please touch upon the following points: UI customization. Feature extension. Third party extensions S...
I'm trying to write a function to generate the full C# declaration for a Type object. My current method involves performing very manual and specific logic on the Type object. Is there some built in way to .Net to generate this declaration? As an example, take this class: namespace My.Code.Here { public class Class1<> { pub...
How do I programmatically restart a COM+ application running on a remote server from code in .NET? ...
Hello I'm writing a cross platform datalogging application in C# so I use the .NET compiler for Windows and Mono for the Mac. I'm at the stage now where I'm building the GUI for my logging application, I have a plug in arcitecture so am reasonably flexible on what I use. I'm looking for a charting library to initially plot simple line ...
As in title... What is Azure and .NET Services? Are there in correlation with WCF Services? Thanks, Alberto ...
Cloud computing is about providing computing, storage and networking capacities on demand. It is a fresh but very compelling concept for solving some specific tasks, for example: Running CPU heavy computations Having a scalable storage system for raw data Scaling realtime services up to the customer demand as it goes up and down. I'm...
I wrote an assembly in C# and I needed to invoke a method on the DLL from a VB6.0 application. I made the DLL COM compliant and registered the DLL accordingly. From my VB application I would then instantiate the class in the .NET assembly using the VB6.0 CreateObject method. Set dotNetObj = CreateObject("Namespace.ClassName") I would ...
Hello SOers, imagine you have the following interfaces: public interface IInterfaceA : IInterfaceX { // // declarations // } public interface IInterfaceB : IInterfaceX { // // declarations // } public interface IInterfaceC : IInterfaceX { // // declarations // } Now I want to replace the followin...
Let me explain. I have defined an interface named IEmployee (ID, FirstName and Surname properties) but I have not yet implemented that interface in any class. What I want to do is something like: Dim User as New IEmployee User.ID = 1 User.FirstName = "" User.Surname = "" Call SomeFunction (User) The VB.NET complier does not seem to ...
I have an IEnumerable list of objects in C#. I can use a for each to loop through and examine each object fine, however in this case all I want to do is examine the first object is there a way to do this without using a foreach loop? I've tried mylist[0] but that didnt work. Thanks ...
Help! I have a clickonce app built and published using .Net 2.0. This app has a number of .Net dll's all built using .Net 2.0. However when I publish the app, and try to install it I get a message saying that version 3.5 of .Net is required! I've tried my best to track down what component could require .Net 3.5, first by checking and r...
Hi all, I have a list 2 categories (cars and boats) and want to have an image for each item. Is there an easy way that I can appoint an image to the cargroup or boatgroup in resources? regards ...
We're designing a winforms app, and in order to match its appearance to the system theme we're trying to restrict ourselves to the colours in the SystemColors class. However, it's sometimes hard to choose appropriate colours without knowing what colour they correspond to in the different themes. I can see the palette for the current th...
I need to create a generic object based on a type that is stored in a database. How can I acheive this? The code below (which won't compile) explains what I mean: string typeString = GetTypeFromDatabase(key); Type objectType = Type.GetType(typeString); //This won't work, but you get the idea! MyObject<objectType> myobject = new MyObjec...