<?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: Anjan Kant</title>
    <description>The latest articles on DEV Community by Anjan Kant (@technologycrowd).</description>
    <link>https://dev.to/technologycrowd</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%2F594920%2F067eb0e6-2277-4a87-839d-76e303316677.png</url>
      <title>DEV Community: Anjan Kant</title>
      <link>https://dev.to/technologycrowd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/technologycrowd"/>
    <language>en</language>
    <item>
      <title>How to Export Roundcube Contacts to Outlook?</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Thu, 08 Apr 2021 06:26:34 +0000</pubDate>
      <link>https://dev.to/technologycrowd/how-to-export-roundcube-contacts-to-outlook-fj1</link>
      <guid>https://dev.to/technologycrowd/how-to-export-roundcube-contacts-to-outlook-fj1</guid>
      <description>&lt;p&gt;Learn How to Export Roundcube Contacts to Outlook&lt;/p&gt;

&lt;p&gt;Roundcube is one of the three webmail applications provided by the cPanel. Webmail is a web-based service that enables its users to access their emails, contacts, calendars, and other items by simply using a web browser. You only have to log into your webmail account to read/send emails. When you access your data using webmail, you are directly interacting with the server that has your information stored. Needless to say, you are free to use any browser to access your webmail account without being location bound with the help of a stable internet connection.&lt;/p&gt;

&lt;p&gt;To access your data, you must be able to use the website of the email providers. Webmails are of the utmost importance when you urgently need to access your data items from your email account in some other computer device without configuring it. In other words, webmail allows you to access your email account with absolutely zero configurations. &lt;/p&gt;

&lt;p&gt;Roundcube webmail client provides only one export option and that is vCard. A vCard (VCF) is a virtual business card file that is the standard file for sharing contact files. It stores all contact information such as personal data, phone number, name, contact image, FAX, email address, etc.&lt;/p&gt;

&lt;p&gt;How to Export Roundcube Contacts to Outlook?&lt;br&gt;
As already stated, Roundcube only offers exporting files in vCard but unfortunately, Outlook does not accept it. Therefore, you need to convert this VCF file to PST to import it into MS Outlook. To import vCard contacts to Outlook, you need to install a third-party tool. &lt;/p&gt;

&lt;p&gt;Let's first learn how to Export vCard File from Roundcube:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Log into your Webmail account, you can use the following methods to enter the cPanel site:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://domain.com:2096"&gt;https://domain.com:2096&lt;/a&gt;&lt;br&gt;
servername.com/webmail&lt;br&gt;
The account’s IP Address/webmail&lt;br&gt;
domain.com/webmail&lt;br&gt;
servername.com:2096&lt;br&gt;
your account’s IP Address:2096&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;You will be taken to the Webmail interface. If it prompts you to select the service, then click on Roundcube.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After you have reached the homepage of the account, click on Contacts from the top menu.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Export Roundcube Contacts to Outlook Step 1&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your complete address book will display. From the Groups section, choose the address book you want to export.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Export Roundcube Contacts to Outlook Step 2&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Now, click on the Export button and your entire list will export in VCF format.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;But, remember MS Outlook does not support vCard format? So, your next step is to convert it into an acceptable format and that is a PST file. Want to know how? Keep &lt;/p&gt;

&lt;p&gt;Steps to Export Roundcube Contacts to Outlook&lt;br&gt;
Step #1 &lt;br&gt;
Download the PCVITA vCard Importer tool and install it. Now, launch the application.&lt;/p&gt;

&lt;p&gt;Export Roundcube Contacts to Outlook Step 3&lt;br&gt;
Step #2 &lt;br&gt;
Click on Add File or Folder. Now, select and load the VCF file(s) or folder in the software.&lt;/p&gt;

&lt;p&gt;Export Roundcube Contacts to Outlook Step 4&lt;br&gt;
Step #3 &lt;br&gt;
Next, preview and choose the file you want to convert and click on Export. If you want to convert only a selected number of files, then click on "Export Selected".&lt;/p&gt;

&lt;p&gt;Export Roundcube Contacts to Outlook Step 5&lt;br&gt;
Step #4 &lt;br&gt;
After that, select the Export type. You can choose to save the contacts in an existing PST file, a new PST file, or a default MS Outlook profile. Provide a destination to save and click on the Export button.&lt;/p&gt;

&lt;p&gt;Export Roundcube Contacts to Outlook Step 6&lt;br&gt;
Now you are required to import them to your Outlook account.&lt;br&gt;
Launch Outlook, click on File&lt;br&gt;
Click on Open &amp;amp; Export &amp;gt; Import/Export &lt;br&gt;
Choose Import from another program or file &amp;gt; Next&lt;br&gt;
Select CSV option &amp;gt; Next&lt;br&gt;
Browse the file to import &amp;amp; select the folder to move it in&lt;br&gt;
At last, match the custom contact fields.&lt;/p&gt;

&lt;p&gt;Done! You have completed the process to convert contacts from one platform to another.&lt;/p&gt;

&lt;p&gt;Manual Method to Export Roundcube Contacts to Outlook:&lt;br&gt;
You can complete this process manually as well but no manual method wins over professional software. There are always some limitations associated with the manual procedure. Export contacts from Roundcube in the exact way as mentioned above. Then, follow the following steps.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Go to the Contacts folder (C:\ Users\ Admin\ Contacts)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on the Export button from the top menu&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select CSV (Comma Separated Values) &amp;gt;&amp;gt; Export&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Provide a destination to save this CSV file &amp;gt;&amp;gt; Next &amp;gt;&amp;gt; Finish.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After this, follow the steps stated above to know how you can further move them into your Outlook.&lt;/p&gt;

&lt;p&gt;The process is complete.&lt;/p&gt;

&lt;p&gt;Conclusion:&lt;br&gt;
In this blog, you learned methods to export Roundcube contacts to Outlook. We explained all the limitations as well as provided the best possible solution to execute this task. Users can use any of the above-mentioned methods to import contacts into Outlook 2019, 2016, 2013, 2010, all other versions.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is new in .net Core 3.0?</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Fri, 02 Apr 2021 11:17:25 +0000</pubDate>
      <link>https://dev.to/technologycrowd/what-is-new-in-net-core-3-0-5c9</link>
      <guid>https://dev.to/technologycrowd/what-is-new-in-net-core-3-0-5c9</guid>
      <description>&lt;p&gt;Presentation &lt;/p&gt;

&lt;p&gt;Our past article was on What Is New In ASP.NET Core 2.0 and we additionally talked about what is HAP and how could it be helpful! Here, in this blog, we will see the new story of the incredible monster for the PC world which is the .NET that improve on the assignment of creating cross-stage applications. Microsoft has as of late declared about sharing their arrangements of .NET Core 3.0 and hence, it is significant for us to realize What is new in .NET Core 3.0. The form 2.1 of the .NET is prepared for the delivery this year that offers a more noteworthy mix of instruments and highlights however to add greater energy to it, Microsoft has begun to lay streets for the advancement of .NET Core 3.0 and are hoping to deliver it in 2019. The intriguing part is that includes that were mentioned by the individual engineers and coding aficionados have been carried out.&lt;/p&gt;

