<?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>ASP.NET Development Archives - Zobi Web Solutions Private Limited</title>
	<atom:link href="https://www.zobiwebsolutions.com/category/asp-net-development/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Tue, 20 May 2025 09:53:11 +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.zobiwebsolutions.com/wp-content/uploads/2018/10/cropped-icon-1-32x32.png</url>
	<title>ASP.NET Development Archives - Zobi Web Solutions Private Limited</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What&#8217;s New in .NET 8? New Features and How They Can Transform Your Development</title>
		<link>https://www.zobiwebsolutions.com/whats-new-in-net-8-new-features-and-how-they-can-transform-your-development/</link>
					<comments>https://www.zobiwebsolutions.com/whats-new-in-net-8-new-features-and-how-they-can-transform-your-development/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 27 Sep 2024 12:11:18 +0000</pubDate>
				<category><![CDATA[ASP.NET Development]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=18031</guid>

					<description><![CDATA[<p>Every .NET professional is aware of the new update. Some may not know the exact changes released in the new .NET 8. But this time, .NET proves why it is the best option for creating reliable web applications. .NET 8, scheduled for release in November 2023, marks many enhancements. The next long-term support (LTS) version &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/whats-new-in-net-8-new-features-and-how-they-can-transform-your-development/" class="more-link">Continue reading<span class="screen-reader-text"> "What&#8217;s New in .NET 8? New Features and How They Can Transform Your Development"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/whats-new-in-net-8-new-features-and-how-they-can-transform-your-development/">What&#8217;s New in .NET 8? New Features and How They Can Transform Your Development</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-18038" src="https://www.zobiwebsolutions.com/wp-content/uploads/2024/09/what-is-new-in-dot-net8-new-features-and-how-they-can-transform-your-development.jpg" alt="What's New in .NET 8? New Features and How They Can Transform Your Development" width="845" height="400" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2024/09/what-is-new-in-dot-net8-new-features-and-how-they-can-transform-your-development.jpg 845w, https://www.zobiwebsolutions.com/wp-content/uploads/2024/09/what-is-new-in-dot-net8-new-features-and-how-they-can-transform-your-development-300x142.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2024/09/what-is-new-in-dot-net8-new-features-and-how-they-can-transform-your-development-768x364.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>Every .NET professional is aware of the new update. Some may not know the exact changes released in the new .NET 8. But this time, .NET proves why it is the best option for creating reliable web applications. .NET 8, scheduled for release in November 2023, marks many enhancements. The next long-term support (LTS) version of the framework. With each iteration, .NET pushes to be more advanced in performance, productivity, and security, and .NET 8 is no exception.<span id="more-18031"></span></p>
<p>This .NET new features release comes with several improvements designed to make .NET developers&#8217; lives easier while boosting productivity and offering a more seamless experience. From enhanced <a href="https://www.zobiwebsolutions.com/microsoft-blazor-development-company/">Blazor development</a> capabilities to significant strides in DevOps and observability, the new features in .NET 8 are poised to transform the way developers build .NET applications, deploy, and maintain .NET applications.</p>
<p>Early reactions from .NET professionals have been overwhelmingly positive. Developers highlight the impact of these features on the efficiency of enterprise-level applications. Many believe .NET 8 will offer a more robust toolset for modern app development, giving them the ability to ship faster and ensure long-term stability.</p>
<h2>New Features and How They Can Transform Your Development</h2>
<h3>1. The New .NET Long-Term Support (LTS) Release</h3>
<p>The LTS release means that developers using .NET 8 will receive three years of support, including fixes, updates, and security patches. This ensures that businesses relying on .NET for critical applications can enjoy long-term stability and security with no immediate need for frequent updates. This version will be particularly valuable for large enterprises looking for a stable and dependable framework to support their business processes.</p>
<p>The LTS designation also signals that Microsoft views .NET 8 as a milestone release, packed with features that will be foundational for years to come. This gives developers confidence that the effort they put into upgrading their applications will pay off over an extended period.</p>
<h3>2. Blazor Update: Enhanced Web Development</h3>
<p>Blazor has been a standout feature since its introduction, allowing developers to build interactive web applications using C# instead of JavaScript. With .NET 8, Blazor takes a significant leap forward.</p>
<p>The key updates include improved performance, better component rendering, and expanded Hybrid Blazor functionality, which allows developers to build cross-platform apps with a shared codebase across web and desktop. The ability to combine server-side Blazor and client-side Blazor in a single application increases development flexibility. This makes .NET 8 a compelling option for developers looking to streamline their application-building processes while maintaining high-performance standards.</p>
<p>This update further strengthens Blazor’s position as a viable alternative to JavaScript-based frameworks, helping developers leverage their C# skills across more platforms.</p>
<h3>3. System.Text.Json Serialization and Deserialization</h3>
<p>Serialization and deserialization are critical to the efficient transfer of data in web applications. In .NET 8, System. Text. JSON gets a major performance boost. Microsoft has focused on minimizing memory usage and optimizing the serialization of large and complex data types.</p>
<p>.NET 8 introduces source generators for serialization, which help developers generate serialization code at compile time. This results in better runtime performance, especially for large applications. With these enhancements, developers can expect faster and more reliable data exchanges in their apps, leading to improved user experiences.</p>
<h3>4. Built-in Support for Additional Types</h3>
<p>.NET 8 now comes with integrated support for data types, which helps lessen reliance on libraries and manual solutions. The introduction of DateOnly and TimeOnly alongside reference types streamlines the handling of intricate data in present-day applications. This enhancement enhances the type safety of applications by minimizing the likelihood of errors and bugs resulting from type handling.</p>
<p>.NET 8 promotes developers to create more effective code by enhancing its built-in support and streamlining the management of libraries.</p>
<h3>5. DevOps Improvements</h3>
<p>One of the core focuses of .NET 8 is making it easier to integrate with modern DevOps pipelines. This release introduces new tools and APIs for better CI/CD integration. Microsoft has enhanced the interaction between .NET applications and popular DevOps tools like GitHub Actions and Azure DevOps, streamlining the deployment process and making automation more seamless.</p>
<p>By focusing on containers and cloud-native development practices, .NET 8 helps developers reduce the time spent on manual deployment processes, improve app resilience, and ensure smoother production releases. The result is a more agile and DevOps-friendly environment for managing application lifecycles.</p>
<h3>6. Improved Diagnostics and Observability</h3>
<p>With .NET 8, developers can better track performance bottlenecks and monitor system health thanks to enhanced diagnostic tools. These improvements include:</p>
<ul>
<li><b>Extended telemetry support</b></li>
<li>Enhanced EventPipe for low-overhead diagnostics</li>
<li>Better integration with OpenTelemetry for distributed tracing and monitoring</li>
</ul>
<p>These tools help developers gain deeper insights into how their applications behave in real-time. They also make it easier to identify issues in production environments, reducing downtime and improving application reliability. The focus on observability empowers teams to maintain better control over their applications’ performance, leading to faster troubleshooting and more efficient operations.</p>
<h2>.NET 8 vs. .NET 7: What&#8217;s Different?</h2>
<h3>LTS (Long-Term Support)</h3>
<ul>
<li>NET 8: Offers long-term support (LTS) with three years of updates, fixes, and patches.</li>
<li>.NET 7: A standard-term release with only 18 months of support, requiring quicker upgrades for ongoing updates.</li>
</ul>
<h3>Blazor Enhancements</h3>
<ul>
<li>.NET 8: Brings Hybrid Blazor to enable cross-platform app development, along with significant performance improvements and better component rendering.</li>
<li>.NET 7: Provided Blazor updates but lacked the hybrid capabilities and performance improvements seen in .NET 8.</li>
</ul>
<h2>How .NET 8 Improves DevOps and Monitoring</h2>
<p>.NET 8 has enhanced DevOps workflows by integrating built-in container support and closer connections with cloud platforms to make deployment across environments easier for developers using services like Azure Kubernetes Service (AKS).</p>
<p>When it comes to keeping an eye on things, in .NET 8, there&#8217;s logging in place along with distributed tracing and metrics gathering to help teams keep track of the health of their applications across systems. These enhancements contribute to incident handling and improved performance of the system.</p>
<h2>What&#8217;s New in .NET 8 for Developers?</h2>
<p>Developers see .NET 8 as a step in terms of flexibility and performance, along with scalability improvements too! The added cross-platform development support is a game changer with serialization features and an improved DevOps pipeline that makes delivering applications easier, with reduced manual workloads.</p>
<p>The enhancements made to Blazor and System. Text. JSON, alongside the tools, will revolutionize the approach developers take in crafting and managing their code projects; additionally, the focus on LTS promises stability for long-term project maintenance.</p>
<h2>Final Thoughts from .NET Professionals</h2>
<p>Many <a href="https://www.zobiwebsolutions.com/asp-net-development-company/">.NET experts</a> are excited about the potential of .NET 8 to transform enterprise application development. In particular, developers appreciate the expanded Blazor capabilities, the DevOps improvements, and the enhanced diagnostic tools that make production monitoring more effective.</p>
<p>Overall, .NET 8 is poised to become a cornerstone of modern software development. By offering a more developer-friendly, high-performance framework with long-term support, this release stands to boost productivity and deliver tangible benefits to development teams worldwide.</p>
<p>The post <a href="https://www.zobiwebsolutions.com/whats-new-in-net-8-new-features-and-how-they-can-transform-your-development/">What&#8217;s New in .NET 8? New Features and How They Can Transform Your Development</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.zobiwebsolutions.com/whats-new-in-net-8-new-features-and-how-they-can-transform-your-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Why use ASP.NET for the web app development?</title>
		<link>https://www.zobiwebsolutions.com/why-use-asp-net-for-web-app-development/</link>
					<comments>https://www.zobiwebsolutions.com/why-use-asp-net-for-web-app-development/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 07 Sep 2020 10:54:16 +0000</pubDate>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET Development]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web App Development]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=4574</guid>

					<description><![CDATA[<p>In the Web and Application Development world, we can find many frameworks and development languages that programmers could choose from. Every framework has its own different sets of features and benefits that separate them. Today, we are going to discuss ASP.NET and ASP.NET Core to understand what benefits we can get out of using it. &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/why-use-asp-net-for-web-app-development/" class="more-link">Continue reading<span class="screen-reader-text"> "Why use ASP.NET for the web app development?"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/why-use-asp-net-for-web-app-development/">Why use ASP.NET for the web app development?</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-4583" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/09/why-use-ASP.NET-for-web-app-development.jpg" alt="why-use-ASP.NET-for-web-app-development" width="1000" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/09/why-use-ASP.NET-for-web-app-development.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/09/why-use-ASP.NET-for-web-app-development-300x135.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/09/why-use-ASP.NET-for-web-app-development-768x346.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>In the Web and Application Development world, we can find many frameworks and development languages that programmers could choose from. Every framework has its own different sets of features and benefits that separate them. Today, we are going to discuss ASP.NET and ASP.NET Core to understand what benefits we can get out of using it.</p>
<p><span id="more-4574"></span></p>
<h4>ASP.NET</h4>
<p>ASP.NET is an Open Source, Server-Side Web Application framework developed by Microsoft. It was launched in the early 2000s and it runs on the Windows platform. ASP.NET helps with the development of Web Applications, Web Services, and Dynamic Websites.</p>
<h4>ASP.NET Core</h4>
<p>ASP.NET Core is the latest version of ASP.NET which is platform-independent. This means it can run on every major platform such as Linux, MacOS, and Windows. ASP.NET Core was launched in 2016 and it is also an open-source developed by Microsoft and helps with the development of Web Applications, Web Services, and Dynamic Websites.</p>
<h3>Why ASP.NET?</h3>
<ol class="order-list-content">
<li><strong>All in Itself:</strong> ASP.NET is a basic implementation of the .NET Framework for development of the Web Services and Websites. We can create any number of projects and can run on the same server. Most of the major companies are having their system running on ASP.NET for better control.</li>
<li><strong>Individual and Enterprise:</strong> ASP.NET has something included for everyone for the individuals as well as the companies. For Small businesses, we can always use Web Pages to develop and as the business grows, ASP.NET allows us to use the MVC model which helps in the development of Web Application. We can easily edit Models, Views, and Controllers to change the content of Application.</li>
<li><strong>Security:</strong> ASP.NET is a more secure framework than many of its competitors. ASP.NET has its own methods which make it better and secure. SQL Injection can be prevented using the SqlParameters, that allow us to minimize the injection.<br />
ASP.NET has security namespace which is used to define methods that can be used to protect the system.</li>
<li><strong>Less Code, More Features:</strong> ASP.NET allows us to write fewer lines of codes and has many more functions, like JQuery in Javascript.</li>
<li><strong>Community:</strong> In case of bottlenecks faced during development, there are many established communities of developers who are readily available to help out on various portals such as Stack Overflow, Social MSDB Forums, Code Project, etc.</li>
</ol>
<h3>Conclusion</h3>
<p>We have shared a few of the important details necessary to influence your choice for Web development Strategy but it is definitely not everything. There are many more benefits to identify before selecting the right technology. Before that, it is important to outline and define the scope of work. Once the outline is ready it becomes easier to identify the right technology. Another best decision is to consult our team at <a href="https://www.zobiwebsolutions.com/" target="_blank" rel="noopener noreferrer">Zobi Web Solutions</a> which is exclusively working on <a href="https://www.zobiwebsolutions.com/asp-dot-net-development/" target="_blank" rel="noopener noreferrer">ASP.NET development</a> to assist you with decision making.</p>
<p>For further questions, feel free to connect us!!!</p>
<p>The post <a href="https://www.zobiwebsolutions.com/why-use-asp-net-for-web-app-development/">Why use ASP.NET for the web app development?</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.zobiwebsolutions.com/why-use-asp-net-for-web-app-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Build cross platform .NET Core apps</title>
		<link>https://www.zobiwebsolutions.com/build-cross-platform-net-core-apps/</link>
					<comments>https://www.zobiwebsolutions.com/build-cross-platform-net-core-apps/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 18 Jun 2020 05:21:42 +0000</pubDate>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET Development]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web App Development]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=4441</guid>

					<description><![CDATA[<p>The main reason to use .NET core is that you can run it on multiple platforms and architectures. That&#8217;s why you can build an application that can be run on Windows, MacOS, Linux, and other different operating systems and architectures. In this article, you will learn about many reasons for using the .NET Core. In &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/build-cross-platform-net-core-apps/" class="more-link">Continue reading<span class="screen-reader-text"> "Build cross platform .NET Core apps"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/build-cross-platform-net-core-apps/">Build cross platform .NET Core apps</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-5143" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Built-cross-platform-dotnet-core-app.jpg" alt="Tips to built cross platform ASP.NET Core Application" width="845" height="400" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Built-cross-platform-dotnet-core-app.jpg 845w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Built-cross-platform-dotnet-core-app-300x142.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Built-cross-platform-dotnet-core-app-768x364.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>The main reason to use .NET core is that you can run it on multiple platforms and architectures. That&#8217;s why you can build an application that can be run on Windows, MacOS, Linux, and other different operating systems and architectures.<span id="more-4441"></span></p>
<p>In this article, you will learn about many reasons for using the .NET Core. In this article, we will show you to create a simple .NET Core application that that&#8217;s able to run on multiple operating systems. To work with the demo as this article you should run your computer on Windows 10 operating system you have to install Visual Studio 2017 and .NET Core 2 SDK.</p>
<p>Additionally, if you want to run your app on MacOS you will need access to running MacOS 10.12 or any latest version.</p>
<h3><strong>.NET Core App Deployment Options</strong></h3>
<p>You can deploy <a href="https://www.zobiwebsolutions.com/asp-dot-net-core/" target="_blank" rel="noopener noreferrer">.NET Core applications</a> as framework-dependent applications and also as self-contained applications. There are mainly two deployment models and there are some differences between them.</p>
<h4>Framework dependent applications :</h4>
<p>It is essential to install the .NET Core framework in the system that can run the app.</p>
<p>Framework dependent application can run on any operating system on which you install .NET Core without any modifications.</p>
<h4>Self-Contained applications :</h4>
<p>Self-Contained applications do not need to install any .NET Core framework because it contains everything that the app needs to run.</p>
<p>For every operating system that you want a self-contained app to run on, you have to publish an Operating System specific version.</p>
<h4>How to Create Application for multiple Operating System</h4>
<p>Now, after knowing the two different deployment options, let&#8217;s explore to use those options to run a .NET Core application on multiple operating systems. We explain you about to create a demo .NET Core applications and run that on Windows and Mac Operating System.</p>
<p>We will create the .NET Core application using Visual Studio 2017. This is technically not essential as you can create .NET Core applications with different IDE and command line. Choose any of one from both of them that you are comfortable most.</p>
<h4>Framework Dependent Application</h4>
<p>First, we will create a framework dependent app. We do this in <a href="https://visualstudio.microsoft.com/" target="_blank" rel="noopener noreferrer">Visual Studio</a> 2017 with the version 15.5.2.</p>
<h4>So, you can follow the following steps.</h4>
<p>1) <strong>In visual studio -&gt; Click File -&gt; New Project -&gt; .NET Core.</strong><br />
Then select the console app and create it.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5144" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Create-new-dotnet-core-project.jpg" alt="Create new dotnet core project" width="845" height="239" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Create-new-dotnet-core-project.jpg 845w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Create-new-dotnet-core-project-300x85.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Create-new-dotnet-core-project-768x217.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>2) Navigate to program.cs and it will let you write <strong>&#8220;Hello World!&#8221;</strong>.<br />
<strong>Add Console.RedLine();</strong> below the &#8220;Hello&#8221; line to keep open the console window at the time of running of the application.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5145" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Run-dotnet-core-application.jpg" alt="Run dotnet core application" width="845" height="377" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Run-dotnet-core-application.jpg 845w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Run-dotnet-core-application-300x134.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/06/Run-dotnet-core-application-768x343.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<h4>Self Contained Application</h4>
<p>In this step, we will contain the application. This is similar to create a framework dependent app but with one extra step.</p>
<h4>For that, you can follow the following steps.</h4>
<p>1) <strong>In visual studio -&gt; Click File -&gt; New Project -&gt; .NET Core.</strong><br />
Then select the console app and create it.</p>
<p>2) Navigate to program.cs and it will let you write &#8220;<strong>Hello World!</strong>&#8220;.<br />
<strong>Add Console.RedLine();</strong> below the &#8220;Hello&#8221; line to keep open the console window at the time of running of the application.</p>
<p>3) Now for the extra step to make this in a self-contained app right-click on the project file and click on the &#8220;End Project&#8221;.</p>
<p>Now in the project file add a line as per following in &lt;propertyGroup&gt;</p>
<p><strong><em>&lt;RintimeIdentifiers&gt;win10-x64&lt;/RintimeIdentifiers&gt;</em></strong></p>
<p>This will tells .NET Core which runtimes it can be built and published to create self-contained apps. Like this, the application can only be published for Windows 10.</p>
<h4>Running the Application on Windows and MacOS</h4>
<p>Now, after this, we have two .NET Core applications, we need to publish them, as you would do in production, to get a release build. We can follow the same steps for Windows applications.</p>
<ul class="blog_inside_bullets">
<li>Right Click on Project File in Visual Studio and click on Publish.</li>
<li>Then you can pick a folder and click publish.</li>
<li>Do the same for the Self-contained app.</li>
</ul>
<h4>Publishing for Run on MacOS</h4>
<p>We should not do anything special steps to running the app on MacOS. We can just use the previous steps. If you need the self-contained app to run on anything then you need to perform some additional steps.</p>
<ul class="blog_inside_bullets">
<li>Right Click on PROJECT File of a self-contained app in visual studio and click on Edit Project to edit the project file.</li>
<li>Now add a new RuntimeIdentifiers to the file and save it as follows.</li>
</ul>
<p><em>&lt;RuntimeIdentifiers&gt;win10-x64;osx.10.12-x64&lt;RuntimeIdentifiers&gt;</em></p>
<ul class="blog_inside_bullets">
<li>Now right-click on Project file and click Publish.</li>
<li>Click on a setting link In a publish overview.</li>
<li>This will opens a profile setting popup, you make sure that you have selected the target runtime osx.10.12-x64.</li>
<li>Change the target location to another folder so you can differentiate between the published results for Windows and MacOS.</li>
<li>Click on Save and then click on Publish.</li>
</ul>
<h4>Running the Application on Windows</h4>
<p>Now, you have the following publish results.</p>
<p>Results for the Framework Dependent App.</p>
<p>Results for self-contained App for windows and MacOS.</p>
<p><strong>Let&#8217;s run the Framework Dependent Application on Windows Operating System.</strong></p>
<ul class="blog_inside_bullets">
<li>Open Windows Explorer.</li>
<li>Navigate to the folder that contains the published results for the framework dependent app.</li>
<li>Now go to the navigation bar and type &#8220;cmd&#8221; before the path and press enter. This will opens command prompt with the context of a folder. And make sure that this will only work with windows 10.</li>
<li>Now type dotnetFrameworkDependentApp.dll.</li>
<li>Now you will see &#8220;Hello World!&#8221; on command prompt window as an output.</li>
</ul>
<p>Now, we are going to run a self-contained app. This is easy because it contains all the necessary things that need to run the application. This is the means that it has a packaged that app and .NET Core and an exe file that you need to run.</p>
<ul class="blog_inside_bullets">
<li>Navigate to the folder with publishing results for the self-contained application for windows.</li>
<li>Double-click the SelfContainedApp.exe.</li>
<li>The app runs and shows &#8220;Hello World!&#8221; in a command window.</li>
</ul>
<h4>Running the Application on MacOS</h4>
<p>The process to run the app on MacOS is very similar to Windows. Let&#8217;s show the steps for running an app on MacOS.</p>
<h4>Framework Dependent App run on MacOS</h4>
<ul class="blog_inside_bullets">
<li>First, you need to install .NET Core framework dependent app on MacOS. You do not need to install SDK, you need the only runtime.</li>
<li>Now, open the terminal window.</li>
<li>In the terminal window, navigate to the folder which contains framework dependent app files.</li>
<li>Then Type dotnetFrameworkDependentApp.dll in the Terminal Window and press the enter.</li>
<li>Now, this app will run and show &#8220;Hello&#8221; on the terminal screen.</li>
</ul>
<h4>Self-contained App run on MacOS</h4>
<p>Execute the following steps to run self-contained app on MacOS.</p>
<ul class="blog_inside_bullets">
<li>First open a terminal window.</li>
<li>In the terminal window, navigate to the folder that contains self-contained app files.</li>
<li>Then type sudo chmod + x selfcontainedapp and press enter.</li>
<li>Type in password of your admin account and press enter to grant permission to run the app.</li>
<li>Now type in open selfcontainedapp and press enter.</li>
<li>Now the app will run and shows &#8220;Hello&#8221; in the new terminal window.</li>
</ul>
<p>Like this, you can make and run .NET Core App on different Operating Systems.</p>
<h3>Conclusion</h3>
<p>One of the main <a href="https://www.zobiwebsolutions.com/blog/asp-net-core-features/" target="_blank" rel="noopener noreferrer">advantages of .NET Core</a> is that you can use it to run an application on multiple platforms. It is very simple to create a framework dependent application that can run on multiple platforms. In order to run, It only needs .Net Core runtime to be installed. If you are a .NET developers or an <a href="https://www.zobiwebsolutions.com/asp-dot-net-development/" target="_blank" rel="noopener noreferrer">ASP.NET Development Company</a> then you need to know about to build cross-platform .NET Core apps.</p>
<p>The post <a href="https://www.zobiwebsolutions.com/build-cross-platform-net-core-apps/">Build cross platform .NET Core apps</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.zobiwebsolutions.com/build-cross-platform-net-core-apps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
