<?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>data storage in blob Archives | KAISPE</title>
	<atom:link href="https://www.kaispe.com/tag/data-storage-in-blob/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kaispe.com/tag/data-storage-in-blob/</link>
	<description>Your Digital Transformation Partner</description>
	<lastBuildDate>Fri, 18 Nov 2022 18:29:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>

<image>
	<url>https://www.kaispe.com/wp-content/uploads/2022/01/cropped-k-32x32.png</url>
	<title>data storage in blob Archives | KAISPE</title>
	<link>https://www.kaispe.com/tag/data-storage-in-blob/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Saving Data in Microsoft Azure Blob Storage from a Web Portal</title>
		<link>https://www.kaispe.com/saving-data-in-microsoft-azure-blob-storage-from-a-web-portal/</link>
		
		<dc:creator><![CDATA[jdkaispe]]></dc:creator>
		<pubDate>Wed, 14 Aug 2019 04:55:30 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[azure blob storage]]></category>
		<category><![CDATA[data storage in blob]]></category>
		<guid isPermaLink="false">https://www.kaispe.com/?p=722</guid>

					<description><![CDATA[<p>Today, I will show you the basic idea about how to save the data in the Microsoft Azure Blob Storage using a .NET based Web Application. We will use two [&#8230;]</p>
<p>The post <a href="https://www.kaispe.com/saving-data-in-microsoft-azure-blob-storage-from-a-web-portal/">Saving Data in Microsoft Azure Blob Storage from a Web Portal</a> appeared first on <a href="https://www.kaispe.com">KAISPE</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today, I will show you the basic idea about how to save the data in the Microsoft Azure Blob Storage using a .NET based Web Application. We will use two NuGet packages, Microsoft Azure Storage and Microsoft Azure Storage Blob. In this blog, we will store some sort of Rules in the Blob.</p>
<p><img fetchpriority="high" decoding="async" class="alignleft size-large wp-image-723" src="https://www.kaispe.com/wp-content/uploads/2019/08/packages-1024x563.png" alt="" width="640" height="352" /></p>
<p>&nbsp;</p>
<p>We will create a simple Web page to Get Rules from the Users and save into the Microsoft Azure Blob Storage.</p>
<p>First of All, we will create a blob container using the code below:</p>
<p><img decoding="async" class="aligncenter size-full wp-image-724" src="https://www.kaispe.com/wp-content/uploads/2019/08/container.png" alt="" width="782" height="146" /></p>
<p>There are some restrictions to create a container in the Azure Blob Storage.</p>
<ul>
<li>Container name should be in lower case.</li>
<li>Container name length must be between 3 characters to 63 characters.</li>
<li>Container name only supports dashes (-), not all the special characters.</li>
</ul>
<h3>Our Rule page looks like:</h3>
<p><img decoding="async" class="size-full wp-image-725 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/08/page.png" alt="" width="526" height="931" /></p>
<h3>Rule Page Description :</h3>
<ul>
<li>In the filename textbox, we will provide a filename which will be created inside the container i.e., “kaispeblobrules”. The input file will be created in the JSON format.</li>
</ul>
<p><img decoding="async" class="aligncenter size-full wp-image-726" src="https://www.kaispe.com/wp-content/uploads/2019/08/jsonFile.png" alt="" width="672" height="142" /></p>
<ul>
<li>Device Groups which will be managed for the bulk of devices to applying Rules.</li>
<li>Device Id is optional if you want to assign a single rule for a specific device.</li>
<li>Rule Id for managing Rules.</li>
<li>A description is Optional.</li>
<li>In the Telemetry option, we will get an existing Telemetries list which is assigned for the Device Groups.</li>
<li>Operators for the condition. For e.g. Pressure &lt;, Temperature &gt;</li>
<li>Value is numeric values for checking the condition requirements. For e.g. Pressure &gt; 150.</li>
</ul>
<p><img decoding="async" class="alignleft size-large wp-image-727" src="https://www.kaispe.com/wp-content/uploads/2019/08/UploadPage-1024x576.png" alt="" width="640" height="360" /></p>
<p>&nbsp;</p>
<p>Now fill the data and Upload the Rule so it should be created a file in the “kaispeblobrules” and the name of the file should be our Filename Value which we provided in the TextBox Field.</p>
<p><img decoding="async" class="alignleft size-large wp-image-728" src="https://www.kaispe.com/wp-content/uploads/2019/08/ruleCreated-1024x274.png" alt="" width="640" height="171" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>You can see above in the &#8220;kaispeblobrules&#8221; container, the file Rules.json is created and it should have a data in the JSON format</p>
<p><img decoding="async" class="aligncenter size-full wp-image-729" src="https://www.kaispe.com/wp-content/uploads/2019/08/ruleJson.png" alt="" width="1047" height="522" /></p>
<p>Yes, it has the rule data in the JSON format.</p>
<p>Now we are going to add more rules and see how our JSON file looks like:</p>
<p><img decoding="async" class="aligncenter size-full wp-image-730" src="https://www.kaispe.com/wp-content/uploads/2019/08/allrules.png" alt="" width="1403" height="676" /></p>
<p>You can also read the rules in the Web Application from the Azure Blob Storage to see what rules we added using the code below.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-731" src="https://www.kaispe.com/wp-content/uploads/2019/08/rulesData.png" alt="" width="819" height="174" srcset="https://www.kaispe.com/wp-content/uploads/2019/08/rulesData.png 819w, https://www.kaispe.com/wp-content/uploads/2019/08/rulesData-300x64.png 300w, https://www.kaispe.com/wp-content/uploads/2019/08/rulesData-768x163.png 768w" sizes="(max-width: 819px) 100vw, 819px" /></p>
<p>And finally, fetch the Rules data into the Grid so you can easily see the rules.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-732" src="https://www.kaispe.com/wp-content/uploads/2019/08/Grid.png" alt="" width="858" height="235" /></p>
<p>I hope you found this blog post helpful. For any queries, feel free to contact me farrukh.ahmed@kaispe.com</p>
<p>The post <a href="https://www.kaispe.com/saving-data-in-microsoft-azure-blob-storage-from-a-web-portal/">Saving Data in Microsoft Azure Blob Storage from a Web Portal</a> appeared first on <a href="https://www.kaispe.com">KAISPE</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