&lt;p&gt;Going Big! Support for Windows Desktop Apps&lt;br&gt;
One of the most exciting and impressive features that the team from Microsoft has planned is to provide support for the Windows Desktop applications and will span those especially such as UWP XAML, Windows Presentation Framework(WPF) and Windows Forms. Thus, it is a great opportunity for you as a developer to unleash your app developing skills to a higher level as you would be able to run any window desktop app regardless of it being old or new. This feature is in addition to those that are already present with the benefits that .NET Core has already got. The idea to give support came into the picture after the Microsoft has received numerous requests for the feature. Hence, its a delight for the desktop app lovers as this is a bonus to their interests. It has to be noted that, the other features such as that of web and cloud will still continue to exist as it used to be earlier, with the change being is the addition of desktop applications support.&lt;br&gt;
Easy Conversion of existing Desktop Applications&lt;br&gt;
Given the details of the information that there are some new features in .net core 3.0, any professional would be interested in converting their present applications to the system that uses the .NET core 3.0. Usually, developers face many troubles in moving the existing application to  other technologies especially if the application size is big. It is such a painful task for them, but the process isn't hectic in the case of .NET Core 3.0. Surprisingly the entire procedure is rather made simple and straightforward. All that is required of you to do is to set the target of your existing desktop application as .NET Core 3.0 and compile the files again. You needn't set target for the dependencies but doing so would carry some benefits. One good example of this easy process is the story of conversion of the popular MS Paint application. The .NET team didn't have the source code of Paint within their reach but were able to get the binaries of the Paint.NET that were working based on the .NET Core. They used the WPF binaries that were available in the .NET directory which was present on their machine in the lab as they were not having the WPF special build. The paint, to their surprise was working very well and that too it reported a faster start-up without any optimization work being done on it. Apart from this, the .NET team had a heavy breath after they were able to find out the tricky bug that existed in .NET Core and have fixed it. Apart from this, there has been an attempt to make the EF6 work on .NET Core 3.0 by updating it. The EF Core is expected to come equipped with few new features. New applications regardless of what type they are, the EF Core remains to be the data stack that would be recommended highly. Those developers who are willing to take the advantages and extra benefits, it is advised from Microsoft to port to the new EPF Core for the projects.&lt;/p&gt;

&lt;p&gt;Made it Simple Deployments&lt;br&gt;
One could conclude easily that there is a lot of flexibility offered in deploying the project to suit the newly installed .NET Core 3.0. You are given the ability to do the central installation and service the application with its benefits. The good thing here is these don't require any in-place updates. For the subsequent versions release of .NET Core, apps could be updated in a pattern by doing it on one system after the other. These steps are accompanied by a guarantee that they won't affect any other apps.  The above said deployment is of one variety which can be termed as Side-by-side deployment. You can also deploy your application updates yet in another way where you are in need of maximum isolation. The Microsoft is striving hard to deliver a new build tool that can enable you to bundle the app and .NET Core into a single exe(Executable) file.&lt;br&gt;
Updating Project Files: A new approach&lt;br&gt;
The adoption of SDK-style for projects for .NET core 3.0 has given a lot of improvements in various dimensions. NuGet packages are thereafter referenced using PackageReference, which is one of the key aspects of projects that are following SDK style. Project files result in smaller and cleaner versions when SDK is the approach. The advantage of support to multi-targeting is leveraged with this style. The packages.config is replaced by the PackageReference. This change helps a developer to refer the entire component area which is a total contrast to the earlier facility where only one single assembly could be referenced at once.&lt;br&gt;
Closing Notes&lt;br&gt;
The team from Microsoft are working hard to plan for few early releases of the .NET Core 3.0 so that they would have the measure of the quality with the help of user feedback. In addition to it, they have been conducting surveys to get a bigger picture of what more the users are willing to have in the latest version. Finally, the staff claims that there isn't any kind of big architectural changes in the newer version though!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How can we export datatable to PDF using iTextSharp</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Fri, 02 Apr 2021 11:15:31 +0000</pubDate>
      <link>https://dev.to/technologycrowd/how-can-we-export-datatable-to-pdf-using-itextsharp-2gmj</link>
      <guid>https://dev.to/technologycrowd/how-can-we-export-datatable-to-pdf-using-itextsharp-2gmj</guid>
      <description>&lt;p&gt;I have illustrated below with example how can we export data table to PDF using iTextSharp&lt;/p&gt;

&lt;p&gt;Step 1. We can download itextsharp.dll from the website &lt;a href="http://sourceforge.net/projects/itextsharp/"&gt;http://sourceforge.net/projects/itextsharp/&lt;/a&gt;&lt;br&gt;
Step 2. Please click on add exiting item to add iTextSharp.dll in the "Bin" folder.&lt;br&gt;
Step 3. In the next step of export data table to PDF using iTextSharp, put downloaded iTextSharp.dll in the project folder structure to add reference of the iTextSharp.dll in the application.&lt;br&gt;
Step 4. You may check now that dll reference have been added in your application. &lt;br&gt;
Step 5. Now I have provided below c# code snippet for How can we export datatable to PDF using iTextSharp as given below:&lt;/p&gt;

&lt;p&gt;protected void btnPDF_Click(object sender, ImageClickEventArgs e)&lt;br&gt;
    {&lt;br&gt;
        DataTable dtn = new DataTable();&lt;br&gt;
        dtn = GetDataTable();&lt;br&gt;
        dtPDF = dtn.Copy();&lt;br&gt;
        for (int i = 0; i &amp;lt;= dtn.Rows.Count - 1; i++)&lt;br&gt;
        {&lt;br&gt;
            ExportToPdf(dtPDF);&lt;br&gt;
        }&lt;br&gt;
     }&lt;/p&gt;

