<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yeison Lapaix</title>
    <description>The latest articles on DEV Community by Yeison Lapaix (@yeisonpx).</description>
    <link>https://dev.to/yeisonpx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F34928%2F67ffbf8b-f014-486b-a3a7-9b8df48310ec.jpg</url>
      <title>DEV Community: Yeison Lapaix</title>
      <link>https://dev.to/yeisonpx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yeisonpx"/>
    <language>en</language>
    <item>
      <title>What skills should have a software developer?</title>
      <dc:creator>Yeison Lapaix</dc:creator>
      <pubDate>Thu, 28 Feb 2019 03:30:26 +0000</pubDate>
      <link>https://dev.to/yeisonpx/what-skills-should-have-a-software-developer-40hc</link>
      <guid>https://dev.to/yeisonpx/what-skills-should-have-a-software-developer-40hc</guid>
      <description>&lt;p&gt;Usually when the people talk about what you should know about software developer give you a list of programming languages and technologies to learn. The problem is that usually is a very big list and it seems to have an end.&lt;/p&gt;

&lt;p&gt;That list grows and grows all the time.&lt;/p&gt;

&lt;p&gt;For a lot of time, I was thinking that gives a simple track of that list will give success in this career but think what? That's not true. &lt;/p&gt;

&lt;p&gt;The reality of this is that learning a lot of things it will not guaranty your success in this career. &lt;/p&gt;

&lt;p&gt;But don't misunderstand me, have a lot of technical skills like know how to code in different languages and new technologies is very good and help to be a better developer, but in my experience and what I see in others developer with success the commons constant is not technical.&lt;/p&gt;

&lt;p&gt;Skills like soft-skills, self-taught, good memory, curiosity, and others, allow a software developer to go to another level. These are skills that allow you to interact and have better communication with the people and help you to be a better developer learning different things that complement your knowledge.&lt;/p&gt;

&lt;p&gt;Try to analyze examples like Bill Gate, Steve Jobs and others leaders in software and technology industry and your possible note that their main skills are not technical, rather they have more negotiation, social and communication skills. &lt;/p&gt;

&lt;p&gt;And you? &lt;/p&gt;

&lt;p&gt;What skills you think should have a software developer?&lt;/p&gt;

&lt;p&gt;Check for more tips in my original article: &lt;a href="https://yeisonpx.com/software-develoment/5-skills-a-good-software-developer-should-have-in-2019/"&gt;5 Skills A Good Software Developer Should Have in 2019&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>software</category>
      <category>developers</category>
    </item>
    <item>
      <title>Connecting to WordPress using C#</title>
      <dc:creator>Yeison Lapaix</dc:creator>
      <pubDate>Thu, 20 Sep 2018 15:11:41 +0000</pubDate>
      <link>https://dev.to/yeisonpx/connecting-to-wordpress-using-c-5688</link>
      <guid>https://dev.to/yeisonpx/connecting-to-wordpress-using-c-5688</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2FScreen-Shot-2018-09-18-at-9.09.51-AM-1024x558.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2FScreen-Shot-2018-09-18-at-9.09.51-AM-1024x558.png" title="Connecting c# to Wordpress" alt="alt text" width="800" height="400"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;In this post, we will see how to connect to a Wordpress website using C# and make publications using the WordpressPCL library in three easy steps. &lt;/p&gt;

&lt;p&gt;WordPress is a great CMS that allows developers and people who don't need a lot of software development skills to create websites with awesome functionalities. Therefore, is one of the most popular tools used actually to build websites. &lt;/p&gt;

&lt;p&gt;This CMS is very flexible to create custom functionalities, although is very possible that exists like a plugin that can be installed on the site. WordPress has a big community of developers with a lot of experience with the platform where you can find solutions for almost all the issues you can have. &lt;/p&gt;

&lt;p&gt;The thing with WordPress is that was built in PHP, so if you don't know the language you can lose time in the process to learn and then implement what you want to do. &lt;/p&gt;

&lt;p&gt;Next, We will see how to configure a visual studio project with c# to connect to a website with WordPress, which is a good solution for .Net developers who don't have good knowledge of PHP.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Configure WordPress API in your website (Required for versions below 4.7)
&lt;/h2&gt;

&lt;p&gt;Note: The plugin WP REST API that enables the Rest API was merged to WordPress since version 4.7, so if you have an equal or greater version, just jump to step 2. &lt;/p&gt;

