|
How do I get started with posting articles or tip/tricks?
|
|
|
|
|
You've come to the right place
Here is a plethora of resources on writing articles. Tips are similarly structured, but often smaller in scope, solving smaller, specific coding problems in a "tip" or "trick" fashion.
Please let me know if you have any questions or require clarifications and I would be happy to help.
CodeProject articles have a certain layout to follow, so that users can learn the most from them. Each article attempts to answer the following questions: What problem does this solution solve? How does this help someone else? How does the code actually work? What is going on inside the code snippets?
Here is a submission from a first time author who did a terrific job, just to give you a basic overview of what a beginner article might look like:
Avoiding InvokeRequired[^]
You can take a look at our article FAQ here:
Code Project Article FAQ[^]
For tips on writing articles, please see this article:
A Guide To Writing Articles For Code Project[^]
You can also see our submission guidelines here:
http://www.codeproject.com/info/submit.aspx[^]
Again, please do not hesitate to ask any follow-up questions.
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
This information should surely be added to the sticky at the top of this forum. It has everything a budding (or even budded) author needs to read before posting.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Done and done.
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Quote:
i hv problem to use windows services on different pc on the came network.
my confg page is
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="WCFServiceHost_DAS.MyServiceBehavior">
<serviceMetadata httpGetEnabled="false" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="WCFServiceHost_DAS.MyServiceBehavior"
name="WCFServiceHost_DAS.MyService">
<endpoint address="" binding="netTcpBinding" bindingConfiguration=""
name="NetTcpBindingEndpoint" contract="WCFServiceHost_DAS.IMyService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
name="MexTcpBindingEndpoint" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://192.168.1.18:8523/WCFDASTestService" />
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
</configuration>
client config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="NetTcpBindingEndpoint" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard" listenBacklog="10"
maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"
maxReceivedMessageSize="65536">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="None">
<transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
<message clientCredentialType="Windows" />
</security>
</binding>
</netTcpBinding>
</bindings>
<client>
<endpoint address="net.tcp://192.168.1.18:8523/WCFDASTestService"
binding="netTcpBinding" bindingConfiguration="NetTcpBindingEndpoint"
contract="ServiceReference1.IMyService" name="NetTcpBindingEndpoint">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>
error
CommunicatioException
the socket connection was aborted
|
|
|
|
|
|
i hv problem to use windows services on different pc on the came network.
my confg page is
host config
<configuration>
<system.servicemodel>
<behaviors>
<servicebehaviors>
<behavior name="WCFServiceHost_DAS.MyServiceBehavior">
<servicemetadata httpgetenabled="false">
<servicedebug includeexceptiondetailinfaults="false">
<services>
<service behaviorconfiguration="WCFServiceHost_DAS.MyServiceBehavior"
="" name="WCFServiceHost_DAS.MyService">
<endpoint address="" binding="netTcpBinding" bindingconfiguration=""
="" name="NetTcpBindingEndpoint" contract="WCFServiceHost_DAS.IMyService">
<identity>
<dns value="localhost">
<endpoint address="mex" binding="mexTcpBinding" bindingconfiguration=""
="" name="MexTcpBindingEndpoint" contract="IMetadataExchange">
<host>
<baseaddresses>
<add baseaddress="net.tcp://192.168.1.18:8523/WCFDASTestService">
client config
<configuration>
<system.servicemodel>
<bindings>
<nettcpbinding>
<binding name="NetTcpBindingEndpoint" closetimeout="00:01:00"
="" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00" transactionflow="false" transfermode="Buffered" transactionprotocol="OleTransactions" hostnamecomparisonmode="StrongWildcard" listenbacklog="10" maxbufferpoolsize="524288" maxbuffersize="65536" maxconnections="10" maxreceivedmessagesize="65536">
<readerquotas maxdepth="32" maxstringcontentlength="8192" maxarraylength="16384"
="" maxbytesperread="4096" maxnametablecharcount="16384">
<reliablesession ordered="true" inactivitytimeout="00:10:00"
="" enabled="false">
<security mode="None">
<transport clientcredentialtype="Windows" protectionlevel="EncryptAndSign"> <message clientcredentialtype="Windows">
<client>
<endpoint address="net.tcp://192.168.1.18:8523/WCFDASTestService"
="" binding="netTcpBinding" bindingconfiguration="NetTcpBindingEndpoint" contract="ServiceReference1.IMyService" name="NetTcpBindingEndpoint">
<identity>
<dns value="localhost">
exception occur
communicationException
the socket connection was aborted.
|
|
|
|
|
I want to add one Tip/Trick.
I will give the 'Introduction' and 'Background', but after that I want to give one external website link (which I have posted in that website).
Am I allowed to do this ? Or there are some resrictions ?
Please help me...
Thanks in advance...
|
|
|
|
|
Have you written your Tip/Trick already? I'd be happy to take a look and give you some guidance. Please send me an email with your post and I'll take a look.
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
Thanks a lot.
I will send you...
|
|
|
|
|
I have been in correspondence with the author of this article[^], but when I follow the link from the CP Home page thus[^], the comments no longer show. Am I alone in finding the new article system somewhat confusing?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hmmm. It seems the article has been deleted.
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
Yes, I noticed that earlier, it seems the author did not take too kindly to our suggestions.
However, the issue still remains that the new comments system on articles does get a bit confusing at times. I'm not sure there is an easy answer but maybe you good people could bear it in mind when planning the next update.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
You betcha. *takes out pen and paper*
What's confusing and how can we make it better?
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
It's not always clear where to put comments when there are two "Add comments here" blocks. This becomes more confusing when the poster makes revisions, or in some cases deletes and reposts the same article. In the case I was referring to I was involved in a discussion with the poster about the quality and content of the article. However, if someone else came and clicked the link on the home page (as I did), the article showed without any comments.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Thank you kindly. We are now discussing internally.
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
I wrote a tip article and can't figure out how to upload the code. Is this described anywhere?
Thanks.
|
|
|
|
|
|
It seems the web only show few article now. For example, I even cann't see the CGridCtrl artitle in 'Miscellaneous' part of 'Desktop Development' chapter. I want to select one from all articles. So I need to see all article topics. How to setup?
|
|
|
|
|
All fixed.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
sorry,sir,the bug shows again.
|
|
|
|
|
it sometimes shows all articles, sometimes not. why and how to fix it?
|
|
|
|
|
Dear,
I am facing some issues with one of my articles wich makes article editing a fastidious task. Each time, I edit my article I get a bunch of span tags in CSS code snippets. You can check it here for example: ASP .NET Image Slider with fancy thumbnail hover effect[^]
Another issue regards the Wizard editor, for example in the section before the "History" I cannot add new lines. As a workround I add br tags in the HTML code view.
I don't know If there's something wrong in the HTML code of the article.
Would it be possible to see if these issues could be resolved?
Kind regards,
|
|
|
|