&lt;p&gt;public void ExportToPdf(DataTable myDataTable)&lt;br&gt;
    {&lt;br&gt;
        Document pdfDoc = new Document(PageSize.A4, 10, 10, 10, 10);&lt;br&gt;
        try&lt;br&gt;
        {&lt;br&gt;
            PdfWriter.GetInstance(pdfDoc, System.Web.HttpContext.Current.Response.OutputStream);&lt;br&gt;
            pdfDoc.Open();&lt;br&gt;
            Chunk c = new Chunk("" + System.Web.HttpContext.Current.Session["CompanyName"] + "", FontFactory.GetFont("Verdana", 11));&lt;br&gt;
            Paragraph p = new Paragraph();&lt;br&gt;
            p.Alignment = Element.ALIGN_CENTER;&lt;br&gt;
            p.Add(c);&lt;br&gt;
            pdfDoc.Add(p);&lt;br&gt;
            string clientLogo = Server.MapPath(".") + "/logo/tpglogo.jpg";&lt;br&gt;
            string imageFilePath = Server.MapPath(".") + "/logo/tpglogo.jpg";&lt;br&gt;
            iTextSharp.text.Image jpg = iTextSharp.text.Image.GetInstance(imageFilePath);&lt;br&gt;
            //Resize image depend upon your need&lt;br&gt;&lt;br&gt;
            jpg.ScaleToFit(80f, 60f);&lt;br&gt;
            //Give space before image&lt;br&gt;&lt;br&gt;
            jpg.SpacingBefore = 0f;&lt;br&gt;
            //Give some space after the image&lt;br&gt;&lt;br&gt;
            jpg.SpacingAfter = 1f;&lt;br&gt;
            jpg.Alignment = Element.HEADER;&lt;br&gt;
            pdfDoc.Add(jpg);&lt;br&gt;
            Font font8 = FontFactory.GetFont("ARIAL", 7);&lt;br&gt;
            DataTable dt = myDataTable;&lt;br&gt;
            if (dt != null)&lt;br&gt;
            {&lt;br&gt;
                //Craete instance of the pdf table and set the number of column in that table&lt;br&gt;&lt;br&gt;
                PdfPTable PdfTable = new PdfPTable(dt.Columns.Count);&lt;br&gt;
                PdfPCell PdfPCell = null;&lt;br&gt;
                for (int rows = 0; rows &amp;lt; dt.Rows.Count; rows++)&lt;br&gt;
                {&lt;br&gt;
                    for (int column = 0; column &amp;lt; dt.Columns.Count; column++)&lt;br&gt;
                    {&lt;br&gt;
                        PdfPCell = new PdfPCell(new Phrase(new Chunk(dt.Rows[rows][column].ToString(), font8)));&lt;br&gt;
                        PdfTable.AddCell(PdfPCell);&lt;br&gt;
                    }&lt;br&gt;
                }&lt;br&gt;
                //PdfTable.SpacingBefore = 15f; // Give some space after the text or it may overlap the table&lt;br&gt;&lt;br&gt;
                pdfDoc.Add(PdfTable); // add pdf table to the document&lt;br&gt;&lt;br&gt;
            }&lt;br&gt;
            pdfDoc.Close();&lt;br&gt;
            Response.ContentType = "application/pdf";&lt;br&gt;
            Response.AddHeader("content-disposition", "attachment; filename= SampleExport.pdf");&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(pdfDoc);&lt;br&gt;
            Response.Flush();&lt;br&gt;
            Response.End();&lt;br&gt;
            //HttpContext.Current.ApplicationInstance.CompleteRequest();&lt;br&gt;&lt;br&gt;
        }&lt;br&gt;
        catch (DocumentException de)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(de.Message);&lt;br&gt;
        }&lt;br&gt;
        catch (IOException ioEx)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(ioEx.Message);&lt;br&gt;
        }&lt;br&gt;
        catch (Exception ex)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(ex.Message);&lt;br&gt;
        }&lt;br&gt;
    }   &lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Add SSL Certificate?</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Fri, 02 Apr 2021 11:00:37 +0000</pubDate>
      <link>https://dev.to/technologycrowd/how-to-add-ssl-certificate-3ope</link>
      <guid>https://dev.to/technologycrowd/how-to-add-ssl-certificate-3ope</guid>
      <description>&lt;p&gt;Here you discover splendid 10 stages how to add SSL declaration through IIS (Internet Information Service). Assume, we don't have board to send our application empowered with SSL then we need IIS complete information to deeply our application with SS authentication.&lt;/p&gt;

&lt;p&gt;Step 1: Open your IIS (Internet Information Services) from start windows or with hotkeys (ctrl + R then type inetmgr).&lt;br&gt;
Step 2: On the home you will see features of IIS (Internet Information Services)   then click on the “Server Certificates”, you are now in server certifcates menu.&lt;br&gt;
Step 3: Now click on right side pane Under “Actions”, click on “Create Self Signed certificate”, now you will pop up a new window “Specify Friendly Name”. Type your desired name here and click on “OK” button.&lt;br&gt;
Step 4: Now you will see “Website4” certificate is now listing in certificate lists.&lt;br&gt;
Step 5: Now go to your “Sites” and click on specific website for which do you need to install certificate. Now click on “Edit Bindings…”.&lt;br&gt;
Step 6: Now click on “Add” button to add signed certificate to your website.&lt;br&gt;
Step 7: Now you are on “Add Site Binding” windows, here you have to select type “https” &amp;amp; enter IP Address &amp;amp; also defined Port no for your respective website, now at the end on “SSL Certificate”, set your certificate which is created in our earlier steps.&lt;br&gt;
Step 8: Here you can see your certificate click on certificate.&lt;br&gt;
Step 9: Here you can see your website “Site Bindings”, now you can click on “Browse” button and it will navigate to view your website in browser explorer.&lt;br&gt;
Step 10: Here you can see that your web address has included “https”. Now SSL certificate has been installed successfully in your website.&lt;br&gt;
Above key steps will help to work out on how to add SSL Certificate.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Add FTP Site in IIS?</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Fri, 02 Apr 2021 10:55:43 +0000</pubDate>
      <link>https://dev.to/technologycrowd/how-to-add-ftp-site-in-iis-5b5e</link>
      <guid>https://dev.to/technologycrowd/how-to-add-ftp-site-in-iis-5b5e</guid>
      <description>&lt;p&gt;Now find the complete process of Add FTP Site in IIS.&lt;/p&gt;

&lt;p&gt;Step 1&lt;br&gt;
Open your Control board, presently find "Uninstall or change a program" highlight. Snap on left sheet "Turn Windows includes on or off". Presently grow "Web Information Services". Presently grow "FTP Server" and check all under this hub.&lt;/p&gt;

&lt;p&gt;Step 2&lt;br&gt;
Open your IIS (Internet Information Services) through shortcut key (Ctrl + R then type “intermgr”). Now right click on “Sites” then click on property “Add FTP Site…”.&lt;/p&gt;

&lt;p&gt;Step 3&lt;br&gt;
Now a popup window "Add FTP Site" will open "Webpage Information", type "FTP website name" at that point click on "Actual way", select your site to transfer, at that point click on "next" catch to follow subsequent stages.&lt;/p&gt;

&lt;p&gt;Step 4&lt;br&gt;
Now on next window, a new window “Authentication and Authorization Information” will open, here you can tick check boxes for “Authentication” i.e. Anonymous, Basic. Now drill down “Authorization” allows access to specific user. You can provide access to all users, anonymous users but it is highly recommended “Specific users” due to security reason.&lt;/p&gt;

&lt;p&gt;Step 5&lt;br&gt;
In this window, user name is entered “ftp_user”  to allow upload website stuff.&lt;/p&gt;

&lt;p&gt;Step 6&lt;br&gt;
Now you are on “Binding and SSL Settings” where you can enter your IP address, Port No etc.&lt;/p&gt;