&lt;p&gt;To configure your site to have enabled the API that allows reading and writing on WordPress. The prerequisite to connect to WordPress with WordpressPCL is to install the following plugins on your website:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://github.com/WP-API/WP-API" rel="noopener noreferrer"&gt;WP REST API&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/" rel="noopener noreferrer"&gt;JWT Authentication for WP REST API&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then to complete de JWT configuration is necessary to add some modifications to the .&lt;strong&gt;htaaccess&lt;/strong&gt; file:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  First, enable HTTP Authorization Header adding the following:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    RewriteEngine on
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Then enable the WPENGINE adding this code in the same .&lt;strong&gt;htacess&lt;/strong&gt; file:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The JWT needs a &lt;strong&gt;secret key&lt;/strong&gt; to sign the token this &lt;strong&gt;secret key&lt;/strong&gt; must be unique and never revealed.&lt;/p&gt;

&lt;p&gt;To add the &lt;strong&gt;secret key&lt;/strong&gt; edit your wp-config.php file and add a new constant called &lt;strong&gt;JWT_AUTH_SECRET_KEY.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;    &lt;span class="nb"&gt;define&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'JWT_AUTH_SECRET_KEY'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'your-top-secrect-key'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt; &lt;/p&gt;

&lt;p&gt;You can generate and use a string from here &lt;a href="https://api.wordpress.org/secret-key/1.1/salt/" rel="noopener noreferrer"&gt;https://api.wordpress.org/secret-key/1.1/salt/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can see all the details from the documentation &lt;a href="https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/" rel="noopener noreferrer"&gt;here.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Install WordpressPCL from Nuget Packages
&lt;/h2&gt;

&lt;p&gt;Now you need to install the Wordpress nuget package from Visual Studio called &lt;strong&gt;WordpressPCL&lt;/strong&gt;. To open nugget packages manager do right click on your project in Visual Studio and then click to &lt;strong&gt;Manage Nuget Package&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2Fnugget-packages-1024x576.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2Fnugget-packages-1024x576.png" title="Install WordpressPCL from Nuget Packages" alt="alt text" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then search &lt;strong&gt;WordPressPCL&lt;/strong&gt; and do a right click on &lt;strong&gt;Install&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2Fnugget-packages-1-1024x532.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2Fnugget-packages-1-1024x532.png" title="Installing WordpressPCL from nuget packages" alt="alt text" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can also install the packages using the nuget packages console inserting the following commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Install-Package WordPressPCL -Version 1.5.0

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What you can do with WordpressPCL? Well, the following table shows the supported methods that you have access to uses. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2FScreen-Shot-2018-09-18-at-3.16.49-PM.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fyeisonpx.com%2Fwp-content%2Fuploads%2F2018%2F09%2FScreen-Shot-2018-09-18-at-3.16.49-PM.png" alt="alt text" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that we have configured and installed all that you need, let's see how we can create, update and query data from Wordpress.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example 1: Connecting to Wordpress
&lt;/h3&gt;

