<?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>Microsoft Blazor Archives - Zobi Web Solutions Private Limited</title>
	<atom:link href="https://www.zobiwebsolutions.com/category/microsoft-blazor/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Tue, 30 Jun 2026 12:13:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://www.zobiwebsolutions.com/wp-content/uploads/2018/10/cropped-icon-1-32x32.png</url>
	<title>Microsoft Blazor Archives - Zobi Web Solutions Private Limited</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Why Blazor is next big thing in the web app development?</title>
		<link>https://www.zobiwebsolutions.com/why-blazor-is-next-big-thing-in-web-app-development/</link>
					<comments>https://www.zobiwebsolutions.com/why-blazor-is-next-big-thing-in-web-app-development/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 16 Dec 2020 08:08:24 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Microsoft Blazor]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web App Development]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=4665</guid>

					<description><![CDATA[<p>Introduction As most of the decision-makers and the technical person knows, Web App Development has been a tough task altogether especially in the last decade, the complexity has increased manifolds. With each complexity, developers are exploring their ways to adapt new ways to solve the problem and adapt to new realities with more vigour. One &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/why-blazor-is-next-big-thing-in-web-app-development/" class="more-link">Continue reading<span class="screen-reader-text"> "Why Blazor is next big thing in the web app development?"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/why-blazor-is-next-big-thing-in-web-app-development/">Why Blazor is next big thing in 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 fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4675" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/12/Blog-Content-Why-Blazor-is-next-big-thing-in-Web-Development-image.jpg" alt="Blog-Content-Why-Blazor-is-next-big-thing-in-Web-Development-image" width="845" height="400" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/12/Blog-Content-Why-Blazor-is-next-big-thing-in-Web-Development-image.jpg 845w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/12/Blog-Content-Why-Blazor-is-next-big-thing-in-Web-Development-image-300x142.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/12/Blog-Content-Why-Blazor-is-next-big-thing-in-Web-Development-image-768x364.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<h4>Introduction</h4>
<p>As most of the decision-makers and the technical person knows, <a href="https://www.zobiwebsolutions.com/web-development/" target="_blank" rel="noopener noreferrer">Web App Development</a> has been a tough task altogether especially in the last decade, the complexity has increased manifolds. With each complexity, developers are exploring their ways to adapt new ways to solve the problem and adapt to new realities with more vigour. One of such advents has been that the Web App Front-End Development has by default adapted to JavaScript frameworks as a permanent solution to every problem associated with it.<span id="more-4665"></span></p>
<p>Like every technological solution, JavaScript frameworks have their own advantages and disadvantages. Few advantages are that there are comprehensive frameworks, packages, and tools with a varied and very powerful ecosystem with a variety of options. Similarly, all frameworks share a few common issues. Most of the developers concur to the understanding that JavaScript is a great tool from a Client and Businesses perspective but from the development point of view, it is very complex and the learning curve is very steep.</p>
<p>Addressing the challenges faced in JavaScript, Microsoft came up with a Framework that is not only powerful but productive too. Microsoft has developed Blazor, which is a new Web Framework for building interactive Web Application. It allows .NET developers to build advanced Web Applications.</p>
<p>Blazor leverages .NET Core’s structure for common practices and patterns. Blazor also uses .NET Core’s ability to run anywhere by supporting the Client-Side and Server-Side Hosting Model.</p>
<h4>Works on Both Client and Server Side</h4>
<p>In the initial stages, Blazor started off only as a Client-side Single Page Application (SPA) framework. The initial goal was to run .NET Applications in the Browser using Web Assembly and Razor. However, during the development course, the team decided to add a Server-side Hosting Model to Blazor. This allowed developers to write their codes independent of the Hosting Model. This way the only instance when code is identified as Client-Side or Server-Side is when data is fetched.</p>
<h4>Benefits of Blazor</h4>
<ul class="blog_inside_bullets">
<li>Blazor allows compilation of Static Files. We do not need a .NET Runtime environment on the Server.</li>
<li>From Server Side to the Client Side, the work is offloaded.</li>
<li>Blazor Apps can be run in an Offline state.</li>
<li>Codesharing and Objects of C# can be shared between Client and Server fairly easily.</li>
</ul>
<h4>Where is it used?</h4>
<p>The Blazor Framework or specifically Blazor WebAssembly has been built to be a competitor to JavaScript Frameworks. So, anywhere that someone is trying to use JavaScript Frameworks can consider Blazor as an ideal option.</p>
<p>One of the most important things to note is that Blazor WebAssembly doesn’t require us to have .NET on the Server. If we are having a backend written in any other technology such as PHP, ROR, Node, etc…we can still use Blazor as the Frontend. The WebAssembly would compile static files.</p>
<h4>Hype</h4>
<p>Microsoft has clearly focused on long term aspects and planning to gain the market share back. Considering that there has been enormous speculation around the barrier for entry to .NET and with so many choices the new developers to the platform have to undergo, <a href="https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor" target="_blank" rel="noopener noreferrer">Blazor Framework</a> would offer the much-needed clarity when it comes to effective UI, Single Programming Model, learn once apply anywhere, etc… Considering this, all the hype about being the next big thing in Programming and Development around Blazor is not misplaced at all.</p>
<h4>Conclusion</h4>
<p><a href="https://www.zobiwebsolutions.com/" target="_blank" rel="noopener noreferrer">Zobi Web Solutions</a> is a place where we not only focus on effective services but adapting to newer technologies and frameworks as fast as possible. We being in .NET development since our inception, it becomes inevitable for us to adapt to Blazor if we have to compete amongst the best, and considering this, we have already trained our team and have started offering services. Our developers are capable to adapt to new technologies quickly. We Offer Blazor Development Consultation, Guidance, and <a href="https://www.zobiwebsolutions.com/blazor/" target="_blank" rel="noopener noreferrer">Blazor Development Services</a>. We have customers from the USA, UK, Canada, and Europe already using our services. We develop secure and scalable Applications. We provide a one-stop solution to all your needs</p>
<p>The post <a href="https://www.zobiwebsolutions.com/why-blazor-is-next-big-thing-in-web-app-development/">Why Blazor is next big thing in 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-blazor-is-next-big-thing-in-web-app-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Getting started with Blazor</title>
		<link>https://www.zobiwebsolutions.com/getting-started-with-blazor/</link>
					<comments>https://www.zobiwebsolutions.com/getting-started-with-blazor/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 07 Feb 2020 08:11:34 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Microsoft Blazor]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=3765</guid>

					<description><![CDATA[<p>Here we can get a brief understanding of the practical demo of Blazor. How can we get started with Blazor and which SDK, packages, and extension are required to install Blazor tools and support As we know that Blazor is developed by Microsoft so when Blazor was introduced at that time it&#8217;s an experimental framework &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/getting-started-with-blazor/" class="more-link">Continue reading<span class="screen-reader-text"> "Getting started with Blazor"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/getting-started-with-blazor/">Getting started with Blazor</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img decoding="async" class="alignnone size-full wp-image-5090" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Getting-Started-With-Blazor.jpg" alt="Getting Started With Microsoft Blazor" width="768" height="346" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Getting-Started-With-Blazor.jpg 768w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Getting-Started-With-Blazor-300x135.jpg 300w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></h3>
<p>Here we can get a brief understanding of the practical demo of Blazor. How can we get started with Blazor and which SDK, packages, and extension are required to install<span id="more-3765"></span></p>
<h3><span style="font-size: 1.125rem;">Blazor tools and support</span></h3>
<p>As we know that Blazor is developed by Microsoft so when Blazor was introduced at that time it&#8217;s an experimental framework for .Net single page application. which is run on the browser. Microsoft is committed to mold as a supported web UI framework. The Blazor is supported on Linux, Mac OS, and Windows, and it is introduced by Microsoft as a feature of Asp.Net the company’s flagship for web development. Asp.Net Core pipeline has included the Blazor into them official rollout</p>
<p>Now, we follow the given step to setup the Blazor project.</p>
<h6><strong>Step 1.</strong></h6>
<p>First, of all, we need to Install the latest Blazor extension from the Visual Studio Marketplace. By this step, the Blazor templates are available to Visual Studio.</p>
<p>(https://marketplace.visualstudio.com/items?itemName=aspnet.blazor)</p>
<p><img decoding="async" class="alignnone size-full wp-image-5094" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Install-Microsoft-Blazor.jpg" alt="Install Microsoft Blazor" width="679" height="221" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Install-Microsoft-Blazor.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Install-Microsoft-Blazor-300x98.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<p>After installing the Blazor extension, check the following list is installed.</p>
<p>1. Check that the latest   <a href="https://dotnet.microsoft.com/download/dotnet-core/3.0">.NET Core 3.0 Preview 4 SDK</a> (3.0.100-preview4-011223) is installed</p>
<p>2. <a href="https://visualstudio.com/preview">Visual Studio 2019</a> (Preview 4 or later) with the <em>ASP.NET and web development</em> workload selected.</p>
<h6><strong>Step 2.</strong></h6>
<p>By following the guidelines, we can add our chosen tools.</p>
<h6>1.  Create a new project.</h6>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5096" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Create-New-Blazor-Project.jpg" alt="Create new Project for Microsoft Blazor in Visual Studio" width="679" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Create-New-Blazor-Project.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Create-New-Blazor-Project-300x199.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<h6>2. Select Blazor App. Then click on Next.</h6>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5097" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Select-Blazor-App.jpg" alt="Select Blazor App Option in Microsoft Visual Studio" width="679" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Select-Blazor-App.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Select-Blazor-App-300x199.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<h6>3. Give a suitable project name in the Project name field or you can accept the default project name. Make sure that the Location entry is correct or provide a location for the project. Select Create.</h6>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5098" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Configure-New-Project.jpg" alt="Give suitable project name and configure new blazor project in visual studio" width="679" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Configure-New-Project.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Configure-New-Project-300x199.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<h6>4. Select  Blazor Server App and Select Create.</h6>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5099" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Create-a-new-blazor-app-in-visual-studio.jpg" alt="Select option with create a new blazor App in a visual studio" width="679" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Create-a-new-blazor-app-in-visual-studio.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Create-a-new-blazor-app-in-visual-studio-300x199.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<h6>5. Press <kbd>Ctrl+F5</kbd> to run the app.</h6>
<p>Here We can see the application Home Page</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5102" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-Application-HomePage.jpg" alt="Homepage of a microsoft blazor application with Hello World!" width="679" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-Application-HomePage.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-Application-HomePage-300x199.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<p>We can also navigate to the other two menu items, Counter and Fetch data :-</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5103" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Fetch-data-window-in-a-blazor-app.jpg" alt="Menu items and counter in a homepage of the application" width="679" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Fetch-data-window-in-a-blazor-app.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Fetch-data-window-in-a-blazor-app-300x199.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5104" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Menu-items-and-counter.jpg" alt="Fetch data windows in a new microsoft blazor app" width="679" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Menu-items-and-counter.jpg 679w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Menu-items-and-counter-300x199.jpg 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<p>The post <a href="https://www.zobiwebsolutions.com/getting-started-with-blazor/">Getting started with Blazor</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/getting-started-with-blazor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Indepth with Blazor</title>
		<link>https://www.zobiwebsolutions.com/indepth-with-blazor/</link>
					<comments>https://www.zobiwebsolutions.com/indepth-with-blazor/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 06 Feb 2020 11:10:30 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Microsoft Blazor]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=3701</guid>

					<description><![CDATA[<p>The Blazor is rapidly used for a single page application its uses C# as a full-stack. We can write client-side application code using C# without depending on JavaScript, jQuery, React, or Angular because Blazor will replace all of them. Now we have Asp.Net Core for end-to-end. Components : Blazor app depends on units A units &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/indepth-with-blazor/" class="more-link">Continue reading<span class="screen-reader-text"> "Indepth with Blazor"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/indepth-with-blazor/">Indepth with Blazor</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5086" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Indepth-with-Blazor.jpg" alt="Indepth with microsoft Blazor" width="1000" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Indepth-with-Blazor.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Indepth-with-Blazor-300x135.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Indepth-with-Blazor-768x346.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>The Blazor is rapidly used for a single page application its uses C# as a full-stack. We can write client-side application code using C# without depending on JavaScript, jQuery, <span id="more-3701"></span></p>
<p><a href="https://www.zobiwebsolutions.com/react-js-development/">React</a>, or <a href="https://www.zobiwebsolutions.com/angular-7/">Angular</a> because Blazor will replace all of them. Now we have <a href="https://www.zobiwebsolutions.com/asp-dot-net-core/">Asp.Net Core</a> for end-to-end.</p>
<h3>Components :</h3>
<p>Blazor app depends on units A units in Blazor is an element of UI, such as a dialog, page,  or data entry form.</p>
<p>The Unit/Components are .NET classes is build into the .NET assemblies that :</p>
<ul class="blog_inside_bullets">
<li>Its define the flexible UI rendering logic</li>
<li>Its handle the user&#8217;s event</li>
<li>Its may a reusable</li>
<li>It may be distributed as <a href="https://docs.microsoft.com/en-us/aspnet/core/razor-pages/ui-class?view=aspnetcore-3.1">Razor class libraries</a> or <a href="https://docs.microsoft.com/en-us/nuget/what-is-nuget">NuGet packages</a>.</li>
</ul>
<p>The component class generally is written in razor form with using .razor file extension. The component of Blazor formally referred to a razor component. The razor is the syntax to use for combining HTML markup with c# code design for developer productivity. The <a href="https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-3.1">Razor</a> is allowed us to switch between HTML markup and C# in the same file with <a href="https://docs.microsoft.com/en-us/visualstudio/ide/using-intellisense">IntelliSense</a>  support. The razor page and MVC are also used the Razor.</p>
<p>In opposit of Razor pages and MVC, they are built around a request/response model, the components basically used for client-side UI logic and composition.</p>
<div class="blog_blazor_page">@Title<br />
@ChildContent@code {<br />
[Parameter]<br />
public string Title { get; set; }[Parameter]<br />
public RenderFragment ChildContent { get; set; }private void OnYes()<br />
{<br />
Console.WriteLine(&#8220;Write to the console in C#! &#8216;Yes&#8217; button was selected.&#8221;);<br />
}<br />
}</div>
<p>The title and body content are provided by the component that will use this component in UI. OnYes its trigger the c# onclick event.</p>
<h3>Blazor WebAssembly :</h3>
<p>Important</p>
<h4>Blazor WebAssembly in preview</h4>
<p>Blazor Server is supported in ASP.NET Core 3.0. Blazor WebAssembly is in preview for ASP.NET Core 3.1.</p>
<p>The Blazor WebAssembly is a single page application framework to develop the interactive client-side web application. The .Net <a href="https://www.zobiwebsolutions.com/blazor/">Blazor</a> WebAssembly used the open web standard without using any plugins or code transition and its work for all modern web and mobile browsers. To run .Net code in the web browser possible by the <a href="https://webassembly.org/">WebAssembly</a> . The WebAssembly makes the possible fast download and maximum execution speed as it in compact bytecode format. The WebAssembly is in open web standard form and its support in a web browser without the plugins.</p>
<p>The WebAssembly code may access the full functionality of the web browser by using JavaScript, its called Java Script interoperability. The .Net Code may be executed via WebAssembly in the web browser and it runs in the browser&#8217;s JavaScript sandbox with the protections Which provide by sandbox against malicious action on the client machine.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5087" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-WebAssembly.jpg" alt="Blazor WebAssembly" width="1000" height="450" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-WebAssembly.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-WebAssembly-300x135.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-WebAssembly-768x346.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>When the Blazor WebAssembly app built and runs in the browser</p>
<ul class="blog_inside_bullets">
<li>The C# code and Razor files compiled into .Net assemblies.</li>
<li>The different assemblies and the .net runtime are downloads to the browser</li>
<li>The Blazor WebAssembly bootstrap the Asp.Net runtime and configure it to load the assemblies for the app.</li>
</ul>
<p>The Blazor WebAssembly uses JavaScript to handle DOM manipulation and browser API calls. The Blazor WebAssembly reduces download times.</p>
<h3>Blazor Server :</h3>
<p>From the UI updations and execution Blazor can decouple component rendering logic. The Blazor Server also helps the Razor component to host on server in .Net Core app. The UI updates are handled by <a href="https://docs.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-3.1">SignalR</a> connection. The runtime manages the sending of UI events to the server from the browser and will implement UI updates that are sent by the server after the components are running. Blazor Server&#8217;s connection to communicate with the browser is also used for handling interop calls from JavaScript.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5088" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-Server.jpg" alt="Blazor Server’s connection to communicate with the browser" width="1000" height="650" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-Server.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-Server-300x195.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/02/Blazor-Server-768x499.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<h3>JavaScript interop :</h3>
<p>The JavaScript interoperates with the browser APIs, components to allow access to the app that requires a third-party JavaScript library.</p>
<p>The components can use any library or API which is used by Javascript. The JavaScript code able to call c# code and C# code able to call JavaScript code. for more detail.</p>
<h3 id="browser-requirements">Browser requirements Blazor WebAssembly</h3>
<table>
<thead>
<tr>
<th>Browser</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Microsoft Edge</td>
<td>Current</td>
</tr>
<tr>
<td>Mozilla Firefox</td>
<td>Current</td>
</tr>
<tr>
<td>Google Chrome, including Android</td>
<td>Current</td>
</tr>
<tr>
<td>Safari, including iOS</td>
<td>Current</td>
</tr>
<tr>
<td>Microsoft Internet Explorer</td>
<td>Not Supported +</td>
</tr>
</tbody>
</table>
<h3 id="browser-requirements">Browser requirements Blazor Server</h3>
<table>
<thead>
<tr>
<th>Browser</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Microsoft Edge</td>
<td>Current</td>
</tr>
<tr>
<td>Mozilla Firefox</td>
<td>Current</td>
</tr>
<tr>
<td>Google Chrome, including Android</td>
<td>Current</td>
</tr>
<tr>
<td>Safari, including iOS</td>
<td>Current</td>
</tr>
<tr>
<td>Microsoft Internet Explorer</td>
<td>11 +</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.zobiwebsolutions.com/indepth-with-blazor/">Indepth with Blazor</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/indepth-with-blazor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to deploy blazor on linux</title>
		<link>https://www.zobiwebsolutions.com/how-to-deploy-blazor-on-linux/</link>
					<comments>https://www.zobiwebsolutions.com/how-to-deploy-blazor-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 29 Jan 2020 07:28:33 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Microsoft Blazor]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=3366</guid>

					<description><![CDATA[<p>Zobi Web Solutions is a well-known name in Blazor App Development Company. We have successfully completed multiple projects and our experienced and dedicated developers served the best results for this technology and have been given some promising results. Get a free consultation today to develop a Blazor Application on the Linux platform. You want to &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/how-to-deploy-blazor-on-linux/" class="more-link">Continue reading<span class="screen-reader-text"> "How to deploy blazor on linux"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/how-to-deploy-blazor-on-linux/">How to deploy blazor on linux</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5179" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Deploy-Blazor-on-Linux.jpg" alt="Deploy Microsoft Blazor on Linux OS" width="1000" height="650" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Deploy-Blazor-on-Linux.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Deploy-Blazor-on-Linux-300x195.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Deploy-Blazor-on-Linux-768x499.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p><a href="https://www.zobiwebsolutions.com/" target="_blank" rel="noopener noreferrer">Zobi Web Solutions</a> is a well-known name in <a href="https://www.zobiwebsolutions.com/microsoft-blazor-development-company/" target="_blank" rel="noopener noreferrer">Blazor App Development Company</a>. We have successfully completed multiple projects and our experienced and dedicated developers served the best results for this technology and have been given some promising results. Get a <a href="https://www.zobiwebsolutions.com/free-consultation/" target="_blank" rel="noopener noreferrer">free consultation</a> today to develop a Blazor Application on the Linux platform.</p>
<p>You want to try the Blazor, on your Linux machine. Well, you are lucky. One of the goals of the <a href="https://www.zobiwebsolutions.com/asp-net-core-development-company/" target="_blank" rel="noopener noreferrer">Asp.Net core</a> is being cross-platform. so in this blog, we will see how “cross-platform” is with Blazor Microsoft’s hot new front-end development project.<br />
<span id="more-3366"></span></p>
<p>For setting up Blazor app on Linux We can follow the given steps.</p>
<p class="blazor_heading">Setup .net core</p>
<h3>Register Microsoft key and feed :</h3>
<p>Before installing .NET, you&#8217;ll need to :</p>
<ul class="blog_inside_bullets">
<li>Register the Microsoft key.</li>
<li>Register the product repository.</li>
<li>Install required dependencies.</li>
</ul>
<p>This only needs to be done once per machine.</p>
<p>Open a terminal and run the following commands.</p>
<p class="blazor_command">wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb</p>
<p class="blazor_command blazor_mb-15">sudo dpkg -i packages-microsoft-prod.deb</p>
<h3>Install the .NET Core SDK :</h3>
<p>Update the products available for installation, then install the .NET Core SDK. In your terminal, run the following commands.</p>
<p class="blazor_command">sudo apt-get update</p>
<p class="blazor_command">sudo apt-get install apt-transport-https</p>
<p class="blazor_command">sudo apt-get update</p>
<p class="blazor_command">sudo apt-get install dotnet-sdk-3.1</p>
<p class="blazor_command blazor_mb-15">Install the ASP.NET Core runtime :</p>
<p>Update the products available for installation, then install the ASP.NET Core runtime. In your terminal, run the following commands.</p>
<p class="blazor_command">sudo apt-get update</p>
<p class="blazor_command">sudo apt-get install apt-transport-https</p>
<p class="blazor_command">sudo apt-get update</p>
<p class="blazor_command blazor_mb-15">sudo apt-get install aspnetcore-runtime-3.1</p>
<h3>Install the .NET Core runtime :</h3>
<p>Update the products available for installation, then install the .NET Core runtime. In your terminal, run the following commands.</p>
<p class="blazor_command">sudo apt-get update</p>
<p class="blazor_command">sudo apt-get install apt-transport-https</p>
<p class="blazor_command">sudo apt-get update</p>
<p class="blazor_command blazor_mb-15">sudo apt-get install dotnet-runtime-3.1</p>
<p>Publish and copy over the app :<strong><br />
</strong><br />
Check app running success fully on local machine.</p>
<p>Remove https://localhost:5001 (if present) from the applicationUrl property in the Properties/launchSettings.json file.</p>
<p>Run dotnet publish from the development environment to package an app into a directory (for example, <em>bin/Release/&lt;target_framework_moniker&gt;/publish</em>) that can run on the server:</p>
<p>dotnetpublish &#8211;configuration Release</p>
<p>Copy the ASP.NET Core app to the server using a tool that integrates into the organization&#8217;s workflow (for example, SCP, SFTP). It&#8217;s common to locate web apps under the var directory (for example, var/www/demoapp).</p>
<h3>Test the app :</h3>
<ol>
<li>From the command line, run the app: dotnet&lt;app_assembly&gt;.dll.</li>
<li>In a browser, navigate to http://&lt;serveraddress&gt;:&lt;port&gt;to verify the app works on Linux locally.</li>
</ol>
<h3>Install Nginx :</h3>
<p class="blazor_command">sudo apt-get update</p>
<p class="blazor_command">sudo apt-get install nginx</p>
<p class="blazor_command blazor_mb-15">sudo service nginx start</p>
<p>Verify a browser displays the default landing page for Nginx. The landing page is reachable at</p>
<p class="blazor_command blazor_mb-15">http://&lt;server_IP_address&gt;/index.nginx-debian.html.</p>
<h3>Configure Nginx :</h3>
<p>To configure Nginx as a reverse proxy to forward requests to your ASP.NET Core app, modify <em>/etc/nginx/sites-available/default</em>. Open it in a text editor, and replace the contents with the following:</p>
<div class="blog_blazor_page">server {listen 80;<br />
server_name example.com *.example.com;location /<br />
{<br />
proxy_pass http://localhost:5000;<br />
proxy_http_version 1.1;<br />
proxy_set_header Upgrade $http_upgrade;<br />
proxy_set_header Connection keep-alive;<br />
proxy_set_header Host $host;<br />
proxy_cache_bypass $http_upgrade;<br />
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br />
proxy_set_header X-Forwarded-Proto $scheme;<br />
}<br />
}</div>
<p>Once the Nginx configuration is established, run sudo nginx -t to verify the syntax of the configuration files. If the configuration file test is successful, force Nginx to pick up the changes by running sudo nginx -s reload.</p>
<h3>To directly run the app on the server :</h3>
<ol>
<li>Navigate to the app&#8217;s directory.</li>
<li>Run the app: dotnet&lt;app_assembly.dll&gt;, where dllis the assembly file name of the app.</li>
</ol>
<p>When done testing the app, shut the app down with <kbd>ctrl + c</kbd> at the command prompt.</p>
<h3>Monitor the app :</h3>
<p>The server is setup to forward requests made to http://&lt;serveraddress&gt;:80 on to the ASP.NET Core app running on Kestrel at http://127.0.0.1:5000. However, Nginx isn&#8217;t set up to manage the Kestrel process. systemd can be used to create a service file to start and monitor the underlying web app. systemd is an init system that provides many powerful features for starting, stopping, and managing processes.</p>
<h3>Create the service file :</h3>
<p class="blazor_command">Create the service definition file:</p>
<p class="blazor_command blazor_mb-15">sudo nano /etc/systemd/system/kestrel-newapp.service</p>
<p>The following is an example service file for the app:</p>
<div class="blog_blazor_page">
<p>[Unit]Description=Example .NET Web API App running on Ubuntu</p>
<p>[Service]</p>
<p>WorkingDirectory=/var/www/demoapp</p>
<p>ExecStart=/usr/bin/dotnet /var/www/demoapp/newapp.dll</p>
<p>Restart=always</p>
<p># Restart service after 10 seconds if the dotnet service crashes:</p>
<p>RestartSec=10</p>
<p>KillSignal=SIGINT</p>
<p>SyslogIdentifier=dotnet-example</p>
<p>User=www-data</p>
<p>Environment=ASPNETCORE_ENVIRONMENT=Production</p>
<p>Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false</p>
</div>
<p>[Install]</p>
<p>WantedBy=multi-user.target</p>
<p>Save the file and enable the service.</p>
<p class="blazor_command">sudo systemctl enable kestrel-newapp.service</p>
<p class="blazor_command">Start the service and verify that it&#8217;s running.</p>
<p class="blazor_command">sudo systemctl start kestrel-newapp.service</p>
<p class="blazor_command blazor_mb-15">sudo systemctl status kestrel-newapp.service</p>
<ul class="blog_inside_bullets">
<li>kestrel-newapp.service &#8211; Example .NET Web API App running on Ubuntu<br />
Loaded: loaded (/etc/systemd/system/kestrel-newapp.service; enabled)<br />
Active: active (running) since Thu 2016-10-18 04:09:35 NZDT; 35s ago<br />
Main PID: 9021 (dotnet)<br />
CGroup: /system.slice/kestrel-newapp.service<br />
└─9021 /usr/local/bin/dotnet /var/www/demoapp/newapp.dll</li>
</ul>
<h2>Conclusion</h2>
<p>This is how you can deploy your Blazor application on Linux operating system which is totally open-source. If you have any queries regarding this, you can contact Zobi Web Solutions, which is one of the earliest adopters of this technology and a prominent web and <a href="https://www.zobiwebsolutions.com/mobile-app-development-company/" target="_blank" rel="noopener noreferrer">mobile app development company</a>.</p>
<p>The post <a href="https://www.zobiwebsolutions.com/how-to-deploy-blazor-on-linux/">How to deploy blazor on linux</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/how-to-deploy-blazor-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to Blazor</title>
		<link>https://www.zobiwebsolutions.com/introduction-to-blazor/</link>
					<comments>https://www.zobiwebsolutions.com/introduction-to-blazor/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 29 Jan 2020 06:47:59 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Microsoft Blazor]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.zobiwebsolutions.com/?p=3349</guid>

					<description><![CDATA[<p>Before getting start introduction of blazor we must have knowledge of WebAssembly(wasm). the WebAssembly(wasm) is a specification for the browser which is introduced in 2015 and it defines as a compressed binary code arrangement designed as a portable target for compilation on the web for server and client applications. After this release, many companies have &#8230; </p>
<p class="link-more"><a href="https://www.zobiwebsolutions.com/introduction-to-blazor/" class="more-link">Continue reading<span class="screen-reader-text"> "Introduction to Blazor"</span></a></p>
<p>The post <a href="https://www.zobiwebsolutions.com/introduction-to-blazor/">Introduction to Blazor</a> appeared first on <a href="https://www.zobiwebsolutions.com">Zobi Web Solutions Private Limited</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5081" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Introduction-to-Blazor.jpg" alt="Introduction to Blazor" width="1000" height="650" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Introduction-to-Blazor.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Introduction-to-Blazor-300x195.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Introduction-to-Blazor-768x499.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>Before getting start introduction of blazor we must have knowledge of WebAssembly(wasm). the WebAssembly(wasm) is a specification for the browser which is introduced <span id="more-3349"></span></p>
<p>in 2015 and it defines as a compressed binary code arrangement designed as a portable target for compilation on the web for server and client applications.</p>
<p>After this release, many companies have launched projects with a high-level programming language to run on the top of WebAssembaly. The team Microsoft has a take the initiative to start its Blazor project and now we can use Blazor to run c# in a front end web app. this is happening due to WebAssembly open standard specification, the .Net code can run on the browser without the use of any plugins.</p>
<p>The Blazor is good for single page application frontend development which uses c# as a full-stack. We can write frontend app code with c# without depending on javascript as we would typically with <a href="https://www.zobiwebsolutions.com/react-js-development/">React</a>, jQuery, or <a href="https://www.zobiwebsolutions.com/angular-7/">Angular</a> because Blazor will take the place of all of that. connect with Asp.Net Core server code it&#8217;s mean we can now have .Net as an end to end</p>
<p>The Blazor components are written as C# classes, then built into .NET assemblies. Which responsible for output and input operations handle user event and render the UI. Components also work as a container that is shared, distributed, reused, across multiple apps.</p>
<p>The HTML page that had a JavaScript function to perform frontend logic is simple to the frontend developer. The Blazor component is declared as a markup file .razor extension contains the HTML elements with the c# code responsible for event handling and HTML rendering.</p>
<h3>Comparison of Blazor with Javascript :</h3>
<p>Blazor allows frontend and backend C# code and provides code encapsulation by its reusable web UI component</p>
<p>Componentization is a react, Javascript and Angular concept. The Components of the app-building blocks and typical app will have many of these. They accept inputs and return HTML elements which describe how a section of UI appears.</p>
<p>The Asp.Net Core provides these features in the form of razor components. The Razor components also the component model of Blazor. so Blazor and Razor components are interchangeable.</p>
<p>The components of Blazor show different elements in the app UI structure like a news feed, comment section, and shopping cart.</p>
<h3>Comparison of ASP. NET Core MVC and Blazor :</h3>
<p>The Asp.Net Core MVC renders the UI as a block of string. but Blazor builds a render tree which is not a string and representation of the Document Object Model(DOM) which is held in memory. Blazor takes that and The changes belong to it will trigger a UI update for affected DOM element. this is the core difference between Asp.Net Core HTML and Razor Views, Which renders the strings.</p>
<p>Now we have a question of why the Blazor worked with render tree instead of a string We must have to remember that Blazor code does not access the DOM element directly. this is the main difference between Asp.Net Core HTML Helper and Razor Views They depend on JavaScript to get access to the UI elements. <a href="https://www.zobiwebsolutions.com/blazor/">Blazor framework</a> listens to changes made to the data model and manages the render tree to apply changes. which allows C# to work on the client-side.</p>
<p>Why go with Blazor instead of pure client-side JavaScript or Asp.Net Core MVC/Razor? Here We will get an idea about the differences between them so we can make a well-judged decision before putting any effort into developing a new Blazor project</p>
<h3>Advantage of Client-side Blazor :</h3>
<p>By using Blazor we can run the .net code directly in the browser. The Blazor has ruined the monopoly of JavaScript on the point of view of a full-stack developer. because using Blazor developer not need to upgrade with multiple programming skills.</p>
<p>The Blazor code is compiled in .NET language, so its faster than the javascript code.</p>
<p>We can share the validation code between the client and server app. suppose we have applied validation logic on both side back-end and front-end. by using Blazor we can create a class library in the .Net standard2.0 and share it across client and server app.</p>
<h3>Disadvantages of Client-side Blazor :</h3>
<p>To run Blazor on browser we must have to download Mono.wasm the .Net run time libraries to the browser with application’s .wasm and .NET libraries. Downloading first-time these is time-consuming it may delay the application startup so small Blazor application will also require downloading large memory of code. Java script has not this kind of burden.</p>
<p>Blazor does not have control over the HTML element as Blazor doesn&#8217;t manipulate the DOM element directly. so we must have to use JavaScript.</p>
<p>Blazor is slow in comparison to JavaScript. The team Microsoft work on it. They should be solved this problem in a short time.</p>
<p>The Blazor has Limited Debugging capability. They need improvement in this area Blazor has limited debugging features in chrome if we want to debug more effectively then we must have to do console login through our client app.</p>
<h3>Different Faces of Blazor :</h3>
<p>We generally know that the Blazor runs the C# code on top of web assembly on the browser but the fact is we can create the app which runs either a Blazor client-side or Blazor server-side. When we create the app we can choose from hosting models.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5083" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Faces-of-Blazor.jpg" alt="Different Faces of Microsoft Blazor" width="1000" height="650" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Faces-of-Blazor.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Faces-of-Blazor-300x195.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/Faces-of-Blazor-768x499.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>The Blazor Client-side is a familiar hosting model to Javascript Developer. they can deploy application assets to the webserver which can serve client browsers with a set of static files. when browser download that files the app can run on top of web assembly.wich is not much different from client-side javascript apps the only thing is the app is running on web assembly instead of JavaScript.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5084" src="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/SignalIR-in-Blazor.jpg" alt="SignalIR in Microsoft Blazor between Browser and Server App" width="1000" height="566" srcset="https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/SignalIR-in-Blazor.jpg 1000w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/SignalIR-in-Blazor-300x170.jpg 300w, https://www.zobiwebsolutions.com/wp-content/uploads/2020/01/SignalIR-in-Blazor-768x435.jpg 768w" sizes="(max-width: 1920px) 100vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></p>
<p>The Blazor backend app can run on the server and built on top of ASP. NET Core SignalR, a real-time communication library based on WebSockets. The Blazor can run without any limitation imposed by webAsembaly when the app runs on the browser as the Blazor can run on the server on top of the full <a href="https://www.zobiwebsolutions.com/asp-dot-net-core/">ASP. NET Core web framework</a>.</p>
<p>The post <a href="https://www.zobiwebsolutions.com/introduction-to-blazor/">Introduction to Blazor</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/introduction-to-blazor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