&lt;p&gt;Step 7&lt;br&gt;
Now you can provide security concerns Read, Write, Read &amp;amp; Execute, Modify, Full Control etc.&lt;/p&gt;

&lt;p&gt;Step 8&lt;br&gt;
Now you can enter your IP address (host name), User name and password. In this window, you can see that website directory is displayed when you entering correct (host name, user name &amp;amp; password) login detail to access website stuff.&lt;/p&gt;

&lt;p&gt;Find the complete video of How to Add FTP Site in IIS now. Just visit the site&lt;/p&gt;

</description>
    </item>
    <item>
      <title>HAP: What is HTML Agility Pack C#?</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Fri, 02 Apr 2021 10:47:57 +0000</pubDate>
      <link>https://dev.to/technologycrowd/hap-what-is-html-agility-pack-c-2md9</link>
      <guid>https://dev.to/technologycrowd/hap-what-is-html-agility-pack-c-2md9</guid>
      <description>&lt;p&gt;Being an eager C# developer, it may intrigue you a ton to extend a similar coding language into the universe of web programming yet it is very chaotic to do everything without any preparation. In such sort of examples, there are a few offices from advances to facilitate your work and one of them is the HTML Agility Pack. Subsequently, it would be ideal and important to realize what is HTML deftness pack or what is HTML Agility pack C# as this is an incredible apparatus that would prove to be useful to utilize.&lt;/p&gt;

&lt;p&gt;HTML Agility Pack: Preface&lt;br&gt;
In a web programming arena, the development work is divided into the server-side and client-side. On the client-side, there are things such as HTML, CSS, Javascript, and others while on the server side there are many options such as PHP, Java, C#, and Python. C# combined with ASP.NET framework has been vividly used by many large scale and medium scale organizations on the server side.&lt;/p&gt;

&lt;p&gt;HTML Agility pack C#: Your Coding Friend&lt;br&gt;
After the preamble, now exactly what is HTML agility pack and why it is used? Many times, it becomes a requirement to read or what is technically called as parse an HTML document where the source could be a file, or a string or another web source. Thus, what is HTML agility pack c# is that it is one of the .NET libraries that gives the C# developer to read and write the DOM (Document Object Model) and has explicit support for plain XPath or XSLT and the bonus is, you don't even have to know about these terminologies? The library is so forgiving that it won't trouble much with its functionality even if the source of HTML is malformed in standards. Thus, it's the best choice to rely on this library instead of writing up the parsing code all by yourself.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How can we export datatable to PDF using iTextSharp</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Thu, 01 Apr 2021 04:20:57 +0000</pubDate>
      <link>https://dev.to/technologycrowd/how-can-we-export-datatable-to-pdf-using-itextsharp-1lhj</link>
      <guid>https://dev.to/technologycrowd/how-can-we-export-datatable-to-pdf-using-itextsharp-1lhj</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
I have illustrated below with example how can we export data table to PDF using iTextSharp&lt;/p&gt;

&lt;p&gt;Step 1. We can download itextsharp.dll from the website &lt;a href="http://sourceforge.net/projects/itextsharp/"&gt;http://sourceforge.net/projects/itextsharp/&lt;/a&gt;&lt;br&gt;
Step 2. Please click on add exiting item to add iTextSharp.dll in the "Bin" folder.&lt;br&gt;
Step 3. In the next step, put downloaded iTextSharp.dll in the project folder structure to add reference of the iTextSharp.dll in the application.&lt;br&gt;
Step 4. You may check now that dll reference have been added in your application. &lt;br&gt;
Step 5. Now I have provided below c# code snippet as given below:&lt;/p&gt;

&lt;p&gt;protected void btnPDF_Click(object sender, ImageClickEventArgs e)&lt;br&gt;
    {&lt;br&gt;
        DataTable dtn = new DataTable();&lt;br&gt;
        dtn = GetDataTable();&lt;br&gt;
        dtPDF = dtn.Copy();&lt;br&gt;
        for (int i = 0; i &amp;lt;= dtn.Rows.Count - 1; i++)&lt;br&gt;
        {&lt;br&gt;
            ExportToPdf(dtPDF);&lt;br&gt;
        }&lt;br&gt;
     }&lt;/p&gt;

&lt;p&gt;public void ExportToPdf(DataTable myDataTable)&lt;br&gt;
    {&lt;br&gt;
        Document pdfDoc = new Document(PageSize.A4, 10, 10, 10, 10);&lt;br&gt;
        try&lt;br&gt;
        {&lt;br&gt;
            PdfWriter.GetInstance(pdfDoc, System.Web.HttpContext.Current.Response.OutputStream);&lt;br&gt;
            pdfDoc.Open();&lt;br&gt;
            Chunk c = new Chunk("" + System.Web.HttpContext.Current.Session["CompanyName"] + "", FontFactory.GetFont("Verdana", 11));&lt;br&gt;
            Paragraph p = new Paragraph();&lt;br&gt;
            p.Alignment = Element.ALIGN_CENTER;&lt;br&gt;
            p.Add(c);&lt;br&gt;
            pdfDoc.Add(p);&lt;br&gt;
            string clientLogo = Server.MapPath(".") + "/logo/tpglogo.jpg";&lt;br&gt;
            string imageFilePath = Server.MapPath(".") + "/logo/tpglogo.jpg";&lt;br&gt;
            iTextSharp.text.Image jpg = iTextSharp.text.Image.GetInstance(imageFilePath);&lt;br&gt;
            //Resize image depend upon your need&lt;br&gt;&lt;br&gt;
            jpg.ScaleToFit(80f, 60f);&lt;br&gt;
            //Give space before image&lt;br&gt;&lt;br&gt;
            jpg.SpacingBefore = 0f;&lt;br&gt;
            //Give some space after the image&lt;br&gt;&lt;br&gt;
            jpg.SpacingAfter = 1f;&lt;br&gt;
            jpg.Alignment = Element.HEADER;&lt;br&gt;
            pdfDoc.Add(jpg);&lt;br&gt;
            Font font8 = FontFactory.GetFont("ARIAL", 7);&lt;br&gt;
            DataTable dt = myDataTable;&lt;br&gt;
            if (dt != null)&lt;br&gt;
            {&lt;br&gt;
                //Craete instance of the pdf table and set the number of column in that table&lt;br&gt;&lt;br&gt;
                PdfPTable PdfTable = new PdfPTable(dt.Columns.Count);&lt;br&gt;
                PdfPCell PdfPCell = null;&lt;br&gt;
                for (int rows = 0; rows &amp;lt; dt.Rows.Count; rows++)&lt;br&gt;
                {&lt;br&gt;
                    for (int column = 0; column &amp;lt; dt.Columns.Count; column++)&lt;br&gt;
                    {&lt;br&gt;
                        PdfPCell = new PdfPCell(new Phrase(new Chunk(dt.Rows[rows][column].ToString(), font8)));&lt;br&gt;
                        PdfTable.AddCell(PdfPCell);&lt;br&gt;
                    }&lt;br&gt;
                }&lt;br&gt;
                //PdfTable.SpacingBefore = 15f; // Give some space after the text or it may overlap the table&lt;br&gt;&lt;br&gt;
                pdfDoc.Add(PdfTable); // add pdf table to the document&lt;br&gt;&lt;br&gt;
            }&lt;br&gt;
            pdfDoc.Close();&lt;br&gt;
            Response.ContentType = "application/pdf";&lt;br&gt;
            Response.AddHeader("content-disposition", "attachment; filename= SampleExport.pdf");&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(pdfDoc);&lt;br&gt;
            Response.Flush();&lt;br&gt;
            Response.End();&lt;br&gt;
            //HttpContext.Current.ApplicationInstance.CompleteRequest();&lt;br&gt;&lt;br&gt;
        }&lt;br&gt;
        catch (DocumentException de)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(de.Message);&lt;br&gt;
        }&lt;br&gt;
        catch (IOException ioEx)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(ioEx.Message);&lt;br&gt;
        }&lt;br&gt;
        catch (Exception ex)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(ex.Message);&lt;br&gt;
        }&lt;br&gt;
    }  &lt;/p&gt;

