|
If you can, take a look at WCF. It allows much more flexibility and does not force you to host the web service in IIS.
|
|
|
|
|
+1 on WCF.
If you're using VS2005, you need to update to .net 3.0. If you're using VS2008, you're already good to go.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi ,
can somebody suggest good articles to learn how to build a service oriented architecture.
Thanks,
ctrlnick
Happy Programming!
Regards,
ctrlnick !
|
|
|
|
|
ctrlnick wrote: can somebody suggest good articles to learn how to build a service oriented architecture.
Are you in the correct forum, .NET Framework? If so then you might consider that Microsoft may have published[^] one or more articles eh?
led mike
|
|
|
|
|
Yes, he's in the correct forum. He could also post in the WCF/WPF forum.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hello All,
I am trying to create a class library to assist with some Services I have running on a particular machine. I am trying to reference System.ServiceProcess in the class but I cannot find it in the Intellisense and if I try to build the class I get the following "type or namespace ServiceProcess does not exist in the namespace System". I am using VisualStudio 2008 Professional Edition and the funny part is, that if I were to create an app with a UI, I can drag the ServiceController onto the form and use it without a problem. Obviously I am missing something but I don't know what.
Can anyone offer any hints as to what the problem is. I would greatly appreciate any help.
Best regards,
FF
|
|
|
|
|
Does it help to know the ServiceController class is in the
assembly System.ServiceProcess.dll?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
That will do it. Thanks for the bread crumbs. Preciate it!
|
|
|
|
|
I need to use Microsoft.Xml.XQuery in .net. Does anyone know from where I can download the XQuery.dll? Microsoft seems to have withdrawn it from their site.
Is there an alternative to it?
Thanks
Tony
|
|
|
|
|
Is it not built into visual studio ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I can't find it build into visual studio. The visual studio has the System.XML build in but doesn't seem to cover XQuery functionality. The namespaces are,
using System.Xml.XPath;
using System.Xml.Xsl;
using System.Xml.Schema;
using System.Xml.Serialization;
Microsoft used to provide a download for using Microsoft.Xml.XQuery; but no longer
Thanks
Tony
|
|
|
|
|
That's a shame. I bought an XQuery book, I guess I'll never use it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi all. I hope this is the right forum section for this kind of question.
My production environment gives the user a cookie that contains encrypted authorization data. My web service (which does not produce the cookie) is expected to read the value of the cookie, do some magic with it, and extract the name of the authorized user.
That's what they give me. A cookie.
The client side calls my service via SOAP and passes the cookie value through the "Cookie:" header. All other headers are seen by the service, but "Cookie:" is not. (I can see that Context.Request.Cookies is empty, and Context.Request.ServerVariables contains all of my headers except "HTTP_COOKIE".)
I can even pass my cookie data in another header, as long as it's not called "Cookie:".
It sure looks as though .NET doesn't want services to see cookies, to the point of filtering out the "Cookie:" header when it's sent.
My question is--am I crazy, or does the .NET Framework remove cookies from SOAP web service requests? And if so, is there a way to override that behavior, other than by building an equivalent to the "Cookie:" header and parsing it on the service side?
Again, the user is already authenticated through another mechanism, they already have the cookie, and I'm supposed to use the cookie to figure out who's making the request.
Thanks in advance for any insights as to how .NET Framework handles cookies on web service requests.
|
|
|
|
|
Mark Schumann wrote: My question is--am I crazy, or does the .NET Framework remove cookies from SOAP web service requests?
I don't know the answer to that. If you really must know grab one of the several free packet sniffers and take a look at what is actually transmitted.
That said, something is not correct in your scenario. The SOAP message should be designed to carry that information and not rely on something like cookies since SOAP is not reliant on HTTP as it's transport.
led mike
|
|
|
|
|
Good answer--why am I expecting SOAP to carry my HTTP headers in the first place?
Thanks for the perspective, and for the smack in the head.
What do you think would be "best practice" if I want to push the contents of that cookie (which is all the authentication system gives me to work with) to my web service? I'm thinking it should be just another element in the SOAP request. Is there a more elegant way to do what I'm trying to do?
|
|
|
|
|
|
Outstanding, Mike--that's exactly what I was looking for! I appreciate your help on this.
|
|
|
|
|
Mark Schumann wrote: I appreciate your help on this.
Ok, I didn't really do anything but thanks. Good luck with the project.
led mike
|
|
|
|
|
Is there a way that we can install the report server on the IIS, without having SQL Server 2005 installed on the PC, Please let me know as soon as possible.
Thanks
ctrlnick
Happy Programming!
Regards,
ctrlnick !
|
|
|
|
|
You have to install Reporting Services from the SQL Server 2005 DVD. Say that you'll configure it later. Once Setup is complete, run the Reporting Services Configuration tool and set it up to connect to a ReportServer database on another computer.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hi can anyone dig in see why this error occurs?
An Error Icon is displayed over my default Website in IIS
Thanks,
Happy Programming!
Regards,
ctrlnick !
|
|
|
|
|
Hovering the mouse over it should show you some information as a tooltip? Your Windows System EventViewer also should be carrying some information regarding IIS/W3SVC.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Can someone point me in the direction on how to convert an .aspx page to .pdf format automatically when a user prints the page?
Thanks
|
|
|
|
|
Easy - there are a number of free ( with advertising ) printer drivers that print to PDF.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ITextSharp
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|