Click here to Skip to main content
15,069,133 members

lepipele - Professional Profile


    Blog RSS
If you liked this article, consider reading other articles by me. For republishing article on other websites, please contact me by leaving a comment.


Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.


Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.

GeneralC# .NET List of timezones for TimeZoneInfo.FindSystemTimeZoneById Pin
lepipele25-Apr-11 9:54
Memberlepipele25-Apr-11 9:54 
GeneralWord AutoSaver Pin
lepipele5-Jan-11 16:13
Memberlepipele5-Jan-11 16:13 
GeneraliPhone NSString initWithFormat options / NSLog format specifiers Pin
lepipele9-Nov-10 9:51
Memberlepipele9-Nov-10 9:51 
GeneralAdding custom headers to Silverlight's WCF calls Pin
lepipele28-Feb-10 13:00
Memberlepipele28-Feb-10 13:00 
Bah... this proved tougher than I originally thought, because all I could find were bunch of smart-ass comments that contained no code. You'll hopefully evade that path by following these steps:

1. Download Solution from ->[^]
2. Open .sln, press F5 -> press Button -> you should get dialog with bunch of variables showing that server is aware of calling client's credentials and culture
3. Open SilverlightWcf/Page.xaml.cs to see how calls are initialized - note that you only set culture/username/password during proxy's creation.

How to import this into your solution? Easy:

1. Copy Util.CustomHeader.Silverlight & Util.CustomHeader.WcfService projects into your solution's folder
2. Reference Util.CustomHeaders.Silverlight from your Silverlight project, Util.CustomHeaders.WcfService from your WCF project
3. Decorate your WCF service with [CustomHeadersBehaviorAttribute] attribute (alternatively you can set this in config by using CustomHeadersBehavior, see ref #3 for more details)
4. Add reference to your WCF service from Silverlight project and after proxy class generation is finished you'll use code like this to initialize your service:

public Page()

    ClientChannelBinding binding = new ClientChannelBinding();
    ClientChannelBinding.Culture = "sr-Latn-CS";
    ClientChannelBinding.Username = "username";
    ClientChannelBinding.Password = "password";

    EndpointAddress endpoint = new EndpointAddress(

    client = new SilverlightWcf.ServiceReference1.Service1Client(binding, endpoint);
    client.GetDataCompleted += client_GetDataCompleted;

private ServiceReference1.Service1Client client;

Of course, I recommend that you create some kind of WebServiceFactory.cs in your Silverlight project that will create services for you and do this initialization... while also exposing that web service URI in some config.

For those interested in details of how this works:

#1 -[^]
#2 -[^]
#3 -[^]
GeneralAzure Blackjack! Pin
lepipele20-Dec-09 14:44
Memberlepipele20-Dec-09 14:44 
GeneralRe: Azure Blackjack! Pin
Drew Stainton21-Dec-09 8:22
MemberDrew Stainton21-Dec-09 8:22 
GeneralRe: Azure Blackjack! [modified] Pin
lepipele21-Dec-09 8:34
Memberlepipele21-Dec-09 8:34 
GeneralRe: Azure Blackjack! Pin
Drew Stainton21-Dec-09 8:45
MemberDrew Stainton21-Dec-09 8:45 
GeneralRe: Azure Blackjack! Pin
Drew Stainton21-Dec-09 11:23
MemberDrew Stainton21-Dec-09 11:23 
GeneralRe: Azure Blackjack! Pin
lepipele21-Dec-09 11:33
Memberlepipele21-Dec-09 11:33 
GeneralRe: Azure Blackjack! Pin
Drew Stainton21-Dec-09 11:41
MemberDrew Stainton21-Dec-09 11:41 
GeneralRe: Azure Blackjack! Pin
lepipele21-Dec-09 11:50
Memberlepipele21-Dec-09 11:50 
GeneralRe: Azure Blackjack! Pin
Drew Stainton21-Dec-09 12:07
MemberDrew Stainton21-Dec-09 12:07 
GeneralRe: Azure Blackjack! Pin
lepipele21-Dec-09 12:18
Memberlepipele21-Dec-09 12:18 
GeneralRe: Azure Blackjack! Pin
Drew Stainton21-Dec-09 12:22
MemberDrew Stainton21-Dec-09 12:22 
BugRe: Azure Blackjack! Pin
im1dermike17-Dec-13 8:04
Memberim1dermike17-Dec-13 8:04 

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.