Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 26th, 2011, 06:54 AM
Friend of Wrox
 
Join Date: Apr 2010
Posts: 125
Thanks: 20
Thanked 3 Times in 3 Posts
Default Function or Class attribute

Hi there,
I have problem by function or class attribute. For example in 'Web Service' section we saw [WebMethod](in C#) attribute which provide ability to execute the function in web. However, I saw in another attribute in some C# code like: [assembly: AssemblyTitle("WindowsFormsApplication1")] in windows form application. I want a definition for function and class attribute which applys to all attribute.
Thank's
__________________
Please excuse me for poor and bad English.
 
Old November 26th, 2011, 07:37 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

For questions not directly related to the book, please choose a general .NET / ASP.NET category from this list: http://p2p.wrox.com/ It will increase your chances on an answer.

That said, I also don't understand what you're asking so I can't provide you with an answer.... ;-)

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 26th, 2011, 11:54 AM
Friend of Wrox
 
Join Date: Apr 2010
Posts: 125
Thanks: 20
Thanked 3 Times in 3 Posts
Default

Hi, Imar
Thank's to your replay.
Quote:
questions not directly related to the book
I think i don't provide enough information. I saw [WebMethod] attribute in the Web Service section before Hello world example. I want to know when we add [attributeName] before a function, What happens. And what attribute we can add before function definition.

Thanks.
__________________
Please excuse me for poor and bad English.
 
Old November 26th, 2011, 12:13 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Take a look here:

http://www.dotnetattributes.com/Faqs/
http://www.dotnetattributes.com/Search/

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
morteza (November 26th, 2011)
 
Old November 26th, 2011, 12:53 PM
Friend of Wrox
 
Join Date: Apr 2010
Posts: 125
Thanks: 20
Thanked 3 Times in 3 Posts
Default

Hi Imar,
Thank's for helpful link's.
__________________
Please excuse me for poor and bad English.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a class function c# rahilahmed C# 2 September 13th, 2007 11:19 AM
retrieve attribute values from CSS(from class) anujrathi ASP.NET 2.0 Professional 1 May 7th, 2007 01:57 PM
XSLT change class attribute by ID? matallen XSLT 8 March 1st, 2006 05:00 PM
Access to attribute values from class of attribute jacob C# 1 October 28th, 2005 01:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.