-
- Session Problem with [OperationContract(IsOneWay=true)]
by kasichainula
- 6 Replies
- Last post
by Carlos Figueira - MSFT
- hi,
im facing a problem with the session in my wcf service. i want to make this service as
[ OperationContract (IsOneWay= true )] and the method under this is a void one so making it as IsOneWay=true is not a problem.
but i need to work on HttpContext .Current.Session objects in my service. but to my surprise sessions are not working
and every time it is giving the Typical Error Obje
-
- Returning/accepting interfaces in services - why not?
by Siteadm
- 2 Replies
- Last post
by Siteadm
- Hi forum
Why cannot I not expose a service like this:
interface IMyService{
IProduct GetProduct(int id)
int CreateProduct( IProduct product )
}
It is not possible to set [DataContract], [DataMember] attributes. So I can't expose the members of the IProduct interface.
I don't understand why it would not be possible to make WCF work with this. The contract
-
- Error Installing on Vista
by Lior83
- 10 Replies
- Last post
by Ahmed Hassouna
- While trying to install LINQ preview for visual studio 2005 on a vista machine i'm getting the following error message: The specified path is too long: C:\ProgramData\Application Data\Microsoft. Anyone
-
- Dummy question: Certificates & Services
by Amadrias
- 6 Replies
- Last post
by Amadrias
- Hi,
I'm quite new on using WCF and coming from a .Net Remoting world.
I found a lot of common design practices that makes it quite easy to understand. However, I have some issues with the security side.
It seems that if I want to use security with my services, I need to "sign" them using certificates. This is fine if you are in a standard client-server application that is gather
-
- Connecting to Remote Service
by Mr Flibble
- 2 Replies
- Last post
by BenK
- I have successfully created a simple client and server, and when both running on XP SP2 the client connects to the service no problems. When trying to access from a difference computer, i can get the wsdl, i can telnet on port 8000 (so it's not a firewall issue), but i can't request anything from the service, it just keeps coming back with: Unhandled Exception: System.ServiceModel.Security.Securit
-
- Control sizing
by george_v
- 2 Replies
- Last post
by george_v
- Hi
I have a custom control that displays items in a row. I want to size it such that the row is fully visible when resized, similar to the Styles control in Word.
I tried setting the height and width of the control, doing this does not give me the new available size in MeasureOverride when the host is resized. How do I resize a control incrementally depending on the host size.
Tha
-
- left joins in linq
by khawar yunus
- 1 Replies
- Last post
by Bltfast
- hi guys
how can one do a left join. ex: all customers + shipping address for the ones that have shipping address, given that customer and shippingadress are two tables.
-
- how to let WPF program not run as Administrator in Vista
by zhangchenxu
- 3 Replies
- Last post
by WPCoder
- Hi everyone,
I write a prorgam using WPF/WCF. The client (it communicates with server by WCF) is deployed in Vista, but it needs 'Run as Administrator' privilege to run when i first execute it.
The question is how i make that program run as normal right rather than it needs to select run as administrator, or how to make it's not run as administrator
thanks in advance
-
- EvaluationContext and Identities property
by stsym95734
- 2 Replies
- Last post
by stsym95734
- Almost all custom authorization policy sample code I look at check for the Identities property in the IAuthorizationPolicy.Evaluate method:
if (evaluationContext.Properties.ContainsKey( "Identities" ))
{
List < IIdentity > identities = evaluationContext.Properties[ "Identities" ] as List < IIdentity >;
IIdentity identity = identities[0];
}
-
- Microsoft Synchronization Services for ADO.NET & SQL Express w/Adv Services
by wenyonk
- 7 Replies
- Last post
by Matthew Sorvaag
- Will the Microsoft Synchronization Services for ADO.NET work with SQL Express w/Advance Services
-
- Error with delete then insert
by Niz0r
- 14 Replies
- Last post
by Matt Warren - MSFT
- Hi
When i delete from a table with a composite key and then re-insert a row with the same composite key, i get a duplicate key exception. If i insert, close the program and then insert, it works just fine. I can see that the value has been deleted from the database when i expect it to be, but there must be some remnant in the LINQ-objects.
Any workaround Or am i missing something
-
- Metod call authentication
by Wicket
- 3 Replies
- Last post
by Sajay - MSFT
- Hi all!
I need some Principal / Identity guidelines.
I'm about to design a business/data layer (of a small application) using WCF. The user will have to login with a username and a password that will be checked against information in a database. The user will also be assigned different roles depending on what the database says. The clinet will be a winforms app and (as I said) the business/d
-
- All XBAPs stopped running today
by NedHamilton
- 2 Replies
- Last post
by Rob Relyea
- All my XBAPs stopped working today. Lots of Petzold stuff, family show, XAMLT. Can't run them from start menu, can't uninstall them, can't reload them. Get same error messages:
dialog box comes up trying to launch, then says app can't be started. The details all say:
"Value does not fall within the expected range"
There were patches installed last night with Windows update.
-
- Supporting token signatures not expected
by Geminimale
- 3 Replies
- Last post
by Todd West - MSFT
- Hi All,
I am getting this exception in the trace from my client to my STS Server. I am using Username/Password authentication and I am getting to the STS Server passing the CheckAccess. When my client then requests the saml token, the STS Server is throwing the "Supporting token signatures not expected." exception. It may be overkill but I am including the bindings for the client
-
- Handling clickevent from Custom Control
by Christian Sparre
- 2 Replies
- Last post
by sparrez
- Hello I have this Custom Control "MenuBar" which contains several buttons. This "MenuBar" control is embedded in a larger Main Window. For each button I have a corresponding eventhandler for when they are clicked, but how do I set a Grid in the Main window to Visible when they are clicked. The eventhandlers are defined in the codebehind file for the MenuBar. I can't seem to a
-
- Entity Framework and NHibernate
by Andr&#38;&#35;
- 3 Replies
- Last post
by Andre Dias
- Hi Guys,
I downloaded the June CTP samples and I'm trying to understand the Entity Framework architecture, but I have to say that I'm too confuse :-p
I have tested OR/M frameworks where I use attributes, others like NHibernate where I use XML mapping, but in Entity Framework I have both. It sounds too strange for me.
In my opnion, csdl, ssdl, msl and POCOs are enough. Why Do I
-
- Shared ObjectDataProvider in ResourceDictionary
by stephenV
- 7 Replies
- Last post
by stephenV
- I'm attempting to put an ObjectDataProvider in a ResourceDictionary, so I can use it between multiple configuration windows. I'm editing a collection called GroupsCollection and I want the changes made in one window to be reflected in another. The GroupsCollection is an observable collection.
How can one go about ensuring that it is the same collection used between windows, without passing
-
- Compiler Features not Workinig in 3.0 Web Sites
by Robert.S
- 13 Replies
- Last post
by Peter Ritchie
- I have 2008 beta 2 standard running on my home box. Is there a reason the compiler features in Orcas such as Automatic Properties do not work in 3.0 websites WPF 3.0, 3.5 - works Web Project 2.0, 3.0, 3.5 - works Web Site 3.5 - works Web Site 3.0, 2.0 Fail
-
- Vista toolbar / hue adjustment, StrokeThickness
by Jan Ku&#269;era
- 10 Replies
- Last post
by Jan Ku&#269;era
- Hi,
how could one create the toolbar which replaces Vista application's menu Like Vista Explorer, Windows Mail, Live Mail, Windows Media Player and so on
I'm asking two questions in fact - the one is how to represent it visually similar (which linear gradient or png overlay ), and the second is, how can I adjust the color (hue) of the toolbar Live Messenger is a very good example of let
-
- children order in LogicalTreeHelper.GetChildren() method
by Scorpion1234
- 1 Replies
- Last post
by Matt Hohn - MSFT
- Hello, I'm Using LogicalTreeHelper.GetChildren(FrameworkElement e) to iterate on All the XAML control. my question - is the order of the children enumeration return from this function corresponds to the order of the controls in the XAML itself
-
- Properties for control not showing
by Jared561500
- 0 Replies
- Last post
by Jared561500
- I am using the VPC image, and when I attempt to view the properties of a control in a new Windows Forms C# project, I get a completly blank panel. Do I have to do something special to get the properties panel to display
-
- Is Query Visualizer coming back for Orcas RTM?
by Joe Rattz
- 9 Replies
- Last post
by Joe Rattz
- Is the query visualizer going to make it back into VS Orcas in time for release
-
- Database owner and table name prefixes
by TullFan
- 5 Replies
- Last post
by TullFan
- Hi - hope I am not asking something already answered - couldn't find anything with a search...
I have an application that - depending on any particular installation - will need to change the database owner (not always dbo) and possibly the table names by adding a prefix...
Since the database owner and table name are held in attributes, I cannot seem to devise a way - at runtime - to
-
- Having trouble moving Canvas Objects in Designer.
by TheAnti
- 1 Replies
- Last post
by TheAnti
- Well I think the topic title pretty much covers it! The designer is virtually useless when working with objects in a canvas. I can't move items nor can I resize them. I have to work using Margins and Width/Height.
Any help on this I'm using Microsoft Visual Studio 2005 Standard with the WPF extensions.
I 'd like to ask another question! Why is WPF so slow I hav
-
- Dynamically loading dll's in C#
by Tom Praison
- 6 Replies
- Last post
by BenK
- I want to design a system using WCF in the backend. The business logic can be catagorized in to certain different units. There is a possibility that there might be changes in the business logic in some units every 3 months or there may be addition of new units. So i thought i can keep the names of the units and their associated dll's in config file and dynamically load based on the request. Is the