-
- The New York Times > RSS
by vans_p_2c07ca
- 2 Replies
- Last post
by vans_p_2c07ca
- The New York Times > RSS Really Simple Syndication (RSS) is an XML -based format for content distribution. NYTimes.com offers several RSS feeds for use in news readers and Web logs ... www.nytimes.com/services/ xml /rss/ - 120k - Cached - Similar pages
-
- Is MSMQ still the best way to ensure reliable message delivery?
by Vagif
- 5 Replies
- Last post
by Vagif
- We are going to revise our interprocess communication to use WCF. One of our challenges is that some of the servers can occasionally be offline - e.g. for upgrade or mainenance. Currently we are using MSMQ to persist messages. We have one MSMQ server, and this is another concern: it does not scale, we have a single point of failure.
So we have plans to start using WCF. But I can't think that we
-
- Exposing a service via WCF - Fundamental question
by Uday Shivamurthy
- 2 Replies
- Last post
by Uday Shivamurthy
- Hi all,
Pardon me if this is really basic, but, I need to know.
I need to expose a service using the WCF framework, can I expose this service on a hosting machine without ANY dependency on IIS what-so-ever. If yes, what are the various ways in which a service can be exposed for consumption on the WCF framework.
Lastly, how can my consumer (winforms application) make a "reference&qu
-
- Smooth progress bar
by OlegSav
- 5 Replies
- Last post
by Sambathraj
- Can anybody guide me on how to implement a smooth or custom progress bar in wpf
-
- How to setfocus on newly created datatemplated items ?
by Anthony_Sebastian
- 3 Replies
- Last post
by Anthony_Sebastian
- OnAdd, I add a new element in my databound collection, the new item is created in the itemscontrol automatically now I want to set focus to it so the user can start typing after add. I tried itemsgenerator itemchanged event, I managed to get the focus set on the item before the new item, but I don't think the new item is generated yet. So I moved my code to the statuschanged event status.Add, I ca
-
- WCF- SvcUtil makes a proxy with Action path that include tempuri.org instead of actual server
by RickLH
- 3 Replies
- Last post
by RickLH
- I'm new to WCF and having trouble figuring out how all of the bits and pieces go together in order to specify how a client hooks up to a server. I've created a simple little server that I want to test some things on and I seem to be able to use it like this:
When SvcUtil executes, it generates a proxy interface for my service that contains action lines like this:
[System.ServiceModel
-
- Best way to close proxy channel?
by vtcoder
- 7 Replies
- Last post
by vtcoder
- I have the following code that cleans up a proxy/channel by closing it. I wanted to see if there are other states I should be checking for when closing.
I think the remaining states I'm not looking at (i.e., that the code below assumes it is okay to call Close() on) are:
- Opened
- Opening
- Created
What about Created Would it simply be better to check for Opened or Opening
-
- Map Client Certificate to Windows Account
by pau lopez
- 10 Replies
- Last post
by azluu
- It's me again, I cannot map certificates to Windows accounts using WCF, I don't care about using IIS mapping or Active Directory mapping. I've not found anything interesting about in internet, I can't believe any developer has to map certificates to windows, only I've found this article that shows a sample about mappings for Transport Layer security...
http://staff.newtelligence.com/sergeys/C
-
- Need advise ..!!
by Serge Calderara
- 7 Replies
- Last post
by BenK
- Dear all,
I am building an application which collect different information and store them in history tables of an SQL server 2005 database.
It works as follow :
The client application A request the storage of data to History table (Lest called it LOCALHIST) through an Insert() function of an assembly (named StoreData.dll) in charge of doing this operation into a LOCAL SQL database table.
-
- Consuming a Service in the self-hosted application!
by FHeNuS
- 1 Replies
- Last post
by JDPeckham
- Good afternoon fellows, i have a little question, it shouldn¡¯t be a problem to all the experts that come to this forum. ;D
What i want to know is this: I have a Windows Forms application that consumes some WCF Services that are exposed using WebServices. That works great. YHUUUUUUU... But its a really anoying proccess to debug it (every time i have to attach the Visual Studio Debugger to the as
-
- TemplateBinding or the other binding?
by RostaB
- 4 Replies
- Last post
by RostaB
- Hello,
I want to define a button template. I need to paint a rectangle with the same width and height as the button using this template.
But the XAML below does not work. If I set rectangle width and height to absolute values, it works, but I need to have it bound to canvas width and height.
What binding do I have to use
Thanx
RostaB
< Style x:Key = " ButtonStyl
-
- What happens to stored procedures?
by Emmerel
- 14 Replies
- Last post
by Emmerel
- Hello.
I've just started to look at Linq and my first thought is that its just a fancy new way to perform Dynamic SQL.
I'm a stored procedure guy and nothing on this planet will change that. I frown on Dynamic SQL (no offense).
So what happens to stored procedures
I've literally just started reading about Linq and saw a few lines of code, and then wrote this post. So if my
-
- Self hosted service sample crashes when
by Gordopolis
- 5 Replies
- Last post
by fbalas
- Hi,
When I simply copy and paste the full sample app code from this msdn WCF example (also copy config):
http://msdn2.microsoft.com/en-us/library/ms730935.aspx
I get an exception at the following lines in host.main when i try to start a new instance of the host console app:
[code]
NetTcpBinding portsharingBinding = new NetTcpBinding ();
hostDefault.AddServiceEndpoint(
ty
-
- 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
-
- ADO.NET Entities passed in WCF Xml POST
by weblivz
- 3 Replies
- Last post
by Patrick Magee - MSFT
- I have some entities i generated using ADO.Net - all workds great. I also have a data contract that gets passed to my Registration service - also works great.
Now, I want my Profile object which was generated from ADO.Net to be passed to my service. I cannot seem to get this to work. I think the problem is perhaps the namespace - what namespace should I use for ADO.NET generated entities
-
- AttachedEvent firing multiple times
by hanuman523
- 4 Replies
- Last post
by hanuman523
- I have a UserControl that I want to define multiple AttachedEvents in. I want them all to be handled by a single, generic handler. In the constructor I have the following:
Code Snippet
this.AddHandler( TextBox.TextChangedEvent, new TextChangedEventHandler( HandleStateChanged ) );
this.AddHandler( ComboBox.SelectionChangedEvent, new SelectionChangedEventHandler( HandleStateChanged )
-
- Not so fast Dr. Watson ..
by Rick &#40;Rytis Ilciuk
- 6 Replies
- Last post
by Ctrl-Alt-Del
- Hi folks,
How can i undo changes made to entity without storing and/or copying back original values I can get unmodified entity using Table.GetOriginalEntityState(entity), but that doesn't quite solve my problem. Table.GetOriginalEntityState() gives me another entity, so now i have two entities - modified and original. Is there any way to put original entity into modified entity's place an
-
- VSTO 2008, Office 2007: Dynamically creating Excel worksheet host items / adding buttons
by Shaun Logan
- 7 Replies
- Last post
by siamsimon
- background
I have an Excel doc-level solution developed for Office 2003 using VS 2005 Team Suite (with VSTO 2005 SE applied). My requirements are that at runtime, the end-user can insert as many worksheets as s/he wishes into the customized workbook. My doc-level code creates Microsoft.Office.Tools.Excel.Worksheet object host item wrappers around those worksheets -- so that I can programatical
-
- Logic Flaw in CopyToDataTable?
by Joe Rattz
- 7 Replies
- Last post
by Joe Rattz
- I am seeing something in CopyToDataTable that strikes me as a bit of a logic problem.
First, calling:
dataRow.Field< string >( "SomeColumn" , DataRowVersion .Original)
when a field has no original value throws an exception. Calling AcceptChanges() on the DataTable that the DataRow is in causes a snapshot to occur of the original versions alleviating that pro
-
- Incorrect SQL?
by KevinBurton
- 2 Replies
- Last post
by KevinBurton
- I have the following LINQ query
PurchaseOrder purchaseOrder = transactionDb.PurchaseOrders.Single(p => p.TrackingNumber == orderNumber);
var q = from p in db.Payments
where new Guid (p.OrderId) == purchaseOrder.OrderGroupId
select p;
The reason for the new Guid is that in the database on the Payment table the column OrderId is a string (varchar) and no
-
- Context Menu not staying open
by Radek Cerny
- 9 Replies
- Last post
by Radek Cerny
- I have a ListView class that is quite dynamic, and one of the options is to display a context menu on a header row click (specifically column 0, to emulate the 'empty' context menu of traditional Windows ListView with the 'New' and 'View by' items - the other columns perform a Sort). The event I capture is the GridViewColumnHeader .ClickEvent and the menu is built and attached successfully, and di
-
- DataTemplate to resources with implicit key programmatically?
by Jim W.568372
- 2 Replies
- Last post
by Jim W.
- Hey gang,
This might be an interesting one...
I have a case where I have runtime metadata that describes a class, and then I have a collection of items of that type.
I transform the metadata into XAML, and, using XamlReader, magically transform it at run-time into the DataTemplate I need. This part works, and works great.
I can then assign my DataTemplate to the ItemTem
-
- Large messages from the server to the client
by Oquendo
- 8 Replies
- Last post
by Oquendo
- Hi!
I've read couple of forums with the same issue i'm dealing with but none answers solved my problem.
My service (exposed with wshttpbinding) retrieves an array of entities. The entity is defined this way:
[ Serializable ]
public class ClienteEntity : AbstractEntity
{
private string _strNome = "" ;
public string Nome
{
-
- Linq to VS2005
by Leonardo Bruno Lima
- 12 Replies
- Last post
by MrBarnsey
- Will there be some thing like a LINQ plug-in for Visual Studio 2005
-
- Using Network Load Balancing NLB with WCF - Failover to another cluster results in CommunicationException
by Daren Yong
- 10 Replies
- Last post
by Michele Leroux Bustamante
- Hello, I'm trying to create a simple sample WCF service that is hosted in an NLB cluster on IIS. I have created the cluster successfully, and have a simple WCF client that prints out the name of the machine it is connected to when you click a button. If I goto the cluster node the client is connected to, and disable its LAN connection, then I can see the fail-over occuring: If I browse to a simple