-
- 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
-
- Limiting WCF Clients to "Approved" Clients
by Brian Orrell
- 6 Replies
- Last post
by Fiend
- We have successfully setup a WPF/WCF application with the WCF layer using TCP binding with Transport Security and clientCredentialType=NTLM.
The question that was posed by my client, "How do we prevent other 'un-approved' applications from calling the same services layer"
This is less about the method we use for authentication of users (we're using Windows Credentials) but
-
- wcf ssl issue
by TA123
- 5 Replies
- Last post
by Govind Ramanathan - MSFT
- Hi All,
I am trying to create a wcf application in which server is secured by certificate and client has no authentication at its end.I am using transport security.
Whenever i try to generate proxy for client using svcutil and with the following config in the service application, it gives error
" Error: Cannot obtain Metadata from https://localhost:8001/DotNetFunService/mex.If th
-
- Visual Studio 2008 Pro Beta 1 ISO Hash?
by Curious Programmer
- 0 Replies
- Last post
by Curious Programmer
- I downloaded Visual Studio 2008 Professional Beta 2, but didn't notice a hash value on the download page. Where is the expected SHA1 or MD5 hash value listed
The File Checksum Integrity Verifier utility fciv.exe produced the following results for me:
MD5 SHA-1 ------------------------------------------------------------------------- 28edde08428c5c941995e18790b8571e 6d3413943fc0b84
-
- Change Key in Keypress Event
by bes7252
- 4 Replies
- Last post
by bes7252
- I'm capturing the down arrow key in the Windows PreviewKeyDown event. In some conditions I'm moving the selected item in a list box. I'd also like the ability trigger a tab keypress instead. I'm not capturing the tab key--just using its default behavior.
How do I change a down arrow into a tab keypress
Brian
-
- Cannot start XBAP locally
by Jerma
- 7 Replies
- Last post
by Chango V. - MSFT
- Hello,
i just began to evaluate developing XBAPs by using VS 2008 (Beta 2). The first little test project worked fine if I open it from Visual Studio. But if I try to open it by clicking on the .xbap-file, i get an "An error occured in the application you were using" error. Clicking on "More information" shows nothing, but if i look into the source file of the error page
-
- Issued Token Provider issues
by dwj
- 2 Replies
- Last post
by dwj
- I know there are tons of posts about issued tokens and the federation binding, but I can't the answer to my question in any of them...
I am getting and "Invalid security" fault when my service is invoked from my client. I have a custom token provider (modeled after the caching issued token provider example). I know the client actually gets the token and caches it and then retrieves it
-
- adding a context menu to the tab items of a bound tab control
by rking
- 3 Replies
- Last post
by lee d
- I have create a tab control and bound it to an observable collection (Binding is defined in code).
Code Block
< UserControl.Resources >
< utilities:BitmapToImageBindingConverter x:Key = " BitmapConverter " />
< DataTemplate x:Key = " HeaderTemplate " >
< TextBlock Margin = " 0,0,3,0 " Text = "
-
- Axis 2.0 client having problems consuming WCF Web Service with wsHttpBinding
by RonanE
- 6 Replies
- Last post
by BenK
- Hi,
I'm designing a WCF service for consumption by a java client.
Currently I can create java stub files using wsdl2java when I set the binding to basicHttpBinding
However, when I try to use wsHttpBinding so I can encrypt the ws messages the stub file creation fails.
As far as I can see this is a big problem encountered by many other users of WCF. I'm sure if someone could solv
-
- TextPointer.GetCharacterRect throwing NullReferenceException
by No-spam Sam
- 5 Replies
- Last post
by LesterLobo - MSFT
- I'm trying to write code to scroll particular paragraphs of a FlowDocument to the top of a FlowDocumentScrollViewer.
What I'm thinking to do is to:
1) Find the Paragraph by Name in the FlowDocument
2) Use the Paginator attached to the FlowDocument and the GetObjectPosition to get a TextPointer to the Paragraph.
3) Use TextPointer.GetCharcterRect to find the offset to that paragraph in
-
- Linq to SQL Creating Databases
by RCXDude
- 12 Replies
- Last post
by Dariusz Jankowski
- I'm trying to use DataContext.CreateDatabase(), and I can't get past the following error: Cannot open database "testdb" requested by the login. The login failed. Login failed for user 'user'. The following code causes the error:
Code Snippet - ERROR
// Causes error on last line
SqlConnection connection = new SqlConnection( );
SqlConnectionStringBuilder builder
-
- Protected Interface???
by w_fryatt
- 3 Replies
- Last post
by wfryatt
- Is there a way to protect the WCF interface in a production environment, But have it open in a development environment
What I want to prevent, Is some John Doe connecting to my WCF Service and retrieving the interface.
Thanks,
Weston Fryatt
-
- WCF client and UserName token, unsecured channel
by RYoungx
- 3 Replies
- Last post
by RYoungx
- When the service requires UserName token for authentication, is it not possible for a WCF client to do this over an unsecured channel or when the message is unsecured
My client app.config looks like so:
<security mode="None"> <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType=&
-
- WPF UserControl
by SYED HANIF SH
- 1 Replies
- Last post
by filmlover44
- l
hi all
i have an UserControl develop in C#.net 2.0 [BarCode UserControl], i need to migrate BarCode UserControl to WPF UserControl, did any have experience on UserControl Migration to WPF Usercontrol
Please give ur suggestion with peace of Code
kinds regards
syed
-
- WPF AddIns - What about Transparency?
by MeMySelf
- 1 Replies
- Last post
by Andre N. - MSFT
- I was trying to play around with the new addin features in Framework 3.5. So yeah, Transparency in terms of more samples or documentation would be nice. Unfortunately there is not much material out there yet specifically the WPF side of things. The only example found so far is http://blogs.msdn.com/clraddins/archive/2007/08/06/appdomain-isolated-wpf-add-ins-jesse-kaplan.aspx I thought it would
-
- Bizarre Behavior of O/R Designer in Orcas Beta 1
by Roger Jennings
- 4 Replies
- Last post
by Roger Jennings
- I've made two installs of Orcas Beta 1 from the 5.32-GB ISO image under Windows Vista Ultimate so far: 1) On a fresh 20-GB partition with Vista (Dell 400SC with 2.24-GHz P4 and 2GB RAM) and 2) On a virtualized Vista VM running under VS 2005 R2 RC1 on a Gateway S5200D 2.8-GHz Intel DualCore with 4GB RAM (1-GB assigned to the VM). Both were custom installs with VC++ and Crystal Reports features excl
-
- Hosting with WCF
by Fox-Jazz
- 5 Replies
- Last post
by Brian McNamara - MSFT
- How do you get the client's IP when hosting via WCF
I need it to possibly send client back information on udp.
-
- beginner needs advice
by Wee Bubba
- 2 Replies
- Last post
by Wee Bubba
- i am planning a .Net smart client app. i need to decide between .net2.0 and .net3.0. one of the factors here is web services.
can anyone tell me or point me to a resource where i can find the key improvements between WCF and .NET2.0 web services so that i can better reach a decision. (security, performance, etc.)
thanks
-
- SQL Metal and Database Schemas
by NTDeveloper
- 1 Replies
- Last post
by Matt Warren - MSFT
- Suppose
A database that supports three schemas: SA, SB and SC.
Three tables TA, TB and TC located, respectively, in SA, SB and SC.
Then, note that the SQL Metal tool will generate code with table classes named SA_TA, SB_TB and SC_TC. This makes for very ugly code and names that are too long. Is there anyway to get the tool to generate namesaces for schemas instead of the ugly underscoring
-
- FindResource style not applied correctly
by Jeff Wain
- 4 Replies
- Last post
by hightouch
- I am creating a button within C# and applying a style to it via FindResource. This method works fine and the template is applied to the button, but after the style is applied to the button created in code, the template beneath the style (button appearance) appears to work fine but none of the properties of the style (fontsize, foreground, etc) display.
Here's a sample of the control creati
-
- Multi list functions (Map2, etc.)
by Michael_Giagnocavo
- 11 Replies
- Last post
by Michael_Giagnocavo
- It'd be handy if multi list functions were includeded, like ForEach2, Map2 (Select2), etc. Any thoughts on including this
For instance, I have a string list of ip addresses, and a list of ints for ports. I'd like to go through them as a pair and project. It doesn't look like I can do this with LINQ
-Michael
-
- Unable to set session parameters in DbServerSyncProvider.
by Sreevi
- 6 Replies
- Last post
by Yunwen Bai
- Hi
I am new to SSCE, Sync services is the one that suites to our new project implementation with Global Database as SQL 2005 and SQLCEs as client local databases.
I am impletenting sample with 'Uploadonly', inserting a row into client database, and trying to sync with global database, I have created triggers for insert, update,delete and stored procedure to insert data at serverside.
-
- Adding New Data Source: Exception has been thrown...
by Lexite
- 1 Replies
- Last post
by Young Joo-MSFT
- Trying to add an Access db (mdb) as a new Data Source in an Orcas project (DecCTP). At the end of the wizard when clicking OK, the wizard gives the following error:
"Exception has been thrown by the target of invocation"
Configuration: Vista, 2007 Office, Orcas Dec CTP
Any suggestions
Thanks, Lex
-
- WPF threading question
by iterationx
- 1 Replies
- Last post
by Chango V. - MSFT
- I've tried to post this a few times, I wonder why its not working.
Hi Everybody, I would like to add an item to a ListBox from another thread and I've learned that "This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread."
So instead of adding the item from the 2nd thread, I would like to use an AutoResetEv
-
- Server too busy exception.
by KevinBurton
- 14 Replies
- Last post
by KevinBurton
- I look in the client log and I see the below trace. It is an exception ServerTooBusyException. Is there some configuration that I can change to avoid this exception It seems that when I have more than 10 threads issueing calls at the same time I get "more" of these errors. The documentation is not very helpful it says that this exception is thrown when the server is too busy. What is cau