<?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>DotNet Core 3.0 &gt; Metasys Software Pvt Ltd.</title>
	<atom:link href="https://www.metasyssoftware.com/tag/dotnet-core-3-0/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.metasyssoftware.com</link>
	<description>Unique People, Unique Solutions</description>
	<lastBuildDate>Thu, 06 Jun 2024 12:23:24 +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>DotNet Core 3.0 &gt; Metasys Software Pvt Ltd.</title>
	<link>https://www.metasyssoftware.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Implementing Active Directory in a .NET application with Multiple Roles</title>
		<link>https://www.metasyssoftware.com/dot-net/implementing-active-directory-in-a-net-application-with-multiple-roles/</link>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Wed, 18 Aug 2021 13:28:16 +0000</pubDate>
				<category><![CDATA[Dot Net]]></category>
		<category><![CDATA[DotNet framework]]></category>
		<category><![CDATA[DotNet Core 3.0]]></category>
		<category><![CDATA[dot net development company]]></category>
		<category><![CDATA[dot net development services]]></category>
		<category><![CDATA[offshore dot net services]]></category>
		<category><![CDATA[outsourcing dot net services]]></category>
		<category><![CDATA[DotNet run]]></category>
		<guid isPermaLink="false">https://www.metasyssoftware.com/?p=3566</guid>

					<description><![CDATA[<p>The need for a directory of users arises when various devices are used on the same network. It is crucial [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/dot-net/implementing-active-directory-in-a-net-application-with-multiple-roles/">Implementing Active Directory in a .NET application with Multiple Roles</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<div id="pl-3590" class="panel-layout">
<div id="pg-3590-0" class="panel-grid panel-no-style">
<div id="pgc-3590-0-0" class="panel-grid-cell" data-weight="1">
<div id="panel-3590-0-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="0" data-style="{&quot;background_image_attachment&quot;:false,&quot;background_display&quot;:&quot;tile&quot;,&quot;cvw_duration&quot;:&quot;300&quot;,&quot;cvw_easing&quot;:&quot;linear&quot;,&quot;cvw_anchor&quot;:&quot;top-bottom&quot;,&quot;cvw_repeat&quot;:&quot;true&quot;,&quot;iw-visible-screen&quot;:&quot;iw-all&quot;,&quot;iw-visible-layout&quot;:&quot;iw-all&quot;}">
<div class="so-widget-sow-editor so-widget-sow-editor-base">
<div class="siteorigin-widget-tinymce textwidget">
<p>The need for a directory of users arises when various devices are used on the same network. It is crucial to locate the directory on one central source, known as Active Directory. It helps validate and authenticate multiple users accessing all resources on the domain with a single sign-on.</p>
<p>In this blog, we will demonstrate how to implement Active Directory in a .NET application.</p>
<p><img fetchpriority="high" decoding="async" class="wp-image-3567 size-full aligncenter" title="Login" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/dotnet_1.png" alt="Login" width="378" height="166" /></p>
<h2><strong>What is Active Directory?</strong></h2>
<p>Active Directory is a database adapted by Microsoft to manage multiple devices on a single network. It also can be defined as a set of services that connect users with network resources they need to accomplish projects. In order to obtain access to devices, the network users require it to be validated.</p>
<p>Let us consider a C# .NET application to validate the users using Active Directory on the login page, before implementing Active Directory, we use ASP.NET membership to validate a user on the Login page. The code should look similar to the code below.</p>
<p><img decoding="async" class="wp-image-3568 size-full aligncenter" title="Code " src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/dotnet_2.png" alt="Code" width="431" height="28" /></p>
<p>Now, to create our own function to validate the user through Active Directory, we use the code below.</p>
<p><img decoding="async" class="wp-image-3569 size-full aligncenter" title="Code " src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/dotnet_3.png" alt="Code " width="450" height="33" /></p>
<p>VerifyUserAD accepts three parameters, namely, Username, Password and ReturnMsg. ReturnMsg returns the error message if the validation of the user fails against the Active Directory. Refer to the code below.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3570 size-full" title="Code" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/dotnet_4.png" alt="Code" width="624" height="381" /></p>
<p>Once the user is validated, the function VertifyUserAD returns an ‘authenticated’ message, based on which the user can take the following relevant actions.</p>
<p>To entirely bypass the <a href="https://www.metasyssoftware.com/case-study-dotnet/">ASP .NET</a> membership, use the Active Directory to validate the user. For an existing application, users can maintain and access a copy of Users in the database, meaning there is no need to modify the whole application end-to-end.</p>
<h2><strong>Role-based implementation</strong></h2>
<p>For role-based implementation, we use the DirectorySearcher class to fetch the property ‘memberOf’ for that user in Active Directory, as shown in the code below.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3572 size-full" title="Code" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/dotnet_5.png" alt="Code " width="488" height="62" /></p>
<p>This enables users to find the list of Groups in which the user is assigned using the SearchResult.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3573 size-full" title="Search result " src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/dotnet_6.png" alt="Search result " width="416" height="76" /></p>
<p>Use the command below to install Directory Services using the package manager console.</p>
<p>Install-Package System.DirectoryServices</p>
<p>Hope this blog will help you in the implementation of Active Directory in Dot Net application. For more information on .Net services, please visit <a href="https://www.metasyssoftware.com/dot-net">https://www.metasyssoftware.com/dot-net</a></p>
</div>
</div>
</div>
</div>
</div>
</div>The post <a href="https://www.metasyssoftware.com/dot-net/implementing-active-directory-in-a-net-application-with-multiple-roles/">Implementing Active Directory in a .NET application with Multiple Roles</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
		
		
			</item>
		<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[DotNetCore 3.0 developers]]></category>
		<category><![CDATA[ASP web application]]></category>
		<category><![CDATA[NReco]]></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>
		<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>
	</channel>
</rss>
