<?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>dot net &gt; Metasys Software Pvt Ltd.</title>
	<atom:link href="https://www.metasyssoftware.com/tag/dot-net/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.metasyssoftware.com</link>
	<description>Unique People, Unique Solutions</description>
	<lastBuildDate>Wed, 30 Apr 2025 10:39:12 +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>dot net &gt; Metasys Software Pvt Ltd.</title>
	<link>https://www.metasyssoftware.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Using MailKit to Send Email Notifications in .Net Core</title>
		<link>https://www.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[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[dotnetcore application development services]]></category>
		<category><![CDATA[.Net Core]]></category>
		<category><![CDATA[dot net development services]]></category>
		<category><![CDATA[MailKit]]></category>
		<category><![CDATA[DotNet]]></category>
		<category><![CDATA[DotNet Development Company]]></category>
		<guid isPermaLink="false">https://www.metasyssoftware.com/?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 [&#8230;]</p>
The post <a href="https://www.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://www.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://www.metasyssoftware.com/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://www.metasyssoftware.com/wp-content/uploads/2023/04/email-notifications-1.jpg" alt="SMTP Client Class" /></p>
<p><img decoding="async" src="https://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/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://www.metasyssoftware.com/">MetaSys Software</a>, the top <a href="https://www.metasyssoftware.com/technologies/dot-net-solutions/">DotNet development company</a>, to build powerful and reliable software solutions that will drive your success. <a href="https://www.metasyssoftware.com/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://www.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://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>.NET evolution</title>
		<link>https://www.metasyssoftware.com/microsoft-technologies/net-evolution/</link>
					<comments>https://www.metasyssoftware.com/microsoft-technologies/net-evolution/#respond</comments>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Thu, 09 Mar 2017 05:26:43 +0000</pubDate>
				<category><![CDATA[Microsoft Technologies]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net web applications]]></category>
		<category><![CDATA[dot net]]></category>
		<category><![CDATA[Agile development]]></category>
		<category><![CDATA[dot net services in india]]></category>
		<category><![CDATA[dotnet software services india]]></category>
		<guid isPermaLink="false">https://metasyssoftwareblog.wordpress.com/?p=48</guid>

					<description><![CDATA[<p>Microsoft began developing the dot net framework in the 1990’s and launched the first beta version in 2000. Since then, [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/microsoft-technologies/net-evolution/">.NET evolution</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<p>Microsoft began developing the dot net framework in the 1990’s and launched the first beta version in 2000. Since then, there has been no looking back. Almost 12 versions of.Net framework have been launched till now. Organizations which are looking for enterprise software solutions rely upon.NET framework. Recently, Microsoft celebrated the completion of 15 years since.NET was introduced.</p>
<p>Initially, dot net was known as NGWS (Next Generation Windows Services). Since 2000, different versions of this technology were launched, the latest being version 4.6.2. This latest version was launched just last year in the month of August. Each version carries betas, and service packs so as to provide more value to the users. In the entire 15 years, developers experienced an object oriented programming environment and freedom to develop desktop as well as web applications. Many of the languages that run on.NET framework are simple, secure and object oriented.</p>
<p>Over the past 15 years, this technology has evolved to fulfill the requirements of a dynamic online environment. The ASP.NET framework has helped in building many dynamic websites and applications catering to different industry verticals. Complex applications such as hotel reservation system, a billing system in shopping malls are built easily with the ASP.NET framework. It has enabled customized content building for users, thus increasing the relevancy factor of the web page. It has helped the users in accessing any data with ease. The .Net zone has now increased more than tenfold since it was launched.</p>
<p>The data below will give you a clear picture of where.NET technology stands today vis-à-vis some other players in the market. (Source: <a href="https://w3techs.com/" target="_blank" rel="noopener nofollow noreferrer">W3techs)</a></p>
<ol class="blog-531">
<li>As per a recent study, 15% of websites today use ASP.NET technology in which a whopping 80% are using version 4, followed by version 2.</li>
<li>Java and ColdFusion are the most preferred technology for high traffic sites followed by ASP.NET.</li>
<li>.Net domain names have got a wide presence. It is presently used in more than 200 countries.</li>
</ol>
<p>We at MetaSys Software have a long history of experience with building.<a href="https://www.metasyssoftware.com/dot-net" target="_blank" rel="noopener noreferrer">Net applications</a> since last 15 years.Our expertise lies in different technological platforms such as.NET &amp; ASP.NET Framework (2.0 – 4.5), JavaScript, jQuery, Microsoft SQL Server. If you wish to leverage ASP.Net development capability then please feel free to <a href="https://www.metasyssoftware.com/contact/" target="_blank" rel="noopener noreferrer">contact us</a>.</p>The post <a href="https://www.metasyssoftware.com/microsoft-technologies/net-evolution/">.NET evolution</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.metasyssoftware.com/microsoft-technologies/net-evolution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
