-
- Tracing exchanged SOAP messages
by shadeofred
- 5 Replies
- Last post
by Scott Seely
- Hello,
I've been looking for some tool that could help me trace and study messages exchanged between a client app and a web service when both are hosted on the same machine but up to today I have failed.
Wireshark and Microsoft Network Monitor do not trace anything if both the client and the service are local to the same machine ...
I've tried using tools such as MsSoapT3 (tak
-
- Referencing a BaseType in an assembly.
by MichaelD!
- 3 Replies
- Last post
by Srikanth Mandadi - MSFT
- Is it possible (or will it be possible) to do something like this:
< EntityType Name = " NamedEntityBase " BaseType = " Common.Data.EntityBase, Common " >
...
If not, it sure would be nice.
-
- How to pass method parameters consisting of objects of non-serializable FCL types in WCF?
by MoKei
- 4 Replies
- Last post
by MoKei
- Hi,
I'm recently moving from .NET remoting to WCF and converting a NET remoting solution to WCF. The remoting projects consists of MarshalByRef classes that contain a lot of methods with non-serializable out-parameters (e.g. out IList<MethodInfo> to which object of type List<MethodInfo> is assigned).
That worked pretty well in remoting but WCF service fails - communic
-
- XAML feels Debuggerless
by bes7252
- 4 Replies
- Last post
by Chango V. - MSFT
- We've learned to rely on our debuggers. We save hour (and days) by letting them tell us where to look and show us the memory contents surrounding an error. Thank you MSFT for a great Debugger in the VS projects.
That said, what's up with the XAML debugger It's very frustrating to repeatedly see "Error in markup file 'Builder.xaml' Line 1 Position 9".
-
- Resource editor: Snaplines
by PaloMisik
- 1 Replies
- Last post
by Tarek Madkour MS
- Do you plan to add cool feature called SnapLine(from Windows forms designer) into native resource editor(rc.files dialog editor) I personally think that snaplines are really helpful when you do a lot of dialogs.
-
- WCF Message Certificate Security
by Sidharth Nayyar
- 1 Replies
- Last post
by Sidharth Nayyar
- Hello, I've created a simple WCF web service and client and wanted to test message, certificate security on it. The web service is setup like so (only changes were made to the web.config)
Code Block
... <system.diagnostics> <sources> <source name="System.ServiceModel.MessageLogging"> <listeners> <add name="messages
-
- Life-cycle of objects created with ChannelFactory<T>.CreateChannel()
by dimitrod
- 8 Replies
- Last post
by dimitrod
- Objects created with ChannelFactory<T>.CreateChannel() implement the IDisposable interface. Do I need to manually call the Dispose method in order to close the channel or it will be automatically called by the destructor when the object is garbage collected
-
- Reuse a Submenu?
by mabster
- 6 Replies
- Last post
by Douglas Stockwell
- Hi gang,
In my application, I'd like to have a submenu (eg. under "File|New") with a series of items in it, each representing things the user can create.
I'd also like to have that menu available as the submenu of a "New" menuitem in a context menu.
And as a third option, I'd like to have a menu on a toolbar (disguised as a button) so that the user clicks t
-
- Entity Framework Connection failing
by Rick Strahl
- 14 Replies
- Last post
by Cees Versteeg
- This must be a simple thing but I can't seem to get the context to connect once I've generated a new model. The model is created and compiled. I created the model in a Classlibrary project and it added an app.config connection string.
I then use a Web app to access the model. I've added the same connection string into web.config but it continues to fail.
I'm not sure what to make of
-
- Generic Extension Methods
by CompuBoy
- 3 Replies
- Last post
by Peter Ritchie
- I am using VS 2008 Beta 2 and recently have written an extension method which causes VS to crash while initializing IntelliSense but compiles and works successfully. Here is my scenario and the code I have written:
I have several classes that inherit from a common abstract base class Base . As I wanted all of them to be cloneable (i.e. support deep copy) and the code to make all of them clo
-
- Garbage Collection. With TreeView, ListBox, etc
by Fedz
- 9 Replies
- Last post
by Dr. WPF
- I am building an application that uses Tree Views and List Boxes extensively.
The problem is that I need to load data dynamically from a data source, and I use the Clear() function often in order to delete all the children of a node (when its a Tree View) or all the items in the List Box.
My problem is that the application starts eating more and more memory with time. The items are neve
-
- Need advise on communication between 2 layers
by Serge Calderara
- 2 Replies
- Last post
by Serge Calderara
- Dear all,
I am building a standard multitier application based on Framework 3.0.
The main problem I have is what is the best way to communicate between tthe buisness layer and the datalyer when I need to send parmaeters from BL to DL
let me explain :
I have actually a Windows Service hosting a Remote server component using .NEt remotin, which is in charge to archives data in a
-
- System.ServiceModel.Description.IMetadataExchange causes InvalidOperationException
by D. Yates
- 1 Replies
- Last post
by Dave Cliffe - MSFT
- Is this a bug
This works:
<services> <service behaviorConfiguration="myServiceBehavior" name="Host.HelloIndigoService"> <clear /> <endpoint address="HelloIndigo" binding="basicHttpBinding" name="basicHttp" contract="Host.IHelloIndigoService" listenUriMode="Explicit" /> <endpoint add
-
- How can I fit Linq in an NTier Scenario?Any suggestions?
by vbjunkie
- 14 Replies
- Last post
by vbjunkie
- Hi, I have been playing with Linq for a week now ,and I am still not sure how Linq fits into an N Tier/3 tier application.
In a traditional NTier Application I would have
Very thin Dal Layer using Raw Ado.net or DAAB.
Business Layer where a rich business Object resides
Presenter which Interacts with UI-Business Layer etc..
Having had a look at what SqlMetal generates for m
-
- Should/could my methods be shared when running over WCF?
by rcook349
- 1 Replies
- Last post
by Ed Pinto - MSFT
- For the methods in our "service" project (business tier), is there any issue with implementing static (shared) methods over Windows Communication Foundation (WCF) If not, should we consider making those methods shared . We don't maintain any state in the objects, so it doesn't really make sense to me to instantiate an object in order to call a stateless method on that object.
An
-
- making the slider slide with one click anywhere on the slider?
by Patrick K.
- 6 Replies
- Last post
by damy
- Hey guys, I am trying to get the Slider to behave like this:
If the user clicks (mouse down) on the slider somewhere the thumb is moved to the location of the click immediately
when the user clicked on the slider and he moves the mouse, the thumb is sliding with the cursor... 1. Apparently there is a property called "IsMoveToPointEnabled" that if set to True causes the RepeatBut
-
- Authentication via "API Key"
by Mark A. Richman
- 9 Replies
- Last post
by Todd West
- I'm trying to decide on an authentication scheme for my service. For reference, I'm looking at both the EBay and Amazon S3 APIs. They both employ an "API Key" method where you inject a key pair ( ) into the message header.
Is this best practice, or should I be looking at something else I do not necessarily require SSL, but I do not wish to pass unencrypted credentials over the wire. I
-
- Blend - watch out - it uses the PLATFORM enviornment variable
by karl140.6
- 4 Replies
- Last post
by Unni Ravindranathan - MSFT
- Everyone,
I just purchased a brand new HP Quad Processor system, 64 bit, 4GB memory, NVidia 8800, Vista Ultimate, 24" monitor, the works.
Well, I loaded up a project I've been working on for 3 weeks and Expression Blend displayed weird errors.
Telling me that my solution file had platform type of HPD. It's looking for Any CPU, x86 or x64.
Turns out, HP loaded m
-
- WPF NotifyIcon and Window Handles
by Brad Leach
- 3 Replies
- Last post
by Xtreus
- Greetings,
I am attempting to create a WPF NotifyIcon class, as the WinForms NotifyIcon class doesn't meet my requirements and technical preferences (I would like to use a styled WPF ContextMenu and an Icon from my WPF Resources).
I'm using Shell_NotifyIcon() in the Shell32.dll method for the underlying implementation of this NotifyIcon class. One of the parameters to Shell_NotifyIco
-
- Comparing LINQ Objects
by jfarrell
- 3 Replies
- Last post
by Keith Farmer
- Greetings All, I would like to pose a question to the LINQ community, though whether I would ever use this in production code, I do not know. I think its roots are more curiousity then necessity. How can I order by objects, that is how can I compare two instance of the same object and use internal logic for ordering. I am well aware that I can emulate the same process using the current form, but I
-
- Insert Manually when ItemsControl.ItemsSource (DataBound)
by craig kelly-soens xpectworld.n
- 1 Replies
- Last post
by Prasad Honrao
- Hi,
If you are "data binding" a Windows Vista WinFx WPF control to a DataSet (a ComboBox in this case) and you want to insert a blank row firstly, you try the following code :-
oComboBox.Items.Insert(0, " ");
and receive :-
System.InvalidOperationException was unhandled This operation is invalid while ItemsSource is in use; access and modify elements through ItemsC
-
- Loading cursor as resource from assembly? Should be simple!
by DiamonDogX
- 6 Replies
- Last post
by Walt Ritscher
- I am simply trying to load a custom cursor from one of my assemblies (MyAssembly). It is in a folder called Cursors. What am I doing wrong
Code Block
private Cursor _openhandCursor = new Cursor ( ResourceUtilities .LoadResourceStream(
Assembly .Load( AssemblyName .GetAssemblyName( "MyAssembly.dll" ) ), "Cursors/OpenHandCursor.cur" ));
-
- Best Way To Animate Image Sequence
by Leebert
- 2 Replies
- Last post
by Jonathan.Peppers
- What is the best way to animate a sequence of PNGs so that it plays consistently smooth Currently I am preloading the images into a BitmapImage array during app startup and I am also both applying caching and setting scale quality to low: //inside a loop bitmap = new BitmapImage(); bitmap.BeginInit(); bitmap.UriSource = new Uri(@"pack://application:,,/Images/img" + i + ".png&quo
-
- Streaming contracts and enum as MessageHeader
by mareka
- 5 Replies
- Last post
by mareka
- Hi,
I have wcf service, I use MessageContracts for communication, one of my OperationContracts returns Stream. I know that when I return stream I cannot return any other MessageBodyMembers, so I added some MessageHeaders. It looks more or less like that:
Code Snippet
[MessageContract] public class AddAttachmentRequest { [MessageHeader] public Guid Attachm
-
- GetTemplateChild returns null
by asadim
- 1 Replies
- Last post
by Marco Zhou - MSFT
- I have a controller with the following pieces:
controller.generic.xaml
<!-- MENU BAR --> <StackPanel x:Name="FileMenuBarContent" Grid.Row="2" Grid.ColumnSpan="2"> <!-- Content will be injected at runtime --> </StackPanel>
controller.cs
[TemplatePart(Name = "FileMenuBarContent", Type = typeof(StackPanel)