<?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 Core 2.0 to 2.1 &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/tag/dot-net-core-2-0-to-2-1/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Wed, 02 Jun 2021 15:18:32 +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>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Dot Net Core 2.0 to 2.1 &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Update Net Core 2.0 Application to 2.1 Version</title>
		<link>https://sibeeshpassion.com/how-to-update-net-core-2-0-application-to-2-1-version/</link>
					<comments>https://sibeeshpassion.com/how-to-update-net-core-2-0-application-to-2-1-version/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sat, 26 May 2018 09:13:30 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Asp.Net Core]]></category>
		<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[.Net Core]]></category>
		<category><![CDATA[Dot Net Core]]></category>
		<category><![CDATA[Dot Net Core 2.0 to 2.1]]></category>
		<category><![CDATA[Dot Net Core 2.0 Vs Dot Net Core 2.1]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=12868</guid>

					<description><![CDATA[[toc] Introduction Many of you might have been developing applications in Net Core 2.0 version, as that was the main release with lots of features. But did you know that the next big release has already happened with some additional features in Net Core journey? Have you already migrated your applications to Dot Net Core 2.1.x version already? If you haven&#8217;t, no worries, here in this post, we are going to cover talk about how we can migrate/update our applications to the new version of Dot Net Core. I hope you will like this article. Background As I said, this [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h2>Introduction</h2>
<p>Many of you might have been developing applications in Net Core 2.0 version, as that was the main release with lots of features. But did you know that the next big release has already happened with some additional features in Net Core journey? Have you already migrated your applications to Dot Net Core 2.1.x version already? If you haven&#8217;t, no worries, here in this post, we are going to cover talk about how we can migrate/update our applications to the new version of Dot Net Core. I hope you will like this article.</p>
<h2>Background</h2>
<p>As I said, this post is only going to cover the steps you may have to take to update your existing Dot Net Core application to 2.1.x. And I will be not be talking about what is Dot net core? And why dot net core is important? etc, if you have those queries in your mind, I strongly recommend you to read the Microsoft document <a href="https://docs.microsoft.com/en-in/dotnet/core/">here</a>.</p>
<p>We will be creating a Dot net Core 2.0 application first, and then we will update the same to 2.1.x version. Sounds good?</p>
<h2>.Net Core 2.0 to 2.1.x</h2>
<h3>Let&#8217;s create a .net core 2.0 application</h3>
<p>As usual open your favorite IDE, Visual Studio 2017, Click on File -&gt; New Project</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Net-Core-2.0.jpg"><img fetchpriority="high" decoding="async" class="alignnone wp-image-12869 size-full" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Net-Core-2.0.jpg" alt="" width="508" height="357" srcset="/wp-content/uploads/2018/05/Net-Core-2.0.jpg 508w, /wp-content/uploads/2018/05/Net-Core-2.0-300x211.jpg 300w, /wp-content/uploads/2018/05/Net-Core-2.0-768x540.jpg 768w, /wp-content/uploads/2018/05/Net-Core-2.0-400x281.jpg 400w, /wp-content/uploads/2018/05/Net-Core-2.0-853x600.jpg 853w" sizes="(max-width: 508px) 100vw, 508px" /></a></p>
<p>As you can see, Asp Net Core version is 2.0.</p>
<p>You can even check the version in your application properties.</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Application-Menu.jpg"><img decoding="async" class="alignnone wp-image-12871" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Application-Menu.jpg" alt="" width="634" height="195" srcset="/wp-content/uploads/2018/05/Application-Menu.jpg 634w, /wp-content/uploads/2018/05/Application-Menu-300x92.jpg 300w, /wp-content/uploads/2018/05/Application-Menu-768x236.jpg 768w, /wp-content/uploads/2018/05/Application-Menu-400x123.jpg 400w" sizes="(max-width: 634px) 100vw, 634px" /></a></p>
<p>Now let&#8217;s run our application and see the output.</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Result-From-NetCore2.0.jpg"><img decoding="async" class="alignnone size-full wp-image-12872" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Result-From-NetCore2.0.jpg" alt="" width="505" height="100" srcset="/wp-content/uploads/2018/05/Result-From-NetCore2.0.jpg 505w, /wp-content/uploads/2018/05/Result-From-NetCore2.0-300x59.jpg 300w, /wp-content/uploads/2018/05/Result-From-NetCore2.0-400x79.jpg 400w" sizes="(max-width: 505px) 100vw, 505px" /></a></p>
<h3>Update Visual Studio 2017 to the latest</h3>
<p>As a first step, to work with Dot net core 2.1 you need to update your IDE. There are a couple of ways you can update your IDE, but the easiest way is to go check the Notifications panel. Let&#8217;s see how to do that.</p>
<p>Go to the View tab and click on Notifications</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Notification-Menu.jpg"><img decoding="async" class="alignnone size-full wp-image-12873" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Notification-Menu.jpg" alt="" width="406" height="433" srcset="/wp-content/uploads/2018/05/Notification-Menu.jpg 335w, /wp-content/uploads/2018/05/Notification-Menu-281x300.jpg 281w, /wp-content/uploads/2018/05/Notification-Menu-400x427.jpg 400w" sizes="(max-width: 406px) 100vw, 406px" /></a></p>
<p>Now you can see all the notifications here as shown in the below image. I always update my Visual Studio whenever there is an update, so you won&#8217;t be able to see that notification here on my panel. If you haven&#8217;t updated, and if you check the Notifications panel, I am sure you will get a link to the update here. You will be able to do further.</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Notification-Panel.jpg"><img decoding="async" class="alignnone size-full wp-image-12874" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Notification-Panel.jpg" alt="" width="373" height="440" srcset="/wp-content/uploads/2018/05/Notification-Panel.jpg 303w, /wp-content/uploads/2018/05/Notification-Panel-254x300.jpg 254w" sizes="(max-width: 373px) 100vw, 373px" /></a></p>
<p>Once you have updated, you can verify your version.</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Visual-Studio-15.7.2-1.jpg"><img decoding="async" class="alignnone wp-image-12876" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Visual-Studio-15.7.2-1.jpg" alt="" width="634" height="381" srcset="/wp-content/uploads/2018/05/Visual-Studio-15.7.2-1.jpg 594w, /wp-content/uploads/2018/05/Visual-Studio-15.7.2-1-300x180.jpg 300w, /wp-content/uploads/2018/05/Visual-Studio-15.7.2-1-768x462.jpg 768w, /wp-content/uploads/2018/05/Visual-Studio-15.7.2-1-400x241.jpg 400w" sizes="(max-width: 634px) 100vw, 634px" /></a></p>
<h3>Install latest Dot Net Core</h3>
<p>Here I am going to download the latest version from <a href="https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.300-preview1">here</a>, however, you can select which version you want from <a href="https://www.microsoft.com/net/download">here</a>.</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Dot-Net-Core-2.1-With-Run-Time.jpg"><img decoding="async" class="alignnone wp-image-12879" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Dot-Net-Core-2.1-With-Run-Time.jpg" alt="" width="634" height="470" srcset="/wp-content/uploads/2018/05/Dot-Net-Core-2.1-With-Run-Time.jpg 482w, /wp-content/uploads/2018/05/Dot-Net-Core-2.1-With-Run-Time-300x222.jpg 300w, /wp-content/uploads/2018/05/Dot-Net-Core-2.1-With-Run-Time-768x569.jpg 768w, /wp-content/uploads/2018/05/Dot-Net-Core-2.1-With-Run-Time-400x296.jpg 400w, /wp-content/uploads/2018/05/Dot-Net-Core-2.1-With-Run-Time-810x600.jpg 810w" sizes="(max-width: 634px) 100vw, 634px" /></a></p>
<p>As you can see that we have installed Dot Net Core SDK, Dot Net Core Runtime, Asp Net Core Runtime, and now you can see that the new version is available for you in Visual Studio 2017.</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Select-Dot-Net-Core-2.1.jpg"><img decoding="async" class="alignnone size-full wp-image-12880" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Select-Dot-Net-Core-2.1.jpg" alt="" width="523" height="290" srcset="/wp-content/uploads/2018/05/Select-Dot-Net-Core-2.1.jpg 523w, /wp-content/uploads/2018/05/Select-Dot-Net-Core-2.1-300x166.jpg 300w, /wp-content/uploads/2018/05/Select-Dot-Net-Core-2.1-400x222.jpg 400w" sizes="(max-width: 523px) 100vw, 523px" /></a></p>
<h3>Changing the Target frameworks</h3>
<p>As the first step, we need to change the Target framework for our application. Here you can select it in the Properties or you can edit the dot(.)csproj file.</p>
<p>Now it is time to change the Microsoft.AspNetCore.All to Microsoft.AspNetCore.App, as with this version Microsoft have reduced the number of dependencies. We always need to install only the needed things right, instead of everything.</p>
<p><a href="https://sibeeshpassion.com/wp-content/uploads/2018/05/Microsoft-NetCore-All-to-NetCore-App.jpg"><img decoding="async" class="alignnone wp-image-12881 size-full" src="https://sibeeshpassion.com/wp-content/uploads/2018/05/Microsoft-NetCore-All-to-NetCore-App-e1527325484490.jpg" alt="" width="634" height="230" /></a></p>
<p>You will always need to change all of your references to the new version. Here I just wanted to show how you can do that. So, look into the packages you have in your application and change it accordingly.</p>
<h2>What is new in Dot(.) Net Core 2.1.x</h2>
<p>The Dot Net Core 2.1.x is a release with some cool new features, I strongly recommend you to read those <a href="https://blogs.msdn.microsoft.com/dotnet/2018/05/07/announcing-net-core-2-1-rc-1/">here.</a></p>
<p>I may write a new post with this features soon.</p>
<h2><span id="conclusion">Conclusion</span></h2>
<p>Thanks a lot for reading. Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>
<h2><span id="your-turn-what-do-you-think">Your turn. What do you think?</span></h2>
<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/how-to-update-net-core-2-0-application-to-2-1-version/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
