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:670672
More Search Options
RSS Available
Matching Posts
WCF Updating a Service Reference
Hi, I'm totally going crazy over this issue. I'm trying to learn WCF, so I have a service written with a ListProducts() method. It works fine and everything. But now I update ListProducts() so that it returns junk or nothing. I then updated the client reference to the service. However, when I run the client again, it runs the ListProducts() from the earlier version, so that instead of returning nothing, it continues to return data as it did originally. I've removed the service reference
Posted to
XML Web Services
(Forum)
by
freakshow
on 11/27/2008
Filed under: wcf asp.net iis "web services"
Re: Lookup values
Thanks for the replies, everyone. Yeah, enums do confer more readability and they seem somewhat more elegant. I guess it's just a trade-off between readability and duplication of efforts.
Posted to
Architecture
(Forum)
by
freakshow
on 1/23/2008
Lookup values
Hi, I'd like to know how others handle lookup values in their code. For example, let's say you have a table in your database for Status values (1 = New, 2 = Pending, 3 = Cancelled, etc.). If you want to compare an object's status in your code, how do you do it? Do you do hard-code in the value (myObject.StatusId == 1), or do you create an enum corresponding to the to the the values (myObject.StatusId == StatusEnum.New), or do you define a set of static constants (myObject.StatusId ==
Posted to
Architecture
(Forum)
by
freakshow
on 1/22/2008
Re: GridView RowCreated event before Page_Load()?
That's great. Thanks for your explanation.
Posted to
Data Presentation Controls
(Forum)
by
freakshow
on 9/17/2007
GridView RowCreated event before Page_Load()?
Hi, can someone please explain why the GridView's RowCreated event fires before Page_Load on postbacks? It doesn't really make sense to me. For example, with this code: public partial class testGridView : System.Web.UI.Page { protected void Page_Load( object sender, EventArgs e) { Response.Write( "Page_Load<br />" ); Response.Write( "Postback? " + IsPostBack + "<br />" ); if (! IsPostBack) { string [] s = new string [] { "quick brown fox"
Posted to
Data Presentation Controls
(Forum)
by
freakshow
on 9/17/2007
ObjectDataSource control - opinions?
Hi, I'd just like to know if you people use the ObjectDataSource in your Web presentation layer. I still manually set my control values manually, then update the database manually as well. Should I start using the ObjectDataSource for this purpose instead, or is it not worth the effort? I'd love to find out what everyone else thinks. Thanks.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
freakshow
on 8/29/2007
Re: Connection Strings and three tier application
[quote user="erikkl2000"] Hi! When designing a three tier application does that connection string go in the BL or the UI? It came to me earlier that i might better ask do to the fact that it almost seems to me that the UI really has no business knowing what the connection string should be since all its job is to collection info from the user. thanks for the help.. [/quote] I generally put it in Web.config, but now that I think about it, it's probably not the way to go. The biggest problem
Posted to
Architecture
(Forum)
by
freakshow
on 8/28/2007
Re: Master/Detail input parameter
[quote user="Young Fang - MSFT"] Hi, I believe one of the Property of the custom object is a CusomCollection. Sundar Narasimman had a clear explanation in below thread: http://www.thescripts.com/forum/thread538274.html In such case the Custom Collections are not transmitted directly between web services and clients. Meaning Custom Collections are passed as Array of Objecs. You need to create a relation between *master* and *detail* object. [/quote] Young, I get that you want to associate
Posted to
XML Web Services
(Forum)
by
freakshow
on 7/30/2007
Master/Detail input parameter
Hi, say I have a Web service method that takes as input a custom object that contains a list of other custom objects. The client consuming the Web service sees the list as an array, which makes it difficult for them to populate it. Is there a better way to define this method signature, or the custom "master" object? I guess I could accept a DataSet, but that doesn't seem as elegant to me. Any ideas? Thanks.
Posted to
XML Web Services
(Forum)
by
freakshow
on 7/26/2007
Filed under: ASP.NET web service
Re: Parameters - best practice
Imco, thanks for your response. I didn't know that the client would get the type information for my custom classes when he referenced my Web service. It makes sense, though. Thanks.
Posted to
XML Web Services
(Forum)
by
freakshow
on 7/20/2007
Page 1 of 3 (28 items) 1
2
3
Next >
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online