Design patterns for web services?
Hi, I am developing web service in C#, .NET 2.0. What are the proven design patterns for a web service? If possible please provide me the link about these design patterns? ...
Hi, I am developing web service in C#, .NET 2.0. What are the proven design patterns for a web service? If possible please provide me the link about these design patterns? ...
Is it possible to host Silverlight in the Windows.Forms without the WebBrowser control to avoid unnecessary COM marshaling? EDIT: The goal is to use a rich graphic content like WPF or Silverlight on older platforms like Windows 2000. ...
How to implement a splash-screen using an image with alpha channels transparency/opacity in WinForms? ...
In a VS2005 C# project I have added a reference to System.configuration. In the object browser, I can see the System.Configuration.ConfigurationManager. In Intellisense System.Configuration only has the old ConfigurationSettings, and not ConfigurationManager. My code System.Configuration.ConfigurationManager.AppSettings["MySetting"]...
I've worked a little with *.config files in the past, but I've not uses Settings files at all. Simply put, what's the difference between a project's Settings file and *.config file? Are there conventions as to what information goes in which? When should one be used over the other? How are Settings files built - are they embedded into...
I have create a setup project using Visual Studio 2008. When installing on a different machine, i get the following error: The installer was interrupted before MyApplication could be installed. You need to restart the installer to try again. the log file shows the following MSI (s) (D8:20) [14:06:01:020]: Executing op: Compo...
Hello, I have TextBox and ListBox with bunch of elements. TextBox has KeyDown event handler, the idea behind this is to allow user to press up and down keys to scroll inside ListBox while focus is on TextBox. When user presses "down key" several times, selected element becomes last visible element on screen. If user has reached bottom...
Silverlight works on OSX and Silverlight uses .NET Framework (at least a large portion of it). Does it mean Microsoft actually ported .NET Framework to OSX but doesn't tell us? Or do you think we can accept an official .NET Framework for OSX any time soon? ...
Are there any resources about the asymptotic complexity (big-O and the rest) of methods of .NET collection classes (Dictionary<K,V>, List<T> etc...)? I know that the C5 library's documentation includes some information about it (example), but I'm interested in standard .NET collections too... (and PowerCollections' information would als...
Hi, as i understand that any .NET program gets compiled to MSIL which is fed to the CLR which compiles it to the assembly code and along with the help of JIT it executes it. I was wondering, as .NET is a wrapper around the win32 api and the CLR ultimately converts the MSIL to assembly program. Isn't it possible for me to write some func...
Does anyone want a framework/class which allows me to clone by values .Net objects? I'm only interested with public read/write properties (namely DataContracts), and I don't care if references are resolved correctly (i.e. collecions which contains the same instance of item twice). I tried serialization trick via DataContractSerializer (...
Hi, If I provide Evidence to the .net framework on which code group my assembly belongs to, couldn't I provide false evidence stating that I belong in the Trusted Zone code group? I know what security policies are, permission sets but I don't understand how the framework checks the Evidence and then based on that evidence, determines t...
Hi all, next month I will begin to develop a project and I'm studying about that (I'm a novice). In this project I will create many report storing data from a Database so I'm concentrating about how print the report using WPF. I need to use many features as follows: page header, page Footer, multi page, page number and so on. I ask yo...
Hi all, I am currently dealing with the problem mentioned in this Microsoft Connect Feedback: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=96049 The only difference to this feedback is that in my code the bug occurs only under Vista. As the problem still seems to exist, has anyone here on SO found a ...
What is the best way to convert an internationalized domain name to its ASCII-form? I want to convert Bücher.ch into xn--bcher-kva.ch by using some sort of (free) .net code. ...
If I have two different file paths, how can I determine whether they point to the same file ? This could be the case, if for instance the user has a network drive attached, which points to some network resource. For example drive S: mapped to \servercrm\SomeFolder. Then these paths actually point to the same file: S:\somefile.dat A...
Hi there, I have a class called tdes which looks like this: Imports Microsoft.VisualBasic Imports System Imports System.Collections.Generic Imports System.Text Imports System.Security.Cryptography Imports System.IO Namespace security Public Class tdes Private des As New TripleDESCryptoServiceProvider() Private utf8...
By design Log4net only outputs a message to the console if it can't be configured correctly (http://log4net.sourceforge.net/release/1.2.0.30316/doc/manual/faq.html#reliable). Logging is a critical part of my application, so want to know if Log4net was configured correctly. I've not been able to find any way to get the info from Log4net,...
I'm used to press shift+F7 to switch between my code behind and the designer (which takes between 1 and 5 seconds to load) then I always have to click on View Xaml to modify my XAML code. I don't find any shortcut in Tools/Options/Keyboard to go directly (from code behind to XAML code). How can I do that ? ...
We have a .NET application that will be distributed through USB drive. End users will connect the drive and double click on the EXE (a .NET exe) to run it WITHOUT installing it. Now the problem is, if .NET is not installed we would like to trigger the .NET installer instead of showing the default download message that MS has put there. ...