<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DotNetCore 3.0 developers &gt; Metasys Software Pvt Ltd.</title>
	<atom:link href="https://www.metasyssoftware.com/tag/dotnetcore-3-0-developers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.metasyssoftware.com</link>
	<description>Unique People, Unique Solutions</description>
	<lastBuildDate>Mon, 10 Jun 2024 08:45:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.metasyssoftware.com/wp-content/uploads/2023/10/metasys-svg-.png</url>
	<title>DotNetCore 3.0 developers &gt; Metasys Software Pvt Ltd.</title>
	<link>https://www.metasyssoftware.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Using the NReco pdf writing tool</title>
		<link>https://www.metasyssoftware.com/dot-net/using-the-nreco-pdf-writing-tool/</link>
					<comments>https://www.metasyssoftware.com/dot-net/using-the-nreco-pdf-writing-tool/#respond</comments>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Fri, 24 Apr 2020 11:48:33 +0000</pubDate>
				<category><![CDATA[Dot Net]]></category>
		<category><![CDATA[wkhtml]]></category>
		<category><![CDATA[.NetCore]]></category>
		<category><![CDATA[PDF writing tools]]></category>
		<category><![CDATA[DotNet run]]></category>
		<category><![CDATA[DotNet Core 3.0]]></category>
		<category><![CDATA[ASP.NETCore]]></category>
		<category><![CDATA[Dot Net application development]]></category>
		<category><![CDATA[Offshore custom software development solutions]]></category>
		<category><![CDATA[Dot NET Software Services India]]></category>
		<category><![CDATA[Offshore custom software development services]]></category>
		<category><![CDATA[DotNet framework]]></category>
		<category><![CDATA[DotNetCore 3.0 developers]]></category>
		<category><![CDATA[ASP web application]]></category>
		<category><![CDATA[NReco]]></category>
		<guid isPermaLink="false">https://www.metasyssoftware.com/?p=3045</guid>

					<description><![CDATA[<p>These days financial, marketing and e-commerce websites allow us to download reports and receipts in pdf form. The Pdf file [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/dot-net/using-the-nreco-pdf-writing-tool/">Using the NReco pdf writing tool</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<p>These days financial, marketing and e-commerce websites allow us to download reports and receipts in pdf form. The Pdf file format is a convenient way of sharing information, as there is a high level of confidence that the user can open the document with the intended look and feel. This is even true for documents containing charts, images and text-based on dynamic data. There are many pdf writing tools available online, of which two commonly used ones are wkhtmltopdf and NReco. This blog article details the recent switch we made from wkhtmltopdf to NReco, and the numerous benefits of the switch.</p>
<p><strong>Our experience with wkhtmltopdf</strong></p>
<p>In the past, we generally used wkhtmltopdf to implement pdf functionality in our web applications. It was a practical choice, as it is an open-source tool with which we have extensive development experience already. The converter tool is given a destination file path and a URL of the report web page. Since the download button is contained within the generated report in web page form, the pdf conversion adds an unnecessary report generation step. To avoid this inefficiency, we wanted to explore different pdf converter options.</p>
<p><strong>Our experience with NReco</strong></p>
<p>We came across a library in a NuGet package called .Net Reusable Components (NReco), which contains a collection of reusable components for the .NET platform including a pdf conversion tool. The only input the tool requires is either a URL to the web page or the report contents as an HTML string. NReco is easier to implement, requiring only two to three lines of code. Even reports containing charts and images created using a third-party tool can be rendered to a pdf without additional coding. All CSS, fonts and images in HTML are supported by the NReco conversion tool.</p>
<p>The NReco tool is easy to install, and performs efficiently, taking much less time than wkhtmltopdf to generate a pdf. Although we currently only use NReco for pdf conversion, many other tools are available.</p>
<p>A major advantage of NReco, is that it supports both the .Net framework and .Net Core. Since we are looking to upgrade a number of our applications to .Net Core, it saves us considerable development time if we can use the existing code for pdf conversion.</p>
<p>To conclude, using NReco instead of wkhtmltopdf for pdf conversion has many benefits including easy implementation, performance, and compatibility with .Net Core.</p>
<p><strong>About us</strong></p>
<p>Our team of .Net developers have successfully delivered applications using ASP.Net Core, .Net &amp; ASP.Net framework, Visual Studio, Microsoft SQL Server, Team Foundation Server, Javascript and JQuery. For more info &#8211; <a href="https://www.metasyssoftware.com/dot-net">https://www.metasyssoftware.com/dot-net</a></p>The post <a href="https://www.metasyssoftware.com/dot-net/using-the-nreco-pdf-writing-tool/">Using the NReco pdf writing tool</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.metasyssoftware.com/dot-net/using-the-nreco-pdf-writing-tool/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Converting an MVC web APP to .Net Core Web App</title>
		<link>https://www.metasyssoftware.com/dot-net/converting-an-mvc-web-app-to-net-core-web-app/</link>
					<comments>https://www.metasyssoftware.com/dot-net/converting-an-mvc-web-app-to-net-core-web-app/#respond</comments>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Mon, 13 Apr 2020 07:56:19 +0000</pubDate>
				<category><![CDATA[Dot Net]]></category>
		<category><![CDATA[Web application development company]]></category>
		<category><![CDATA[ASP.Net Development Company in India]]></category>
		<category><![CDATA[DotNet run]]></category>
		<category><![CDATA[Dot NET Software Services India]]></category>
		<category><![CDATA[DotNet framework]]></category>
		<category><![CDATA[DotNetCore 3.0 developers]]></category>
		<category><![CDATA[Dot Net application development DotNet Core 3.0]]></category>
		<category><![CDATA[ASP web application]]></category>
		<category><![CDATA[ASP Dot Net developer]]></category>
		<guid isPermaLink="false">https://www.metasyssoftware.com/?p=2996</guid>

					<description><![CDATA[<p>History Like many others, we have been working on MVC 5 based web applications since 2013. With Microsoft planning significant [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/dot-net/converting-an-mvc-web-app-to-net-core-web-app/">Converting an MVC web APP to .Net Core Web App</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<p><strong>History</strong></p>
<p>Like many others, we have been working on MVC 5 based web applications since 2013. With Microsoft planning significant investment into the open-source development platform .Net core, we saw the advantage of migrating our current applications to the new platform sooner rather than later.<br />
The first version of .Net Core 1.0 was released by Microsoft in 2014, followed by several versions, most recently .Net 3.1.1 in January 2020. At the time that we started the migration in 2019, we found .Net 2.2 to be a stable version with a well-developed community advanced enough to answer our queries. The web application that we decided to convert to .Net Core was developed in 2017 on the .Net 4.5.1 MVC platform.</p>
<p><strong>Initial considerations</strong><br />
Evaluating the conversion risk is an essential first step before convincing the client to invest in the new technology. Several factors need to be considered, including the project timeline, the scale of the project and the available resources. Using a team that has worked with the technology for at least a year or two is the best option for reducing risk in such a conversion project. A great option is using interns as an additional resource, as the project provides them with the excitement of learning something new.</p>
<p><strong>HOW to start?</strong><br />
The first step is to check the old application with the tool called NET Portability Analyzer Tool. This tool analyzes assemblies and provides a detailed report on the .Net APIs that are missing for the applications or libraries to be portable on .Net Core. It is not a tool which will automatically convert the .NET MVC app to a .NET Core, but it is a useful initial guide towards identifying the portable and non-portable items.<br />
The tool details are available on the Microsoft website:<br />
https://docs.microsoft.com/en-us/dotnet/standard/analyzers/portability-analyzer<br />
The tool can be downloaded using the link: https://marketplace.visualstudio.com/items?itemName=ConnieYau.NETPortabilityAnalyzer</p>
<p>The screenshots below show some of the tool outputs:<br />
<strong>Portability Summary</strong></p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-2998 size-full" title="Portability summary" src="https://www.metasyssoftware.com/wp-content/uploads/Portability-summary-image-1.jpg" alt="Portability summary" width="975" height="254" /></p>
<p><strong>Details</strong></p>
<p><img decoding="async" class="alignnone wp-image-2999 size-full" title="Details image" src="https://www.metasyssoftware.com/wp-content/uploads/details-image-2.jpg" alt="Details image " width="975" height="206" /></p>
<p><strong>Missing Assemblies</strong></p>
<p><img decoding="async" class="alignnone wp-image-3000 size-full" title="Missing assemblies" src="https://www.metasyssoftware.com/wp-content/uploads/Missing-assemblies-3.jpg" alt="Missing assemblies " width="975" height="328" /></p>
<p><strong>Creating the new project</strong><br />
It is not useful to open the entire MVC project as a .Net Core project immediately in Visual Studio (VS) 2017, as it will result in a huge list of errors that are difficult to address one by one. A better approach is to create an empty project and copy a few models, controllers, views or corresponding files at a time into the newly created .Net Core project in the VS 2017 environment. After each addition, build the project, analyze and fix the errors.<br />
What were my next steps? Let me give you some technical bullets here.<br />
One of the important steps is to move the connection strings settings from Web.Config to JSON settings in the file named as AppSettings.JSON .<br />
It is necessary to add a middle layer file for the session and call it in the StartUp.cs file. so that all the session objects set on the Global. asax file that do not exist on the .Net Core project will go into the middle layer file and register as a service in StartUp.cs. The Session dependency is included by adding AddSession into ConfigureServices of StartUp.cs<br />
Convert all of your class libraries created separately to .Net standard Class Libraries wherever required by creating a .NET Standard Project and add the references wherever required for the new .NET Core Web App project you have created.<br />
All static files like Images, icons, CSS, JS, email templates need to be copied into WWWRoot. The file locations have to be changed across the project wherever they are referenced.<br />
The Route.config file should be replaced by adding the MapRoute in the StartUp.cs file.<br />
We can create Set and Get extension functions Like SetObject and GetObject for handling session operations as shown below</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3001 size-full" title="set object and get object" src="https://www.metasyssoftware.com/wp-content/uploads/set-object-and-get-object-image-4.png" alt="set object and get object" width="823" height="277" /></p>
<p>We have two parts in our project Web App and Web API so we have to add the DI (Dependency Injection) for calling WebAPIClient and HostingEnvironment (IWebAPIClient webapiclient, IHostingEnvironment env)</p>
<p><strong>What can be done on SSL redirection?</strong><br />
We have to add following setting in AppSettings.json file</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3002 size-full" title="image" src="https://www.metasyssoftware.com/wp-content/uploads/app-setting-image-5.jpg" alt="image" width="334" height="63" /></p>
<p>Also we have to add following code in Startup.cs</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3003 size-full" title="startup cs" src="https://www.metasyssoftware.com/wp-content/uploads/startup-cs-6.jpg" alt="startup cs" width="463" height="111" /></p>
<p>Third party Dlls<br />
Every project has some third party Dlls used in the project for a specific purpose. For our application, the third party Dlls like EPPlus, ICSharpCode.SharpZipLib library worked on the .NET Core project without any issues. However, it is possible that certain third party tool kits are not compatible with .NET Core. Some can be downloaded from NuGet or by contacting a third party vendor.<br />
There may be instances where third party assemblies used in the project do not work and cannot be bought from third party vendors. In this case, I would recommend finding a solution that omits the tool altogether. It pays to think of this early whilst updating any web app that might be migrated in the future. This way incompatible third party Dlls can be avoided in favor of compatible tools, in order to save work at the migration stage. One such example is Nreco PDF to Image renderer, which has a version that is compatible with .Net Core available from a third party vendor.</p>
<p>The technical points in this article refer to architectural changes, I will cover the common conversion issues and deployment in the next article so stay tuned…</p>
<p>For more details regarding the kind of ASP web application projects which we handle https://www.metasyssoftware.com/case-study-dotnet</p>The post <a href="https://www.metasyssoftware.com/dot-net/converting-an-mvc-web-app-to-net-core-web-app/">Converting an MVC web APP to .Net Core Web App</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.metasyssoftware.com/dot-net/converting-an-mvc-web-app-to-net-core-web-app/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