&lt;p&gt;To connect to Wordpress client you can use the class &lt;strong&gt;WordPressClient&lt;/strong&gt; that accept in his constructor the  URL of your website. Example &lt;a href="http://domain-example.com/wp-json/" rel="noopener noreferrer"&gt;http://domain-example.com/wp-json/&lt;/a&gt;. Where the &lt;strong&gt;/wp-jon/&lt;/strong&gt; is the default path to the Wordpress REST API.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csharp"&gt;&lt;code&gt;&lt;span class="k"&gt;private&lt;/span&gt; &lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="n"&gt;Task&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;WordPressClient&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;GetClient&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="c1"&gt;// JWT authentication&lt;/span&gt;
            &lt;span class="kt"&gt;var&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nf"&gt;WordPressClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"http://wordpress-domain.com/wp-json/"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;AuthMethod&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;AuthMethod&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;JWT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;RequestJWToken&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"password"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 2: Creating and Updating Data
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csharp"&gt;&lt;code&gt;&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="nn"&gt;System&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="nn"&gt;System.Linq&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="nn"&gt;System.Threading.Tasks&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="nn"&gt;WordPressPCL&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="nn"&gt;WordPressPCL.Models&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;namespace&lt;/span&gt; &lt;span class="nn"&gt;WordPressTest&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Program&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="k"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;Main&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nf"&gt;CreatePost&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;Wait&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="k"&gt;private&lt;/span&gt; &lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="n"&gt;Task&lt;/span&gt; &lt;span class="nf"&gt;CreatePost&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;try&lt;/span&gt;
            &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="n"&gt;WordPressClient&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;GetClient&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
                &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;IsValidJWToken&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
                &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="kt"&gt;var&lt;/span&gt; &lt;span class="n"&gt;post&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="n"&gt;Post&lt;/span&gt;
                    &lt;span class="p"&gt;{&lt;/span&gt;
                        &lt;span class="n"&gt;Title&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nf"&gt;Title&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"New post test"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
                        &lt;span class="n"&gt;Content&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nf"&gt;Content&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Content for new post."&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                    &lt;span class="p"&gt;};&lt;/span&gt;
                    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Posts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;Create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;post&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="k"&gt;catch&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Exception&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="n"&gt;Console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;WriteLine&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Error:"&lt;/span&gt; &lt;span class="p"&gt;+&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="k"&gt;private&lt;/span&gt; &lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="n"&gt;Task&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;WordPressClient&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;GetClient&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="c1"&gt;// JWT authentication&lt;/span&gt;
            &lt;span class="kt"&gt;var&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nf"&gt;WordPressClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"http://wordpress-domain.com/wp-json/"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;AuthMethod&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;AuthMethod&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;JWT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;RequestJWToken&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"password"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 3: Getting data
&lt;/h3&gt;

&lt;p&gt;To query data is easy as you can see below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csharp"&gt;&lt;code&gt;
    &lt;span class="kt"&gt;var&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;GetClient&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

    &lt;span class="c1"&gt;//Getting all the post&lt;/span&gt;
    &lt;span class="kt"&gt;var&lt;/span&gt; &lt;span class="n"&gt;posts&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Posts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;GetAll&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

    &lt;span class="c1"&gt;//Getting one post&lt;/span&gt;
     &lt;span class="kt"&gt;var&lt;/span&gt; &lt;span class="n"&gt;onePost&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Posts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;GetByID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can download these examples from my Github account in the project &lt;a href="https://github.com/yeisonpx/WordpressTest" rel="noopener noreferrer"&gt;WordpressTest&lt;/a&gt; and for more information about the WordpressPCL API, you can check the official documentation here: &lt;a href="https://github.com/wp-net/WordPressPCL" rel="noopener noreferrer"&gt;Github WordpressPCL Documentation.&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;I hope that I can help you to have a good introduction to of how to connect with a Wordpress website using .Net. &lt;/p&gt;

&lt;p&gt;Please let me know if you have any dude.&lt;/p&gt;

&lt;p&gt;Original post: &lt;a href="https://yeisonpx.com/software-develoment/a-step-by-step-to-connect-to-wordpress-using-c-sharp/" rel="noopener noreferrer"&gt;Step By Step to Connect to Wordpress Using C Sharp&lt;/a&gt;&lt;/p&gt;

</description>
      <category>csharp</category>
      <category>netcore</category>
      <category>wordpress</category>
      <category>blog</category>
    </item>
    <item>
      <title>Why you need to learn SEO?</title>
      <dc:creator>Yeison Lapaix</dc:creator>
      <pubDate>Wed, 15 Aug 2018 20:15:32 +0000</pubDate>
      <link>https://dev.to/yeisonpx/why-you-need-to-learn-seo-ebm</link>
      <guid>https://dev.to/yeisonpx/why-you-need-to-learn-seo-ebm</guid>
      <description>&lt;p&gt;Original Post: &lt;a href="https://goo.gl/8crQA2"&gt;https://goo.gl/8crQA2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are a web developer I think SEO is an essential skill you need to have in your profile, not because is a plus to your curriculum, is because can be the variable to the success or the fail of your project.&lt;/p&gt;

&lt;p&gt;Before everything, you may are asking, what the f*#k is SEO?&lt;/p&gt;

&lt;p&gt;Well, SEO is the way you use the pieces of knowledge of how works the search engine like Google or Bing to increase the traffic to your site and have more visits or potential clients.&lt;/p&gt;

&lt;p&gt;Almost all kind of project that involves a creation of a website needs to have visibility on the web and if you don’t believe is necessary, you could be losing a good opportunity to increase your business.&lt;/p&gt;

