Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:822572
More Search Options
RSS Available
Matching Posts
Re: Help novice with WebService
I have battled all day to try get my client app to work with my web service, but ... nothing. All the 'tutorials' mention selecting 'Add Web Reference', but the only options I have in my WinForms app is 'Add Reference', and 'Add Service Reference'. I am using VS2008. Do I need to enable 'Web References' somewhere?? In my WebService project, I have the option, but... I need to add it to my Client app.
Posted to
XML Web Services
(Forum)
by
CraigL
on 11/28/2009
Re: Help novice with WebService
Thanks for that! My FileObject class currently has a MemoryStream of the file. I can change that to a byte array, no problems. So, maybe on the client side, go through each FileObject, and then send just the bytearray, and let the web service write the file? That maybe sounds good, as I don't need the rest of the properties in the FileObject class... My method in my web service can then accept a few parameters? One of which is the byte array? Others might be some form of unique identifier from
Posted to
XML Web Services
(Forum)
by
CraigL
on 11/28/2009
Publishing my first Web Service
Hi guys, I am writing a C# WinForms application that I'm hoping will speak to a c# WebService being hosted on a remote server. I have never built a webservice. On the remote server, I have a /httpdocs folder. I am using VS2008. I 'published' my project, via FTP, to that folder. I note that it created a few files in that folder as well as a BIN folder with the dll and pdb. The only change I made was altering this line in the 'Host.asmx.cs' file: [WebService(Namespace = "http
Posted to
XML Web Services
(Forum)
by
CraigL
on 11/27/2009
Re: Publishing my first Web Service
Thanks for that! I now get the following error. As I am totally new to these things... I have no clue what it's saying. :) Hope you can help. Parser Error Message: Could not create type 'FreeImageStore_Host.Service1'. Line 1: <%@ WebService Language="C#" CodeBehind="Host.asmx.cs" %>
Posted to
XML Web Services
(Forum)
by
CraigL
on 11/27/2009
Re: Publishing my first Web Service
2 things, Carston! Firstly, what a flook! I am on post 111, and you're on 1,111! Wierd! It will be different now, but hey! Secondly, I'll start a new thread to see if someone (maybe you?) can help me on my next more complicated step! :) Thanks for the help.
Posted to
XML Web Services
(Forum)
by
CraigL
on 11/27/2009
Help novice with WebService
I am brand new to WebServices, but looking to jump in the deep end. I have a C# WinForms application that currentlly FTPs files to my host. It basically has a 'FileObject' class, and an Upload class, which accepts a List<FileObject>, and then uploads the files in a thread (so as not to freeze the GUI. I have decided to rather send the List<FileObject> to my new WebService, and let the webservice simply save the files on the host to a specific folder. So, can I send a 'List<FileObject>'
Posted to
XML Web Services
(Forum)
by
CraigL
on 11/27/2009
Filed under: web serivce
Help understanding 'Virtual' keyword
On a project I am working, I have noticed a lot of methods being declared as: Public virtual ..... I've tried tor ead what that actually means, and in the most simple terms of my understanding, it simply means that the method can be overridden in any class that inherits from the class containing the virtual methods? Is it as simple as that? It allows overriding?
Posted to
Getting Started
(Forum)
by
CraigL
on 11/5/2009
Re: Help understanding 'Virtual' keyword
Thanks guys... The examples I saw online were freaking me out a bit. They were showing Class A, Class B : A, Class C : A, then Class D:B (or something). It seemed to indicate that virtual methods would only be 'included' once in the subclass (D). And this is handled via Virtual. This is probably right, but a much more advanced way of expressing 'what is a virtual method'. Or, am I still not understanding?
Posted to
Getting Started
(Forum)
by
CraigL
on 11/5/2009
Re: Help understanding 'Virtual' keyword
[quote user="binli0114"] HI, I dont think virtual method is as simple as you thought.[/quote] Great! :( [quote user="binli0114"] the CLR discovers the actual type of the object being used to make the call and then calls the method polymorphically. [/quote] This is confusing me. How do you mean, 'discovers the actual type of the object being used'? Can you maybe pass an example? And then, 'calls the method polymorphically'. It's just one method, no? Surely there's
Posted to
Getting Started
(Forum)
by
CraigL
on 11/5/2009
Re: JavaScript in ASCX (webpart), Object not found
[quote user="vinay.v.raman"]You are working on a web applicaiton, so you shouldn't use paths like "C:\myimage.jpg" instead give the virtual path something like this "~/images/myimage.jpg" where ~ stands for the root virtual folder of your web application and "images" a folder inside it and "myimage.jpg" a file in the "images" folder.[/quote] Thanks. But I am using client side scripting (JavaScript) to preview the image before it's
Posted to
Client Side Web Development
(Forum)
by
CraigL
on 11/3/2009
Page 1 of 12 (114 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN – Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online