</description>
    </item>
    <item>
      <title>New Features: What is new in .net Core 3.0</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Thu, 01 Apr 2021 04:18:37 +0000</pubDate>
      <link>https://dev.to/technologycrowd/new-features-what-is-new-in-net-core-3-0-1h63</link>
      <guid>https://dev.to/technologycrowd/new-features-what-is-new-in-net-core-3-0-1h63</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
Our previous article was on What Is New In ASP.NET Core 2.0 and we also discussed what is HAP and how is it useful! Here, in this blog, we are going to see the new tale of the powerful beast for the computer world which is the .NET that simplify the task of developing cross-platform applications. Microsoft has recently announced about sharing their plans of .NET Core 3.0 and therefore, it is important for us to know What is new in .NET Core 3.0. The version 2.1 of the .NET is ready for the release this year that offers a greater blend of tools and features but to add more excitement to it, Microsoft has started to lay roads for the development of .NET Core 3.0 and are expecting to release it in 2019. The interesting part is that features that were requested by the individual developers and coding enthusiasts have been implemented.&lt;/p&gt;

&lt;p&gt;Going Big! Support for Windows Desktop Apps&lt;br&gt;
One of the most exciting and impressive features that the team from Microsoft has planned is to provide support for the Windows Desktop applications and will span those especially such as UWP XAML, Windows Presentation Framework(WPF) and Windows Forms. Thus, it is a great opportunity for you as a developer to unleash your app developing skills to a higher level as you would be able to run any window desktop app regardless of it being old or new. This feature is in addition to those that are already present with the benefits that .NET Core has already got. The idea to give support came into the picture after the Microsoft has received numerous requests for the feature. Hence, its a delight for the desktop app lovers as this is a bonus to their interests. It has to be noted that, the other features such as that of web and cloud will still continue to exist as it used to be earlier, with the change being is the addition of desktop applications support.&lt;br&gt;
Easy Conversion of existing Desktop Applications&lt;br&gt;
Given the details of the information that there are some new features in .net core 3.0, any professional would be interested in converting their present applications to the system that uses the .NET core 3.0. Usually, developers face many troubles in moving the existing application to  other technologies especially if the application size is big. It is such a painful task for them, but the process isn't hectic in the case of .NET Core 3.0. Surprisingly the entire procedure is rather made simple and straightforward. All that is required of you to do is to set the target of your existing desktop application as .NET Core 3.0 and compile the files again. You needn't set target for the dependencies but doing so would carry some benefits. One good example of this easy process is the story of conversion of the popular MS Paint application. The .NET team didn't have the source code of Paint within their reach but were able to get the binaries of the Paint.NET that were working based on the .NET Core. They used the WPF binaries that were available in the .NET directory which was present on their machine in the lab as they were not having the WPF special build. The paint, to their surprise was working very well and that too it reported a faster start-up without any optimization work being done on it. Apart from this, the .NET team had a heavy breath after they were able to find out the tricky bug that existed in .NET Core and have fixed it. Apart from this, there has been an attempt to make the EF6 work on .NET Core 3.0 by updating it. The EF Core is expected to come equipped with few new features. New applications regardless of what type they are, the EF Core remains to be the data stack that would be recommended highly. Those developers who are willing to take the advantages and extra benefits, it is advised from Microsoft to port to the new EPF Core for the projects.&lt;/p&gt;

&lt;p&gt;Made it Simple Deployments&lt;br&gt;
One could conclude easily that there is a lot of flexibility offered in deploying the project to suit the newly installed .NET Core 3.0. You are given the ability to do the central installation and service the application with its benefits. The good thing here is these don't require any in-place updates. For the subsequent versions release of .NET Core, apps could be updated in a pattern by doing it on one system after the other. These steps are accompanied by a guarantee that they won't affect any other apps.  The above said deployment is of one variety which can be termed as Side-by-side deployment. You can also deploy your application updates yet in another way where you are in need of maximum isolation. The Microsoft is striving hard to deliver a new build tool that can enable you to bundle the app and .NET Core into a single exe(Executable) file.&lt;br&gt;
Updating Project Files: A new approach&lt;br&gt;
The adoption of SDK-style for projects for .NET core 3.0 has given a lot of improvements in various dimensions. NuGet packages are thereafter referenced using PackageReference, which is one of the key aspects of projects that are following SDK style. Project files result in smaller and cleaner versions when SDK is the approach. The advantage of support to multi-targeting is leveraged with this style. The packages.config is replaced by the PackageReference. This change helps a developer to refer the entire component area which is a total contrast to the earlier facility where only one single assembly could be referenced at once.&lt;br&gt;
Closing Notes&lt;br&gt;
The team from Microsoft are working hard to plan for few early releases of the .NET Core 3.0 so that they would have the measure of the quality with the help of user feedback. In addition to it, they have been conducting surveys to get a bigger picture of what more the users are willing to have in the latest version. Finally, the staff claims that there isn't any kind of big architectural changes in the newer version though!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Top Angular 4 Interview Questions and Answers</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Thu, 01 Apr 2021 04:16:46 +0000</pubDate>
      <link>https://dev.to/technologycrowd/top-angular-4-interview-questions-and-answers-52p1</link>
      <guid>https://dev.to/technologycrowd/top-angular-4-interview-questions-and-answers-52p1</guid>
      <description>&lt;p&gt;Introducton&lt;br&gt;
The students, web developers, software programmers appearing for competitive exams and entrance tests and willing to make a career in Front end designing may take a notice to these questions during their preparation.&lt;br&gt;
Most frequently asked Angular 4 Questions in an interview are compiled in a following list:&lt;/p&gt;