&lt;p&gt;Today day, everybody has a smartphone and the people use to search for information at any time and every moment, for a simple example, suppose if somebody is looking for a fast food restaurant in your city is very possible that check google and type something like “fast food restaurants in Santo Domingo” or only “fast food restaurant”, the search engine will show the most relevant  information and if your site doesn’t have good SEO strategy is very possible that doesn’t appear on the result list.&lt;/p&gt;

&lt;p&gt;The process of apply SEO on a website is a combination of many tasks. A basic implementation has the following steps.&lt;/p&gt;

&lt;p&gt;Define a Strategy&lt;/p&gt;

&lt;p&gt;First of all, you need to define the objective of your website. So in this step in necessary to identify:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Who is your audience? What they need and what products or services they are looking for.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The objective of the business: What is the main goal and what they expect to have with the SEO implementation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The persons that are going to be involved in the process: The employees that are going to support you to obtain the information needed to complete the SEO strategy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Define the kind of content you’re going to publish: What the content is about? in this step is important to check what is relevant to the users and what are the trends of your audience what they are looking for on the internet.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check who are your competitors: recognize who are your main competitors and check what they do to have a good ranking on search engine.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keywords Research&lt;/p&gt;

&lt;p&gt;The keywords are the words that users use to search on search engine. Is important to select the correct keywords that match with the market that is searching a certain topic. The process of keywords research is considered one of the more important to apply for SEO because is when you make the investigation of the market and business context to understand how the clients search your product on the internet, then you can adapt your page with the content that satisfied with that search.&lt;/p&gt;

&lt;p&gt;There are some free tools like keyword planner in Google Adwords and Google Trends that can help you to make a research about what keywords are using the users and wish one are more relevant to your content.&lt;/p&gt;

&lt;p&gt;Create Content&lt;/p&gt;

&lt;p&gt;When you complete your keywords research is the moment of verifying is the content of your website match with that keywords, for that, you need to check each page of your site and verify that the information that you bring is relevant to the user that search specific keyword or phrase.&lt;/p&gt;

&lt;p&gt;The main goal in this process is to create content with quality that satisfied the search of the user, try to don’t focus to alter the content or structure or your page to get more visits, is more important to get the correct users that can be potential clients.  The search engine algorithm is smart and if you try to improve your position on the result with content that has poor of quality then you can have a bad effect on the ranking of your site.&lt;/p&gt;

&lt;p&gt;Building Links&lt;/p&gt;

&lt;p&gt;Link building is the process of acquiring hyperlinks from other websites to your own. This is important because if other sites have links to your website, help the search engine to see that your page have relevant content for the users. Each link is considered like a vote of confidence from one site to other.&lt;/p&gt;

&lt;p&gt;Resolve Technical Issues&lt;br&gt;
In this case, when we talk about technical issues we refer those thinks you can modify on your page that can help to rank better, this process is usually called On-site SEO that refers to optimizing both the content and HTML source code of a page.&lt;/p&gt;

&lt;p&gt;There are many factors that can affect the way your website is shown to search engine, but here is a summary of the more important:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Uniquely valuable:  the content of each page needs to be unique and don’t have duplicate content.&lt;/li&gt;
&lt;li&gt;Provides phenomenal UX: the interface needs to be user-friendly.&lt;/li&gt;
&lt;li&gt;Crawler/bot accessible: use the best practices to allow the search engine robots to crawl, index and rank your site.&lt;/li&gt;
&lt;li&gt;Keyword-targeted: check that keywords match with the content of the page.&lt;/li&gt;
&lt;li&gt;Built to be shared through social networks: &lt;/li&gt;
&lt;li&gt;Multi-device ready: your site have to display well on all devices desktop, mobile, and tablets. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to learn in more details about how to apply the SEO on your site, check this article: On-site SEO: &lt;a href="https://goo.gl/MLLBEW"&gt;https://goo.gl/MLLBEW&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The main idea here is that you need to be sure that your website is optimized for SEO in order to allow the search engines to understand it’s structure and more importantly, that understand easily what is about.&lt;/p&gt;

</description>
      <category>seo</category>
      <category>webdevelop</category>
      <category>software</category>
      <category>devtips</category>
    </item>
  </channel>
</rss>
