<?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>.Net Core &gt; Metasys Software Pvt Ltd.</title>
	<atom:link href="https://ikfstage.metasyssoftware.com/tag/net-core/feed/" rel="self" type="application/rss+xml" />
	<link>https://ikfstage.metasyssoftware.com</link>
	<description></description>
	<lastBuildDate>Thu, 27 Apr 2023 13:04:19 +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>
	<item>
		<title>Using MailKit to Send Email Notifications in .Net Core</title>
		<link>https://ikfstage.metasyssoftware.com/microsoft-technologies/using-mailkit-to-send-email-notifications-in-net-core/</link>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Wed, 19 Apr 2023 11:34:45 +0000</pubDate>
				<category><![CDATA[Microsoft Technologies]]></category>
		<category><![CDATA[DotNet Development Company]]></category>
		<category><![CDATA[Dot Net Development]]></category>
		<category><![CDATA[.Net Application Development]]></category>
		<category><![CDATA[Dot Net Software Solutions]]></category>
		<category><![CDATA[Dot Net Core]]></category>
		<category><![CDATA[dot net]]></category>
		<category><![CDATA[.Net Core]]></category>
		<category><![CDATA[dot net development services]]></category>
		<category><![CDATA[MailKit]]></category>
		<category><![CDATA[DotNet]]></category>
		<guid isPermaLink="false">https://development.ikf.in/metasys1/?p=6066</guid>

					<description><![CDATA[<p>These days, most applications come with the ability to send email notifications. Sending an email in Dot Net is quite easy and can be accomplished using Simple Mail Transfer Protocol (SMTP). I have used SMTP in many of my web applications, and it is still available in .Net Core. So, why should you use MailKit? &#8230;</p>
<p class="read-more"> <a class="" href="https://ikfstage.metasyssoftware.com/microsoft-technologies/using-mailkit-to-send-email-notifications-in-net-core/"> <span class="screen-reader-text">Using MailKit to Send Email Notifications in .Net Core</span> Read More &#187;</a></p>
The post <a href="https://ikfstage.metasyssoftware.com/microsoft-technologies/using-mailkit-to-send-email-notifications-in-net-core/">Using MailKit to Send Email Notifications in .Net Core</a> appeared first on <a href="https://ikfstage.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<div id="pl-6066"  class="panel-layout" ><div id="pg-6066-0"  class="panel-grid panel-no-style" ><div id="pgc-6066-0-0"  class="panel-grid-cell" ><div id="panel-6066-0-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="0" ><div
			
			class="so-widget-sow-editor so-widget-sow-editor-base"
			
		>
<div class="siteorigin-widget-tinymce textwidget">
	<p>These days, most applications come with the ability to send email notifications. Sending an email in Dot Net is quite easy and can be accomplished using Simple Mail Transfer Protocol (SMTP). I have used SMTP in many of my<a href="https://development.ikf.in/metasys1/service/web-app-development/"> web applications</a>, and it is still available in .Net Core.</p>
<p>So, why should you use MailKit? While implementing the email function in one of my .Net Core projects, I found out that Microsoft had deemed SMTP to be outdated. Instead, they recommended using the MailKit library. For more information, please check out the link below.<br />
<a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient?WT.mc_id=AZ-MVP-5002809&amp;view=netcore-2.2" target="_blank" rel="noopener">https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient?WT.mc_id=AZ-MVP-5002809&amp;view=netcore-2.2</a></p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-1.jpg" alt="SMTP Client Class" /></p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-2.jpg" alt="SMTP Client Class 1" /></p>
<p>I have used MailKit library in my .Net Core project.</p>
<p>Here I will share how to use simple email sending function using MailKit library in .Net Core projects.</p>
<h2><strong>Implementation:</strong></h2>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-3.jpg" alt="Mailkit" /></p>
<p>After a successful installation, we can proceed further with the code.</p>
<p>1. Create a configuration class.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-4-1.jpg" alt="Configuration Class" /></p>
<p>2. Add the mail server settings in appsettings.json file, like shown below.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-5.jpg" alt="Mail Server Settings" /></p>
<p>3. Create one email message class.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-6-1.jpg" alt="Email Message Class" /></p>
<p>4. To encapsulate email sending functionality and to use it anywhere from the application we should create one interface and class like given below.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-7-1.jpg" alt="Email Sending Functionality" /></p>
<p>5. Create a new class and inherit interface.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-8-1.jpg" alt="Class and Inherit Interface" /></p>
<p>6. The code below is an implementation in class file EmailSender. Please don’t get confused with Smtp class used below in the code; this class belongs to MailKit library class. CreateEmailMessage method is a simple message creation method which we need to use to create a message using MimeMessage class.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-9.jpg" alt="Class File EmailSender" /></p>
<p>7. In the .Net Core project, we need to add dependency injection in Startup.cs file.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-10.jpg" alt="Dot Net Core Project" /></p>
<p>8. Now we are ready to use the send method and can call this method from anywhere in the application.</p>
<p><img decoding="async" src="https://development.ikf.in/metasys1/wp-content/uploads/2023/04/email-notifications-11.jpg" alt="Send Method" /></p>
<p>The implementation provided above is for the synchronous method. Similarly, we need to implement an asynchronous method for the send function. We can also add code to be able to send emails with attachments.</p>
<p>When calling the send method, we can use a string for the message body or even a dynamic template file. The BodyBuilder class can be used to build the body or content of the email. It can also be used to add data from the template file and then change the dynamic content.</p>
<p>I developed this in a .Net Core project, but the recommendation is to use the MailKit library in all new developments, even if the project is in the .Net framework. In older implementations, we can replace existing SMTP code with MailKit.</p>
<p>Partner with <a href="https://development.ikf.in/metasys1/">MetaSys Software</a>, the top <a href="https://development.ikf.in/metasys1/technologies/dot-net-solutions/">DotNet development company</a>, to build powerful and reliable software solutions that will drive your success. <a href="https://development.ikf.in/metasys1/contact/">Contact us</a> now to schedule a consultation and start your journey towards unparalleled growth!</p>
</div>
</div></div></div></div></div>The post <a href="https://ikfstage.metasyssoftware.com/microsoft-technologies/using-mailkit-to-send-email-notifications-in-net-core/">Using MailKit to Send Email Notifications in .Net Core</a> appeared first on <a href="https://ikfstage.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How I cracked my MCSA Web Applications certification Exam</title>
		<link>https://ikfstage.metasyssoftware.com/how-i-cracked-my-mcsa-web-applications-certification-exam/</link>
					<comments>https://ikfstage.metasyssoftware.com/how-i-cracked-my-mcsa-web-applications-certification-exam/#respond</comments>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Wed, 06 May 2020 12:43:36 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Microsoft Technologies]]></category>
		<category><![CDATA[ASP.Net core]]></category>
		<category><![CDATA[MCSA exam]]></category>
		<category><![CDATA[Microsoft technologies]]></category>
		<category><![CDATA[.Net Core]]></category>
		<category><![CDATA[web application development]]></category>
		<guid isPermaLink="false">https://development.ikf.in/metasys1/?p=3052</guid>

					<description><![CDATA[<p>It has been a couple of months since I gained MCSA Certification Exam in Web Applications, and in this article, I will share my experience of preparing for and taking the exams. If you’re interested in getting MCSA certification, this article might give you an idea of how long you might need to prepare, and &#8230;</p>
<p class="read-more"> <a class="" href="https://ikfstage.metasyssoftware.com/how-i-cracked-my-mcsa-web-applications-certification-exam/"> <span class="screen-reader-text">How I cracked my MCSA Web Applications certification Exam</span> Read More &#187;</a></p>
The post <a href="https://ikfstage.metasyssoftware.com/how-i-cracked-my-mcsa-web-applications-certification-exam/">How I cracked my MCSA Web Applications certification Exam</a> appeared first on <a href="https://ikfstage.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: 400;">It has been a couple of months since I gained MCSA Certification Exam in Web Applications, and in this article, I will share my experience of preparing for and taking the exams. If you’re interested in getting MCSA certification, this article might give you an idea of how long you might need to prepare, and what the process of taking the exams is like. Keep in mind that Microsoft is continually updating the requirements for its certifications. To avoid disappointment I would recommend that you are alert and check their website frequently. </span></p>
<p><span style="font-weight: 400;">The story started almost a year ago when the CEO of our company and my project manager insisted that I get Microsoft certification. Two exams are required: </span><i><span style="font-weight: 400;">Exam 70-483: Programming in C#</span></i><span style="font-weight: 400;">, or</span><i><span style="font-weight: 400;"> Exam 70-486: Developing ASP.NET MVC Web Applications</span></i><span style="font-weight: 400;">. I chose to tackle the C# exam (70-483) first, as I thought it might be the easier option of the two. Nevertheless, the exam syllabus for C# was substantial, and I was determined to take the exam after four months of preparation. </span></p>
<p><b>Preparing for the C# Exam</b></p>
<p><span style="font-weight: 400;">Even though I knew C# quite well, I started the exam preparations from the beginning by watching C# sharp tutorial videos from </span><a href="https://www.youtube.com/watch?v=SXmVym6L8dw&amp;list=PLAC325451207E3105" rel="nofollow"><span style="font-weight: 400;">https://www.youtube.com/watch?v=SXmVym6L8dw&amp;list=PLAC325451207E3105</span></a></p>
<p><span style="font-weight: 400;">I watched all the videos to brush up my knowledge on C# basics, and found it very helpful.</span></p>
<p><span style="font-weight: 400;">Next, I read the exam guide that covers all the topics from the syllabus. This allowed me to get a grasp of the scope of the syllabus, and helped me identify other helpful resources. Two additional books that I found useful were </span><i><span style="font-weight: 400;">&#8216;C# Fundamentals for Absolute Beginners&#8217;</span></i><span style="font-weight: 400;"> and </span><i><span style="font-weight: 400;">&#8216;Programming in C# Jump Start&#8217;</span></i><span style="font-weight: 400;">. One of the best ways to thoroughly prepare for this exam is by going through the Microsoft documentation for C#.</span></p>
<p><span style="font-weight: 400;">https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/</span></p>
<p><span style="font-weight: 400;">I was lucky enough to have a lot of support at the office. During the time that I was preparing for the exam, I was working on relevant live projects at the office. These were MVC based projects with WEB API and Azure. Working on the project implementation allowed me to consolidate the theoretical concepts from the videos and books. Furthermore, the seniors in the team helped me by sharing their extensive practical experience. </span></p>
<p><b>Taking the exam:</b></p>
<p><span style="font-weight: 400;">You can schedule the C# exam from this link </span><a href="https://www.microsoft.com/en-us/learning/exam-70-483.aspx" rel="nofollow"><span style="font-weight: 400;">https://www.microsoft.com/en-us/learning/exam-70-483.aspx</span></a><span style="font-weight: 400;">. I scheduled my exam at 11:30 AM, on a weekday so I could reach the exam center easily and then go straight to the office. You do also have the option to take the exam from home, but I prefered to go to the Microsoft training center. </span></p>
<p><span style="font-weight: 400;">The C# exam was MCQ based, and the questions ranged from basic to advanced  C#. The majority of the questions were scenario based, and could be flagged and returned to. The exceptions were four problem-based questions which could not be returned to. The exam was not easy, and I believe that some practical experience in C# programming is necessary to pass. I was very pleased to pass the exam on my first attempt.</span></p>
<p><b>Preparing for the MVC Exam</b></p>
<p><span style="font-weight: 400;">I started preparing for the second exam on MVC Web applications the day  after passing the first one. I gave myself 5 months to study for the exam. The resources I used for the Web Applications exam were similar to the resources I used for the C# exam. I relied heavily on the exam reference book </span><i><span style="font-weight: 400;">‘Exam Ref 70-486: Developing ASP.NET MVC 4 Web Applications’</span></i><span style="font-weight: 400;"> to best understand the scope of the exam. Another book I found useful was: ‘</span><i><span style="font-weight: 400;">Pro ASP.NET MVC 5</span></i><span style="font-weight: 400;">’. I also used youtube videos, the microsoft documentation, and various other websites linked below.</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">Links-</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">https://youtube.com/watch?v=-pzwRwYlXMw</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">https://examref.com/MCSD/70-486/1</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/getting-started</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-3.1</span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">https://www.guru99.com/microsoft-azure-tutorial.html</span></p>
<p><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">During the time I was preparing, training was conducted in the office for ASP .Net Core. This was helpful as the syllabus of the MVC exam newly included ASP .Net Core and I had no prior experience with it. Following this training, the project manager encouraged the team to convert a live MVC project to .Net Core. This allowed me to gain valuable hands-on experiences with this new platform. </span></p>
<p><span style="font-weight: 400;">You can schedule the MVC exam using the link: </span><a href="https://www.microsoft.com/en-us/learning/exam-70-486.aspx" rel="nofollow"><span style="font-weight: 400;">https://www.microsoft.com/en-us/learning/exam-70-486.aspx</span></a><span style="font-weight: 400;">. </span></p>
<p><span style="font-weight: 400;">The MVC exam questionnaire starts with a number of questions about a case study, based on a real-world example. The rest of the questions are scenario-based. </span></p>
<p><span style="font-weight: 400;">Although I found the exam very difficult, I was really pleased to pass with a good score on my first attempt, and to finally get the MCSA Certification. After I finished the exam I returned to the office, there was quite a celebration in the office and it made my day!</span></p>
<p><span style="font-weight: 400;">MetaSys has a team of developers working on Microsoft technologies and building dynamic web applications using ASP.NET, ASP.NET CORE and SQL Server. For more info on the kind of projects handled by us </span><a href="https://development.ikf.in/metasys1/case-study-dotnet"><span style="font-weight: 400;">https://development.ikf.in/metasys1/case-study-dotnet</span></a></p>
<p>&nbsp;</p>The post <a href="https://ikfstage.metasyssoftware.com/how-i-cracked-my-mcsa-web-applications-certification-exam/">How I cracked my MCSA Web Applications certification Exam</a> appeared first on <a href="https://ikfstage.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
					<wfw:commentRss>https://ikfstage.metasyssoftware.com/how-i-cracked-my-mcsa-web-applications-certification-exam/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
