Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
Generalprevent re-opening of application Pin
azusakt29-Jan-04 19:46
azusakt29-Jan-04 19:46 
GeneralRe: prevent re-opening of application Pin
Kentamanos29-Jan-04 20:03
Kentamanos29-Jan-04 20:03 
GeneralRe: prevent re-opening of application Pin
Mazdak30-Jan-04 1:57
Mazdak30-Jan-04 1:57 
GeneralRe: prevent re-opening of application Pin
Heath Stewart30-Jan-04 4:00
protectorHeath Stewart30-Jan-04 4:00 
GeneralRe: prevent re-opening of application Pin
azusakt30-Jan-04 14:18
azusakt30-Jan-04 14:18 
GeneralRe: prevent re-opening of application Pin
Heath Stewart30-Jan-04 14:39
protectorHeath Stewart30-Jan-04 14:39 
GeneralRe: prevent re-opening of application Pin
Bo Hunter30-Jan-04 14:43
Bo Hunter30-Jan-04 14:43 
GeneralC# Pin
BP12829-Jan-04 18:17
BP12829-Jan-04 18:17 
GeneralRe: C# Pin
Kentamanos29-Jan-04 19:00
Kentamanos29-Jan-04 19:00 
GeneralDirectX Tutorial Pin
Shree29-Jan-04 17:35
Shree29-Jan-04 17:35 
GeneralRe: DirectX Tutorial Pin
Mazdak29-Jan-04 19:07
Mazdak29-Jan-04 19:07 
GeneralMissing file Pin
BP12829-Jan-04 16:43
BP12829-Jan-04 16:43 
GeneralRe: Missing file Pin
Kentamanos29-Jan-04 16:51
Kentamanos29-Jan-04 16:51 
GeneralRe: Missing file Pin
BP12829-Jan-04 16:53
BP12829-Jan-04 16:53 
GeneralRe: Missing file Pin
Heath Stewart30-Jan-04 3:37
protectorHeath Stewart30-Jan-04 3:37 
GeneralAutomatic WSDL generation Pin
Kentamanos29-Jan-04 15:48
Kentamanos29-Jan-04 15:48 
GeneralRe: Automatic WSDL generation Pin
Kentamanos29-Jan-04 16:09
Kentamanos29-Jan-04 16:09 
GeneralRe: Automatic WSDL generation Pin
Kentamanos29-Jan-04 16:32
Kentamanos29-Jan-04 16:32 
GeneralRe: Automatic WSDL generation Pin
Heath Stewart30-Jan-04 3:54
protectorHeath Stewart30-Jan-04 3:54 
There's a ton of attributes you can use to control a lot of this, although I'm not sure about the regex, and don't remember ever seeing anything like this - but you shouldn't rely stricly on WSDL schema validation since some clients may not do that. Always check params going into your code, so you ultimately control what goes in and out of your methods!

First, there's the attributes in the System.Xml.Serialization namespace, like the XmlRootAttribute and XmlElementAttribute that have an IsNullable property you can set to false. There's also many advanced usage attributes in System.Web.Services.Protocols that let you control the input and output of SOAP and help in the documentation generation for the WSDL, such as using different readers and writers for the generation using the HttpMethodAttribute.

You should use these when you can because it ultimately gives you more control over SOAP and WSDL, and IXmlSerialization is not supposed to be used from your code which means it could change at any time without notice (but I must confess I've used it a few times here and there! Smile | :) ).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Automatic WSDL generation Pin
Kentamanos30-Jan-04 6:27
Kentamanos30-Jan-04 6:27 
GeneralCOM+ Catalog Infomation Pin
kimsangwoo29-Jan-04 14:39
kimsangwoo29-Jan-04 14:39 
GeneralRe: COM+ Catalog Infomation Pin
Heath Stewart30-Jan-04 3:45
protectorHeath Stewart30-Jan-04 3:45 
GeneralRe: COM+ Catalog Infomation Pin
kimsangwoo30-Jan-04 12:42
kimsangwoo30-Jan-04 12:42 
GeneralRe: COM+ Catalog Infomation Pin
Heath Stewart30-Jan-04 13:08
protectorHeath Stewart30-Jan-04 13:08 
GeneralRe: COM+ Catalog Infomation Pin
kimsangwoo30-Jan-04 13:58
kimsangwoo30-Jan-04 13:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.