&lt;p&gt;Top Angular 4 Interview Questions and Answers&lt;br&gt;
Q 1. What is Angular 4? What are the new features in Angular 4?&lt;br&gt;
A1. Angular 4, a JavaScript framework to develop web applications and in html and the superset of JavaScript- TypeScript comes in with built in features of animations, Router ParamMap, Typescript 2.2 and Angular Universal. Apps developed in Angular 4 are smaller and faster than that of in the previous version. In Angular 4, the template tag has been deprecated and instead, used is  “ng-template” tag. Angular 4 allows the programmers to use ngif/else style syntax in place of ngif.&lt;br&gt;
Q 2. What are Components, Module, Pipe in Angular 4?&lt;br&gt;
Components: Most part of the web development is done with components. Components are the classes that interact with .html file of components. Angular components always have a template. A component must belong to NgModule and for that it needs to be listed in the declarations field of the NgModule. Components control the run time behaviour by implementing various Life-Cycle hooks. In oder to generate a component in Angular 4 using the CLI command, the following syntax is used:&lt;br&gt;
ng generate component component_name;&lt;br&gt;
It will generate the component and add it to the module declarations.&lt;br&gt;
Module: In angular, Module is referred to a place where components, pipes, directives and services are grouped. In order to define a module, NgModule is used using CLI command in Angular. The structure for the NgModule is as follows:&lt;/p&gt;

&lt;p&gt;@NgModule ( { &lt;br&gt;
 declarations: {&lt;br&gt;
  AppComponent&lt;br&gt;
 ] ,&lt;br&gt;
 Imports:   [&lt;br&gt;
  BrowserModule&lt;br&gt;
 ] , &lt;br&gt;
 providers:  []&lt;br&gt;
 bootstrap:  [AppComponent]&lt;br&gt;
}]&lt;/p&gt;

&lt;p&gt;It begins with @NgModule containing an object, declarations, imports, providers and bootstrap.&lt;br&gt;
Pipe: In Angular 1, pipes were called filters and in Angular 2 and Angular 4, pipes. Pipes are used to change the case of the text. Supposedly the programmer wants to display the text in uppercase, this will be done with pipes. Angular 4 comes with built in pipes:&lt;br&gt;
Lowercasepipe&lt;br&gt;
Uppercasepipe&lt;br&gt;
Datepipe&lt;br&gt;
Currencypipe&lt;br&gt;
Jsonpipe&lt;br&gt;
Percentpipe&lt;br&gt;
Decimalpipe &lt;br&gt;
Slicepipe&lt;/p&gt;

&lt;p&gt;Q 3. What is Angular CLI?&lt;br&gt;
Angular CLI i.e Command-line Interface enables the programmers to create any Angular project with an ease. It comes with commands that help in creating a project very fast. It needs to be installed on the system to work with it. Following is the list of the most important commands required while working with Angular 4 projects:&lt;/p&gt;

&lt;p&gt;Component&lt;br&gt;
 ng g component new-component&lt;br&gt;
Directive&lt;br&gt;
   ng g directive new-directive&lt;br&gt;
Pipe&lt;br&gt;
     ng g pipe new-pipe&lt;br&gt;
Service&lt;br&gt;
      ng g service new-service&lt;br&gt;
Module &lt;br&gt;
ng g module new-module&lt;/p&gt;

&lt;p&gt;The reference of any of the above is updated in the parent module app.module.ts.&lt;br&gt;
Q 4. How to apply Animation to the Angular Component?&lt;/p&gt;

&lt;p&gt;animations: [ &lt;br&gt;
   trigger(‘myanimation’,[ &lt;br&gt;
      state(‘smaller’, style([ &lt;br&gt;
         transform : ‘translateY(100px)’ &lt;br&gt;
   })),&lt;br&gt;
      state(‘larger’, style({&lt;br&gt;
        transform : ‘translateY(0px)&lt;br&gt;
   })),&lt;br&gt;
      transition(‘smaller &amp;lt;=&amp;gt; larger’animate(‘300ms ease-in’))&lt;br&gt;
   ])&lt;br&gt;&lt;br&gt;
]&lt;br&gt;
Q 5. Describe Component Life Cycle Hooks?&lt;br&gt;
Angular offers life cycle hooks which is created, updated and destroyed by Angular itself. The directive and component instances have life cycle hooks managed by the Angular.&lt;/p&gt;

&lt;p&gt;The list of the life cycle hooks is as follows:&lt;br&gt;
ngOnChanges()&lt;br&gt;
Respond when Angular (re)sets data-bound input properties. The method receives a SimpleChanges object of current and previous property values.&lt;br&gt;
Called before ngOnInit() and whenever one or more data-bound input properties change.&lt;br&gt;
ngOnInit()&lt;br&gt;
Initialize the directive/component after Angular first displays the data-bound properties and sets the directive/component's input properties.&lt;br&gt;
Called once, after the first ngOnChanges().&lt;br&gt;
ngDoCheck()&lt;br&gt;
Detect and act upon changes that Angular can't or won't detect on its own.&lt;br&gt;
Called during every change detection run, immediately after ngOnChanges() and ngOnInit().&lt;br&gt;
ngAfterContentInit()&lt;br&gt;
Respond after Angular projects external content into the component's view / the view that a directive is in.&lt;br&gt;
Called once after the first ngDoCheck().&lt;br&gt;
ngAfterContentChecked()&lt;br&gt;
Respond after Angular checks the content projected into the directive/component.&lt;br&gt;
Called after the ngAfterContentInit() and every subsequent ngDoCheck().&lt;br&gt;
ngAfterViewInit()&lt;br&gt;
Respond after Angular initializes the component's views and child views / the view that a directive is in.&lt;br&gt;
Called once after the first ngAfterContentChecked().&lt;br&gt;
ngAfterViewChecked()&lt;br&gt;
Respond after Angular checks the component's views and child views / the view that a directive is in.&lt;br&gt;
Called after the ngAfterViewInit and every subsequent ngAfterContentChecked().&lt;br&gt;
ngOnDestroy()&lt;br&gt;
Cleanup just before Angular destroys the directive/component. Unsubscribe Observables and detach event handlers to avoid memory leaks.&lt;br&gt;
Called just before Angular destroys the directive/component.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>SQL Server Installation Fix: Repair a Failed SQL Server 2016 Installation</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Thu, 01 Apr 2021 04:14:14 +0000</pubDate>
      <link>https://dev.to/technologycrowd/sql-server-installation-fix-repair-a-failed-sql-server-2016-installation-4a7k</link>
      <guid>https://dev.to/technologycrowd/sql-server-installation-fix-repair-a-failed-sql-server-2016-installation-4a7k</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
