Running .NET 1.1 on Windows Azure
Is it possible to run ASP.NET 1.1 on the Windows Azure? Thanks! ...
Is it possible to run ASP.NET 1.1 on the Windows Azure? Thanks! ...
Can silverlight 3 or silverlight 4 detect which version of .NET framework installed on client machine without being in OOB mode? ...
I'm building a Notepad. I have a Find and Replace form. When I click a button that form opens, user gives two input in two textboxes and press a button. Then the RichTextBoxes from the main form is supposed to get modified. Here's the form of the FindAndReplace form : private void btnReplaceAll_Click(object sender, EventArgs e) ...
I trying to open C: directly with FileStream without success: new FileStream("C:", FileMode.Open, FileAccess.Read, FileShare.ReadWrite); System.UnauthorizedAccessException was unhandled Message="Access to the path 'C:\' is denied." Source="mscorlib" StackTrace: in System.IO.__Error.WinIOError(Int32 errorCode, Str...
I'm starting to think that I should ditch Windows WF in favor of something simpler. I don't necessarily need to pause workflow execution for extended periods of time and restore them later. I would like a simple state machine framework that does have basic suspend / resume / abort (without serialization), however. I've downloaded the ...
I know that I can specify a constructor to use with the DefaultConstructor attribute. However, I also want to be able to use a different constructor in some instances. Is there any way I can register both constructors with StructureMap, and then choose which one to use when I call ObjectFactory.GetInstance()? ...
From my experience many validation frameworks in .NET allow you to validate a single field at a time for doing things like ensuring a field is a postal code or email address for instance. I usually call these within-field edits. In my project we often have to do between-field-edits though. For instance, if you have a class like this: ...
Simple question: Is LINQ-to-NHibernate stable and feature-complete enough to be used for production code ? What are the limitations ? NOTE : I am aware that this is a duplicate of this question, but the last answer is over a year old, so the answers might or might not be relevant any longer. ...
I am writing a small utility for myself so whilst I am using Unity currently, I can change to a different IoC container if it will allow me to get around this problem. I want to create a class that is given some data when it is created, but is immutable after that, normally I would do this with: class SomeItem { public SomeItem(str...
Please, explain the difference between "DispatcherTimer" and "a regular Timer" that @Kent Boogaart meant for using in a multithreading WPF app as a task sheduler in this topic: http://stackoverflow.com/questions/1341829/advice-needed-for-multi-threading-strategy-for-wpf-application in the commentaries to one of the post (quote): -If a...
is there a good way of generating a visio diagram of an architecture (with a decent layout) if i have a list of client apps, services and databases? i would have thought there would be a decent way to generate this on the fly. ...
I'm using an extensive existing COM API (could be Outlook, but it's not) in .NET (C#). I've done this by adding a "COM Reference" in Visual Studio so all the "magic" is done behind the scenes (i.e., I don't have to manually run tlbimp). While the COM API can now be "easily" used from .NET, it is not very .NET friendly. For example, th...
I need to check that specific string contains in the set of others: private bool Contains(string field) { return this.Fields.Contains(field); // HashSet<string> local property } What is the best type of container to use if only one task of it - to hold a number of strings and check does another one is into or does not? ...
I'm writing an app which involves arithmetic with humongous numbers, with very many digits. I've previously written a class that simplifies handling big numbers by defining them as strings and then using slow arithmetic string functions. Is this the best way to do it? If not, how should I approach this problem? Does C# have anything buil...
I want to know What are the exact differences between .NET dll and a normal dll. First question, what is "normal DLL" called? I'm using the word 'normal'. But it doesnt seem right? Because both follow the PE format. Yeah, I agree that .NET DLL has an extra section. Other than that every thing else is same. I also know that in .NET ...
I have to leave in a DataTable only records with dates currently not present in the database. So I read all existing dates using the stored procedure (is it correct?): SELECT DISTINCT CAST(S.[date] AS DATE) -- original date is DATETIME2(0) FROM ... WHERE ... and load it to a DataTable: var tableDate = new DataTable(); new SqlDataAda...
Hello, I need to access Web Service from .NET Compact Framework 3.5 application. Problem is that Web Service uses cookies for authentication. In desktop application I use .NETs CookieContainer(), which is missing in CF. How can I manage cookies in CF without CookieContainer? Can someone give me a hand in solving this problem? Thank you...
I'm using Type.InvokeMember() to dynamically invoke various members of a Type. Since the members can be generic and also include out parameters etc., I'm happy to have the runtime handle this. However, I also need to have additional information about the actual member that's been invoked -- particularly, the return type. If this type ...
If my app needs to reboot the system to change something and I'd like it to automatically continue its actions after the reboot, how can I add a key to the registry (more importantly, where in the registry) to launch the app on the first reboot? Just to be clear, I want this reboot-launch to happen only once. In other words, once the com...
In our LOB application there is a very important use case of printing letters, which are then printed and posted out from a mail house (thousands per day). The current situation is that the letter templates are created in Word 97 and fields are mail merged from values in database using a VB.Net application that basically uses word automa...