SQL Server 2016 is a recently released version of Microsoft’s popular database platform that is developed with inbuilt advanced analytic and higher security technology. It targets all the critical applications and deeper insights in your data across on-premises and cloud. Here are few tips to handle the installation process to avoid the failure along with the method to repair the failed SQL Server 2016 Installation.&lt;br&gt;
Scenarios when SQL server 2016 installation failed and need repair operation&lt;br&gt;
When an instance of SQL Server got corrupted after successful installation and you need to repair that particular instance only.&lt;br&gt;
When you need to repair a particular instance of SQL Server in case the upgrade operation is cancelled or failed after the instance name is mapped to the newly-upgraded instance.&lt;br&gt;
If the following message appears in summary log, you need to repair the failed upgrade instance:&lt;br&gt;
Error message: "SQL Server upgrade failed. To continue, investigate the reason for the failure, correct the problem, and then repair your installation."&lt;br&gt;
In case the following message appears in the summary log, you need to uninstall and reinstall SQL Server, as you will not be able to repair the SQL Server instance.&lt;br&gt;
Error Message:"SQL Server upgrade failed. To continue, investigate the reason for the failure, correct the problem."&lt;br&gt;
When you repair an instance of SQL Server all the missing or corrupt files, registry keys are replaced with the new ones and all missing or invalid configuration values are set to their default values.&lt;br&gt;
Note: Before initiating SQL Server failover clusters, remember that the repair process must be run on individual cluster nodes only. To repair a failover cluster node after a failed prepare operation, use Remove node and then continue performing the Prepare step again.&lt;br&gt;
Repair steps when SQL Server installation get failed from the Installation Center&lt;br&gt;
Run the SQL Server Setup application (setup.exe) from SQL Server installation media.&lt;br&gt;
When you are done with prerequisites and system verification, you will be prompted to the Setup program that displays the SQL Server Installation Center page.&lt;br&gt;
Now, select Maintenance located in the left-hand navigation area, and click Repair to initiate the repair operation.&lt;br&gt;
The next window runs all the setup support rule and file routines to get assurance about all the prerequisites installed and then Setup validation rules. Now, select OK button or Install to continue.&lt;br&gt;
Now, on the Select Instance page, choose the instance you want to repair, and click ‘Next’ button.&lt;br&gt;
To validate the operation repair rules will run, click ‘Next’ to continue.&lt;br&gt;
The next page will be ‘Ready to Repair page’, which indicates that the operation is ready to proceed, click Repair.&lt;br&gt;
You will be able to view the status of the repair operation through Repair Progress page.&lt;br&gt;
SQL Server Installation Fix&lt;br&gt;
Steps to repair failed installation of SQL Server using Command Prompt&lt;br&gt;
You can also run the given command at a command prompt to repair failed installation:&lt;br&gt;
1&lt;br&gt;
2&lt;br&gt;
‘Setup.exe /q /ACTION=Repair /INSTANCENAME=instancename’&lt;br&gt;
Summary&lt;br&gt;
These are the manual steps you can use to repair a failed SQL server 2016 installation. But in case you are unable to repair SQL instances then you can always go with the alternate solutions available in the market. There are various SQL repair tools available that offer you advanced modules to repair SQL 2016 instances without following many steps.&lt;br&gt;
Relevant Reading&lt;br&gt;
Could not open a connection to SQL Server&lt;br&gt;
How to Schedule Backup in SQL Server&lt;br&gt;
Saving Changes not permitted in SQL Server&lt;br&gt;
Author Bio: Priyanka Chouhan is a technical writer in Stellar Data Recovery with 5 years of experience and has written several articles on SQL server &amp;amp; SharePoint. In the spare time, she loves reading and gardening.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Top 3 Solutions to Convert MSG to PST File Format</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Thu, 01 Apr 2021 04:12:47 +0000</pubDate>
      <link>https://dev.to/technologycrowd/top-3-solutions-to-convert-msg-to-pst-file-format-5daf</link>
      <guid>https://dev.to/technologycrowd/top-3-solutions-to-convert-msg-to-pst-file-format-5daf</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
Currently, most business professionals use Outlook for the full-fledged business, and it has become a worldwide niche application now. Outlook has many features to help users secure their essential data on the cloud platform. Outlook saves files in two extension formats:.MSG and .PST. Although, both MSG and PST are supported by Outlook, there is a big difference between them. However, MSG files do not take priority over PST files. If you are looking for a solution to convert MSG Files to PST file format in bulk, then you have come to the right place!&lt;/p&gt;

&lt;p&gt;But before we tackle this, let's first look at both MSG and PST file formats and then find a solution to perform MSG files to PST converter.&lt;/p&gt;

&lt;p&gt;Understanding MSG and PST Formats&lt;br&gt;
MSG Files&lt;br&gt;
The MSG file format contains an e-mail message. This file contains the sender, the recipient, the content, the message, and even the attachments if any. To read your MSG file, you must convert it using the Outlook app. This step will need to be repeated every time you want to convert files from MSG to PST file.&lt;/p&gt;

&lt;p&gt;PST Files&lt;br&gt;
Outlook's PST file format looks like a complete database. It contains all information such as email addresses, calendar, notes, attachments, and tasks. These features make PST a more attractive option for users.&lt;/p&gt;

&lt;p&gt;Therefore, these advantages allow an increasing number of users to convert MSG to PST file format for readable data and accessibility solutions offered by PST files. Before sharing an easy workaround with you, let's go through the manual steps required to convert files from MSG to PST file format.&lt;/p&gt;

&lt;p&gt;MSG Files to PST Converter Manually&lt;br&gt;
We will share with you two free methods to assist you in converting MSG files.&lt;/p&gt;

&lt;p&gt;Method 1: Use Drag and Drop Method&lt;br&gt;
Start by opening Microsoft Outlook.&lt;br&gt;
Create a new folder where you want to save your files, for example, a folder under the Inbox heading.&lt;br&gt;
Select the Rename option to name your new folder.&lt;br&gt;
Now, select the MSG files and drag and drop them into your new folder.&lt;br&gt;
Now you have successfully converted the MSG file to PST. These steps can be easily done with single file conversions. However, this process to convert MSG to PST format can be tedious when you have to deal with lots of files.&lt;/p&gt;

&lt;p&gt;Method 2: Use the Copy and Paste Method&lt;br&gt;
Choose the location of your MSG files. Select the file.&lt;br&gt;
Right-click o sen it. You wille and choose the copy option.&lt;br&gt;
Open Outlook and paste your files into the folder by right-clicking.&lt;br&gt;
Note: Before proceeding to step 3, create a folder in Outlook where you will save your MSG files.&lt;br&gt;
These steps will make it easy to convert files from MSG to PST file format.&lt;/p&gt;

&lt;p&gt;Usually, manual methods can cause some data loss while converting MSG to PST files. We recommend using MSG to PST Converter as a ready solution as given below.&lt;/p&gt;

&lt;p&gt;Method 3: Alternative Solution to Convert MSG to PST Format&lt;br&gt;
The manual methods above are a scientific approach to convert MSG files to PST file format. These steps ensure that your data is converted, but do not guarantee data loss. If you want a safer and easier alternative, try the MSG to PST Converter software. It comes with an easy graphical user interface to assist non-technical users like technical users. With the use of this free software, you can easily convert 25 email items at once. Try the free version online.&lt;/p&gt;

&lt;p&gt;The Final Verdict&lt;br&gt;
We have shown here all the available steps for manually to convert MSG to PST file format. But manual conversion comes with certain problems like missing some data files multiple times in the conversion process. A faster and more feasible solution to convert files from MSG to PST file provided here for the ease of users. We hope you found this article helpful in providing you with easy solutions.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How can we export datatable to PDF using iTextSharp ?</title>
      <dc:creator>Anjan Kant</dc:creator>
      <pubDate>Tue, 16 Mar 2021 05:52:08 +0000</pubDate>
      <link>https://dev.to/technologycrowd/how-can-we-export-datatable-to-pdf-using-itextsharp-4j9h</link>
      <guid>https://dev.to/technologycrowd/how-can-we-export-datatable-to-pdf-using-itextsharp-4j9h</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
I have illustrated below with example how can we export data table to PDF using iTextSharp&lt;/p&gt;

&lt;p&gt;Step 1. We can download itextsharp.dll from the website &lt;a href="http://sourceforge.net/projects/itextsharp/"&gt;http://sourceforge.net/projects/itextsharp/&lt;/a&gt;&lt;br&gt;
Step 2. Please click on add exiting item to add iTextSharp.dll in the "Bin" folder.&lt;br&gt;
 iTextSharp.dll&lt;/p&gt;

&lt;p&gt;Step 3. In the next step, put downloaded iTextSharp.dll in the project folder structure to add reference of the iTextSharp.dll in the application.&lt;/p&gt;

&lt;p&gt;iTextSharp.dll  &lt;/p&gt;

&lt;p&gt;Step 4. You may check now that dll reference have been added in your application. &lt;/p&gt;

&lt;p&gt;iTextSharp.text&lt;/p&gt;

&lt;p&gt;Step 5. Now I have provided below c# code snippet as given below:&lt;/p&gt;

&lt;p&gt;protected void btnPDF_Click(object sender, ImageClickEventArgs e)&lt;br&gt;
    {&lt;br&gt;
        DataTable dtn = new DataTable();&lt;br&gt;
        dtn = GetDataTable();&lt;br&gt;
        dtPDF = dtn.Copy();&lt;br&gt;
        for (int i = 0; i &amp;lt;= dtn.Rows.Count - 1; i++)&lt;br&gt;
        {&lt;br&gt;
            ExportToPdf(dtPDF);&lt;br&gt;
        }&lt;br&gt;
     }&lt;/p&gt;

&lt;p&gt;public void ExportToPdf(DataTable myDataTable)&lt;br&gt;
    {&lt;br&gt;
        Document pdfDoc = new Document(PageSize.A4, 10, 10, 10, 10);&lt;br&gt;
        try&lt;br&gt;
        {&lt;br&gt;
            PdfWriter.GetInstance(pdfDoc, System.Web.HttpContext.Current.Response.OutputStream);&lt;br&gt;
            pdfDoc.Open();&lt;br&gt;
            Chunk c = new Chunk("" + System.Web.HttpContext.Current.Session["CompanyName"] + "", FontFactory.GetFont("Verdana", 11));&lt;br&gt;
            Paragraph p = new Paragraph();&lt;br&gt;
            p.Alignment = Element.ALIGN_CENTER;&lt;br&gt;
            p.Add(c);&lt;br&gt;
            pdfDoc.Add(p);&lt;br&gt;
            string clientLogo = Server.MapPath(".") + "/logo/tpglogo.jpg";&lt;br&gt;
            string imageFilePath = Server.MapPath(".") + "/logo/tpglogo.jpg";&lt;br&gt;
            iTextSharp.text.Image jpg = iTextSharp.text.Image.GetInstance(imageFilePath);&lt;br&gt;
            //Resize image depend upon your need&lt;br&gt;&lt;br&gt;
            jpg.ScaleToFit(80f, 60f);&lt;br&gt;
            //Give space before image&lt;br&gt;&lt;br&gt;
            jpg.SpacingBefore = 0f;&lt;br&gt;
            //Give some space after the image&lt;br&gt;&lt;br&gt;
            jpg.SpacingAfter = 1f;&lt;br&gt;
            jpg.Alignment = Element.HEADER;&lt;br&gt;
            pdfDoc.Add(jpg);&lt;br&gt;
            Font font8 = FontFactory.GetFont("ARIAL", 7);&lt;br&gt;
            DataTable dt = myDataTable;&lt;br&gt;
            if (dt != null)&lt;br&gt;
            {&lt;br&gt;
                //Craete instance of the pdf table and set the number of column in that table&lt;br&gt;&lt;br&gt;
                PdfPTable PdfTable = new PdfPTable(dt.Columns.Count);&lt;br&gt;
                PdfPCell PdfPCell = null;&lt;br&gt;
                for (int rows = 0; rows &amp;lt; dt.Rows.Count; rows++)&lt;br&gt;
                {&lt;br&gt;
                    for (int column = 0; column &amp;lt; dt.Columns.Count; column++)&lt;br&gt;
                    {&lt;br&gt;
                        PdfPCell = new PdfPCell(new Phrase(new Chunk(dt.Rows[rows][column].ToString(), font8)));&lt;br&gt;
                        PdfTable.AddCell(PdfPCell);&lt;br&gt;
                    }&lt;br&gt;
                }&lt;br&gt;
                //PdfTable.SpacingBefore = 15f; // Give some space after the text or it may overlap the table&lt;br&gt;&lt;br&gt;
                pdfDoc.Add(PdfTable); // add pdf table to the document&lt;br&gt;&lt;br&gt;
            }&lt;br&gt;
            pdfDoc.Close();&lt;br&gt;
            Response.ContentType = "application/pdf";&lt;br&gt;
            Response.AddHeader("content-disposition", "attachment; filename= SampleExport.pdf");&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(pdfDoc);&lt;br&gt;
            Response.Flush();&lt;br&gt;
            Response.End();&lt;br&gt;
            //HttpContext.Current.ApplicationInstance.CompleteRequest();&lt;br&gt;&lt;br&gt;
        }&lt;br&gt;
        catch (DocumentException de)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(de.Message);&lt;br&gt;
        }&lt;br&gt;
        catch (IOException ioEx)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(ioEx.Message);&lt;br&gt;
        }&lt;br&gt;
        catch (Exception ex)&lt;br&gt;
        {&lt;br&gt;
            System.Web.HttpContext.Current.Response.Write(ex.Message);&lt;br&gt;
        }&lt;br&gt;
    }   &lt;/p&gt;

&lt;p&gt;Suggested Reading&lt;br&gt;
Interface class c#&lt;br&gt;
What is the difference between a mutable and immutable string in C#?&lt;br&gt;
What is the difference between an interface and abstract class&lt;br&gt;
Jquery Timer Countdown in MVC Application. visit our site -&lt;a href="https://www.technologycrowds.com/2013/09/how-can-we-export-datatable-to-pdf.html"&gt;https://www.technologycrowds.com/2013/09/how-can-we-export-datatable-to-pdf.html&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
