<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Saleem&#039;s Blog</title>
	<atom:link href="https://muhammedsalimp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://muhammedsalimp.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 17 Jul 2020 07:32:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<site xmlns="com-wordpress:feed-additions:1">12858006</site><cloud domain='muhammedsalimp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s0.wp.com/i/buttonw-com.png</url>
		<title>Saleem&#039;s Blog</title>
		<link>https://muhammedsalimp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://muhammedsalimp.wordpress.com/osd.xml" title="Saleem&#039;s Blog" />
	<atom:link rel='hub' href='https://muhammedsalimp.wordpress.com/?pushpress=hub'/>
	<item>
		<title>Build an ASP.NET Core app using .NET Core CLI tool</title>
		<link>https://muhammedsalimp.wordpress.com/2020/07/17/build-an-asp-net-core-app-using-net-core-cli-tool/</link>
					<comments>https://muhammedsalimp.wordpress.com/2020/07/17/build-an-asp-net-core-app-using-net-core-cli-tool/#comments</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Fri, 17 Jul 2020 06:57:27 +0000</pubDate>
				<category><![CDATA[ASP.NET Core]]></category>
		<category><![CDATA[.NET Core CLI Tool]]></category>
		<category><![CDATA[dotnet]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/?p=164</guid>

					<description><![CDATA[In this article, we are going to learn how to create and run an ASP.NET Core web app using the  .NET Core command-line interface (CLI)]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In this article, we are going to learn how to create and run an <strong>ASP.NET Core web app</strong> using the <strong>.NET Core CLI</strong>. The <strong>.NET Core command-line interface (CLI)</strong> is a cross-platform tool for developing, building, running, and publishing .NET Core applications. It is included with the <strong>.NET Core SDK</strong>.</p>



<h2 class="wp-block-heading">Create the webapp</h2>



<p class="wp-block-paragraph">First, Let’s see how to create a new ASP.NET Core web app using the .NET Core CLI tool:</p>



<pre class="wp-block-code"><code>dotnet new webapp -o MyFirstAspNetCoreApp</code></pre>



<figure class="wp-block-image size-large"><img data-attachment-id="165" data-permalink="https://muhammedsalimp.wordpress.com/cmd-dotnet-new/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png" data-orig-size="1292,349" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="cmd-dotnet-new" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=595" width="1024" height="276" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=1024" alt="cmd-dotnet-new" class="wp-image-165" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=1024 1024w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=300 300w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=768 768w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png 1292w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">This command creates a new web app. The&nbsp;<em>-o <code>MyFirstAspNetCoreApp</code></em>&nbsp;parameter creates a directory named&nbsp;<code><em>MyFirstAspNetCoreApp</em>&nbsp;</code>with the source files for the app.</p>



<p class="wp-block-paragraph">Now, let’s examine the source files that are created:</p>



<figure class="wp-block-image size-large"><img data-attachment-id="166" data-permalink="https://muhammedsalimp.wordpress.com/project-folder-created/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png" data-orig-size="746,278" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="project-folder-created" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png?w=595" width="746" height="278" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png?w=746" alt="project folder structure" class="wp-image-166" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png 746w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png?w=300 300w" sizes="(max-width: 746px) 100vw, 746px" /></figure>



<p class="wp-block-paragraph">We have successfully created an ASP.NET Core web app.</p>



<h2 class="wp-block-heading">Trust the certificate</h2>



<p class="wp-block-paragraph">The .NET Core SDK includes an HTTPS development certificate. Installing the .NET Core SDK installs the ASP.NET Core HTTPS development certificate to the local user certificate store. The certificate has been installed, but it&#8217;s not trusted. To trust the certificate, we need to perform a one-time step to run the <em><code>dotnet dev-certs</code></em> tool:</p>



<pre class="wp-block-code"><code>dotnet dev-certs https --trust</code></pre>



<p class="wp-block-paragraph">A confirmation prompt will be displayed if the certificate was not previously trusted. We need to click&nbsp;<strong>Yes</strong>&nbsp;on the prompt to trust the development certificate. If a valid HTTPS certificate is already present, it will display the corresponding message and we can continue:</p>



<figure class="wp-block-image size-large"><img data-attachment-id="167" data-permalink="https://muhammedsalimp.wordpress.com/cert-trust/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png" data-orig-size="972,216" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="cert-trust" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png?w=595" width="972" height="216" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png?w=972" alt="trust the development certificate" class="wp-image-167" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png 972w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png?w=300 300w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png?w=768 768w" sizes="(max-width: 972px) 100vw, 972px" /></figure>



<h2 class="wp-block-heading">Build the app</h2>



<p class="wp-block-paragraph">The next step is to build the app. We can use <em>dotnet build</em> command for that:</p>



<pre class="wp-block-code"><code>dotnet build</code></pre>



<figure class="wp-block-image size-large"><img data-attachment-id="168" data-permalink="https://muhammedsalimp.wordpress.com/build-result/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png" data-orig-size="940,265" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="build-result" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png?w=595" loading="lazy" width="940" height="265" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png?w=940" alt="build result" class="wp-image-168" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png 940w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png?w=300 300w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png?w=768 768w" sizes="(max-width: 940px) 100vw, 940px" /></figure>



<p class="wp-block-paragraph">This will build the project and we can see the build output generated as dlls. Perfect.</p>



<h2 class="wp-block-heading">Run the app</h2>



<p class="wp-block-paragraph">We have created an ASP.NET Core web app and built it using the .NET Core CLI tool. Now, it&#8217;s time to run and see it in action. We can do that by using the <em><code>dotnet run</code></em> command. Let&#8217;s add an optional <em>watch</em> command to monitor the file system for any changes in the source code. If there are any changes, it will build and run the app again:</p>



<pre class="wp-block-code"><code>dotnet watch run</code></pre>



<figure class="wp-block-image size-large"><img data-attachment-id="169" data-permalink="https://muhammedsalimp.wordpress.com/dotnet-watch-run/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png" data-orig-size="491,212" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="dotnet-watch-run" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png?w=491" loading="lazy" width="491" height="212" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png?w=491" alt="dotnet watch run" class="wp-image-169" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png 491w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png?w=300 300w" sizes="(max-width: 491px) 100vw, 491px" /></figure>



<p class="wp-block-paragraph">Now let&#8217;s browse the app by navigating to https<a href="https://localhost:5001/" target="_blank" rel="noreferrer noopener">://localhost:5001</a>/:</p>



<figure class="wp-block-image size-large"><img data-attachment-id="170" data-permalink="https://muhammedsalimp.wordpress.com/run-output/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png" data-orig-size="612,430" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="run-output" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png?w=595" loading="lazy" width="612" height="430" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png?w=612" alt="output webpage" class="wp-image-170" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png 612w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png?w=300 300w" sizes="(max-width: 612px) 100vw, 612px" /></figure>



<p class="wp-block-paragraph">We can see a welcome page that uses the default template of ASP.NET Core.</p>



<p class="wp-block-paragraph">Now, let’s modify the default text on the web page:</p>



<pre class="wp-block-code"><code>@page
@model IndexModel
@{
    ViewData&#091;"Title"] = "Home page";
}

&lt;div class="text-center"&gt;
    &lt;h1 class="display-4"&gt;Welcome&lt;/h1&gt;
    &lt;p&gt;Hello, Welcome to my first ASP.NET Core App&lt;/p&gt;
&lt;/div&gt;
</code></pre>



<p class="wp-block-paragraph">Since we are watching the file system for changes, it will detect the change, build, and run the app once again:</p>



<figure class="wp-block-image size-large"><img data-attachment-id="171" data-permalink="https://muhammedsalimp.wordpress.com/watch-file-changes/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png" data-orig-size="619,203" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="watch-file-changes" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png?w=595" loading="lazy" width="619" height="203" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png?w=619" alt="watch file changes" class="wp-image-171" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png 619w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png?w=300 300w" sizes="(max-width: 619px) 100vw, 619px" /></figure>



<p class="wp-block-paragraph">Let’s refresh the webpage:</p>



<figure class="wp-block-image size-large"><img data-attachment-id="172" data-permalink="https://muhammedsalimp.wordpress.com/app-with-modified-text/" data-orig-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png" data-orig-size="619,431" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="app-with-modified-text" data-image-description="" data-image-caption="" data-medium-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png?w=300" data-large-file="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png?w=595" loading="lazy" width="619" height="431" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png?w=619" alt="refreshed webpage" class="wp-image-172" srcset="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png 619w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png?w=150 150w, https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png?w=300 300w" sizes="(max-width: 619px) 100vw, 619px" /></figure>



<p class="wp-block-paragraph">We can see that the webpage is updated with our changes.</p>



<p class="wp-block-paragraph">Cool! We have learned how to create and run an ASP.NET Core web app using the .NET Core CLI.</p>



<h2 class="wp-block-heading">Conclusion&nbsp;</h2>



<p class="wp-block-paragraph">We have learned the following topics in this article:</p>



<ul class="wp-block-list"><li> Create an ASP.NET Core app using .NET Core CLI tool</li><li>Trust the development certificate</li><li>Build, run and watch for changes</li><li>Modify a web page</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2020/07/17/build-an-asp-net-core-app-using-net-core-cli-tool/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">164</post-id>
		<media:thumbnail url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png" />
		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png" medium="image">
			<media:title type="html">cmd-dotnet-new</media:title>
		</media:content>

		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cmd-dotnet-new.png?w=1024" medium="image">
			<media:title type="html">cmd-dotnet-new</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/project-folder-created.png?w=746" medium="image">
			<media:title type="html">project folder structure</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/cert-trust.png?w=972" medium="image">
			<media:title type="html">trust the development certificate</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/build-result.png?w=940" medium="image">
			<media:title type="html">build result</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/dotnet-watch-run.png?w=491" medium="image">
			<media:title type="html">dotnet watch run</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/run-output.png?w=612" medium="image">
			<media:title type="html">output webpage</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/watch-file-changes.png?w=619" medium="image">
			<media:title type="html">watch file changes</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2020/07/app-with-modified-text.png?w=619" medium="image">
			<media:title type="html">refreshed webpage</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction to ASP.NET Core</title>
		<link>https://muhammedsalimp.wordpress.com/2020/06/30/introduction-to-asp-net-core/</link>
					<comments>https://muhammedsalimp.wordpress.com/2020/06/30/introduction-to-asp-net-core/#respond</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Tue, 30 Jun 2020 15:12:27 +0000</pubDate>
				<category><![CDATA[ASP.NET Core]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/?p=152</guid>

					<description><![CDATA[ASP.NET Core is a free, cross-platform, and open-source framework for building modern, cloud-enabled web apps. It is developed by Microsoft in collaboration with the community.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><code>ASP.NET Core</code> is a free, cross-platform, and open-source framework for building modern, cloud-based web apps. It is developed by Microsoft in collaboration with the community.</p>



<p class="wp-block-paragraph"><code>ASP.NET Core</code> is a new framework developed from the scratch. It combines several previously separate frameworks like <code>ASP.NET MVC</code>, <code>ASP.NET Web API</code>, etc into a single programming model. Furthermore, this is a redesign of <code>ASP.NET 4.x</code>, which includes several architectural changes that result in a lean, modular, and extensible framework.</p>



<h2 class="wp-block-heading">Development Tools</h2>



<p class="wp-block-paragraph">With <code>ASP.NET Core</code>, we have the choice of many different development tools on Windows, macOS, and Linux. Visual Studio, Visual Studio Code, etc are Microsoft tools and they are available for various Operating Systems. Rider, OmiSharp, etc are third party components that work well on various platforms as well. Additionally, we have the <code><a rel="noreferrer noopener" href="https://muhammedsalimp.wordpress.com/2020/07/17/build-an-asp-net-core-app-using-net-core-cli-tool/" target="_blank"><strong>.NET Core Command-Line Interface (CLI)</strong></a></code>, a cross-platform tool for developing, building, running, and publishing .NET Core applications. <code>The .NET Core CLI</code> is included with the .NET Core SDK.</p>



<h2 class="wp-block-heading">Application Types</h2>



<p class="wp-block-paragraph"><code>ASP.NET Core</code> provides features to build different types of applications. Let&#8217;s quickly look at the major types of apps that we can build using <code>ASP.NET Core</code>.</p>



<p class="wp-block-paragraph"><code>ASP.NET Core Razor Pages</code> is a new server-side web UI development technology. It is a page-based programming model that makes building web UI easier and more productive.</p>



<p class="wp-block-paragraph"><code>ASP.NET Core Web API</code> helps us to build <code>RESTful HTTP services</code>. It has built-in support for multiple data formats and content negotiation. This lets our web APIs reach a broad range of clients, including browsers and mobile devices.</p>



<p class="wp-block-paragraph"><code>ASP.NET Core MVC</code> provides features to build web apps using the popular Model-View-Controller (MVC) pattern. This helps us to achieve separation of concerns and make our apps more testable.</p>



<p class="wp-block-paragraph"><code>ASP.NET Core</code> integrates seamlessly with popular client-side frameworks and libraries, including Blazor, Angular, React, and Bootstrap.</p>



<p class="wp-block-paragraph"><code>.NET Core gRPC</code> is a language-agnostic, high-performance Remote Procedure Call (RPC) framework. It enables client and server applications to communicate transparently, and simplifies building connected systems.</p>



<p class="wp-block-paragraph"><code>ASP.NET Core SignalR</code> simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.</p>



<p class="wp-block-paragraph">In the next article, we’ll look at how to build an <code>ASP.NET Core</code> app using the .NET Core CLI tool.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2020/06/30/introduction-to-asp-net-core/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">152</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>
	</item>
		<item>
		<title>Calling a Web Service from Client Script Using AJAX</title>
		<link>https://muhammedsalimp.wordpress.com/2012/06/06/calling-a-web-service-from-client-script-using-ajax/</link>
					<comments>https://muhammedsalimp.wordpress.com/2012/06/06/calling-a-web-service-from-client-script-using-ajax/#comments</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Wed, 06 Jun 2012 17:03:00 +0000</pubDate>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/?p=132</guid>

					<description><![CDATA[&#160; Scenario &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Web Services are undoubtedly one of the most reliable solution when we need to integrate an external functionality in our application. Usually we integrate web services in our application through server side code. In some situations, we would need to call a web service from our client side script and then update [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&#160;</p>
<h4>Scenario </h4>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Web Services are undoubtedly one of the most reliable solution when we need to integrate an external functionality in our application. Usually we integrate web services in our application through server side code. In some situations, we would need to call a web service from our client side script and then update the web page with the result without refreshing the page. The below steps describes this method which is a pretty straightforward task.</p>
<h4>Solution</h4>
<p>We can make use of AJAX functionality built into ASP.NET for achieving this functionality.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p>
<p>First of all, for this method to work, the web service and client page should be in the same domain.</p>
<p>Imagine we have a simple web service called <em>TempConversion.asmx</em> that takes a Fahrenheit value and returns its Celsius equivalent. </p>
<p>Following are the steps required to set up your Web service and an AJAX client page.</p>
<ul>
<li>Mark the web service with <em><strong>ScriptService</strong></em> attribute. </li>
</ul>
<blockquote>
<p>[System.Web.Script.Services.ScriptService]      <br />public class TempConversion : System.Web.Services.WebService       <br />{       <br />&#160;&#160;&#160; [WebMethod]       <br />&#160;&#160;&#160; public float GetCelsius(float temperature)       <br />&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return (5 / 9f) * (temperature &#8211; 32);       <br />&#160;&#160;&#160; }       <br />}</p>
</blockquote>
<p>This indicates that the Web methods inside the Web service can be called from client script.</p>
<p>&#160;</p>
<ul>
<li>Register the HTTP Handler <em><strong>ScriptHandlerFactory</strong> </em>inside the Web.config file<em>,</em> If not already done. </li>
</ul>
<blockquote>
<p>&lt;httpHandlers&gt;      <br />&#160; &lt;remove verb=&quot;*&quot; path=&quot;*.asmx&quot; /&gt;       <br />&#160; &lt;add verb=&quot;*&quot; path=&quot;*.asmx&quot; validate=&quot;false&quot;       <br />&#160; type=&quot;System.Web.Script.Services.ScriptHandlerFactory&quot; /&gt;       <br />&lt;/httpHandlers&gt;       </p>
</blockquote>
<p>&#160;</p>
<p>&#160;</p>
<ul>
<li>Add a <em><strong>ScriptManager</strong></em> control to your client page and to set a <em><strong>ServiceReference</strong></em> pointing to the XML Web service (.asmx file) </li>
</ul>
<blockquote>
<p>&lt;asp:ScriptManager runat=&quot;server&quot; ID=&quot;ScriptManager1&quot;&gt;      <br />&#160;&#160;&#160; &lt;Services&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;asp:ServiceReference Path=&quot;TempConversion.asmx&quot; /&gt;       <br />&#160;&#160;&#160; &lt;/Services&gt;       <br />&lt;/asp:ScriptManager&gt;       </p>
</blockquote>
<p>&#160;</p>
<p>&#160;</p>
<ul>
<li>Add a JavaScript method to your page to call the web service functionality. </li>
<li>Optionally, you can add another JavaScript method to your client page to serve as the      <br />callback handler. </li>
</ul>
<p>&#160;</p>
<blockquote>
<p>&lt;script type=&quot;text/javascript&quot;&gt;      </p>
<p>&#160;&#160;&#160; function GetCelsius() </p>
<p>&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var val = document.getElementById(&quot;TextBoxTemp&quot;);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; TempConversion.GetCelsius(val.value, FinishCallback);       <br />&#160;&#160;&#160; } </p>
<p>&#160;&#160;&#160; function FinishCallback(result)</p>
<p>&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var results = document.getElementById(&quot;LabelResults&quot;);       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; results.innerHTML = result;       <br />&#160;&#160;&#160; } </p>
<p>&lt;/script&gt;</p>
</blockquote>
<ul></ul>
<ul>Finally let us add the controls to the web page.</ul>
<p>&#160;</p>
<blockquote>
<p>Enter Fahrenheit Temperature:</p>
<p>&lt;br /&gt;      <br />&lt;asp:TextBox ID=&quot;TextBoxTemp&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;&amp;nbsp;       <br />&lt;asp:Label ID=&quot;LabelResults&quot; runat=&quot;server&quot; Text=&quot;&quot;&gt;&lt;/asp:Label&gt;       <br />&lt;br /&gt;       <br />&lt;input id=&quot;Button1&quot; type=&quot;button&quot; value=&quot;Calculate&quot; onclick=&quot;GetCelsius()&quot; /&gt; </p>
<p></p>
</blockquote>
<p>&#160;</p>
<p>Here we can see that the <em>GetCelsius </em>JavaScript method defined earlier is called when     <br />the user clicks the Calculate button. This triggers the Web service. The results are returned     <br />to the <em>FinishCallback</em> JavaScript method and then displayed in the Label control. </p>
<p>Figure below shows the call in action.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2012/06/tempconversion.png"><img loading="lazy" style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="tempconversion" border="0" alt="tempconversion" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2012/06/tempconversion_thumb.png" width="244" height="174" /></a></p>
<p>&#160;</p>
<h4>Conclusion</h4>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; For those who haven&#8217;t explored this feature yet, This is a handy feature built into ASP.NET AJAX for calling a web service from client side script with minimal coding effort. Do share your thoughts, comments and suggestions. Have a good day and happy programming !!!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2012/06/06/calling-a-web-service-from-client-script-using-ajax/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">132</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2012/06/tempconversion_thumb.png" medium="image">
			<media:title type="html">tempconversion</media:title>
		</media:content>
	</item>
		<item>
		<title>I received Microsoft Community Contributor award !!!</title>
		<link>https://muhammedsalimp.wordpress.com/2011/05/12/i-received-microsoft-community-contributor-award/</link>
					<comments>https://muhammedsalimp.wordpress.com/2011/05/12/i-received-microsoft-community-contributor-award/#comments</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Thu, 12 May 2011 17:24:45 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/?p=119</guid>

					<description><![CDATA[Yesterday during my routine mail checking, I noticed an unusual mail titled “Microsoft Community Contributor Award Site &#8211; Login to Access Your Benefits” On seeing this, a lot of thoughts flashed through my mind in an instant. I had heard this title before. I remembered that lately I had seen some people recognized with the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Yesterday during my routine mail checking, I noticed an unusual mail titled <strong>“Microsoft Community Contributor Award Site &#8211; Login to Access Your Benefits” </strong></p>
<p>On seeing this, a lot of thoughts flashed through my mind in an instant.</p>
<p>I had heard this title before. I remembered that lately I had seen some people recognized with the <strong>“Microsoft Community Contributor” </strong>award for their notable contributions to the online community. </p>
<p>But wait, Could this be that? No way!!! I don’t remember having done anything notable recently. To be frank, I haven’t been much into online communities for last 6-8 months.</p>
<p>Before that,&#160; yes I was a bit active in ASP.NET forums and have helped some people with some queries. Apart form that I have participated in some user group activities and written a very few articles in my blog. That is all I have done in my past. So could this be a recognition for that?</p>
<p>All these thoughts came to my mind even before opening the mail. I wasted no more time and opened the mail to find the below content.</p>
<hr />
<p><img src="https://i0.wp.com/www.microsoftcommunitycontributor.com/images/mcc_email_banner.jpg" />     <br />Dear Contributor,     <br />Congratulations again for being recognized with the Microsoft Community Contributor Award!     <br />The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN and Answers. The value of these resources is greatly enhanced by participants like you, who voluntarily contribute your time and energy to improve the online community experience for others.     <br />Becoming a Microsoft Community Contributor Award recipient includes access to important benefits, such as complimentary resources to support you in your commitment to Microsoft online communities. To find out more about the Microsoft Community Contributor Award and to claim your recognition, please visit this site: <a href="http://www.microsoftcommunitycontributor.com/">http://www.microsoftcommunitycontributor.com/</a>     </p>
<p>Thank you for your commitment to Microsoft online technical communities and congratulations again!    </p>
<p>Nestor Portillo    <br />Director     <br />Community &amp; Online Support, Microsoft </p>
<hr />
<p>No words can express my feelings after reading this. I was at the same time very very happy and also sorry that I was no more active in community these days.</p>
<p>If Microsoft recognizes smallest of efforts like those of mine in such a way, I think I am bound to give back a lot more to the community.</p>
<p>So that’s it guys. I have made up my mind to be active in community activities, both online and offline and service the community in the best way I can.</p>
<p>After all, awards does boost our morale <img style="border-style:none;" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/wlemoticon-winkingsmile.png" /></p>
<p>PS:- This award comes with a certificate, a badge and 12 months subscription to MS Press online reference</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/mcc-award-certificate.png"><img loading="lazy" style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="MCC-Award-Certificate" border="0" alt="MCC-Award-Certificate" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/mcc-award-certificate_thumb.png" width="244" height="191" /></a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/mcc11_logo_horizontal_full-color.png"><img loading="lazy" style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="MCC11_Logo_Horizontal_Full-color" border="0" alt="MCC11_Logo_Horizontal_Full-color" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/mcc11_logo_horizontal_full-color_thumb.png" width="244" height="102" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2011/05/12/i-received-microsoft-community-contributor-award/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">119</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="http://www.microsoftcommunitycontributor.com/images/mcc_email_banner.jpg" medium="image" />

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/wlemoticon-winkingsmile.png" medium="image">
			<media:title type="html">Winking smile</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/mcc-award-certificate_thumb.png" medium="image">
			<media:title type="html">MCC-Award-Certificate</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2011/05/mcc11_logo_horizontal_full-color_thumb.png" medium="image">
			<media:title type="html">MCC11_Logo_Horizontal_Full-color</media:title>
		</media:content>
	</item>
		<item>
		<title>TechEd on the road &#8211; 14th May at ParkCenter, Technopark,Trivandrum</title>
		<link>https://muhammedsalimp.wordpress.com/2011/05/11/teched-on-the-road-14th-may-at-parkcenter-technoparktrivandrum/</link>
					<comments>https://muhammedsalimp.wordpress.com/2011/05/11/teched-on-the-road-14th-may-at-parkcenter-technoparktrivandrum/#respond</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Wed, 11 May 2011 16:22:00 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[communitytechdays]]></category>
		<category><![CDATA[K-MUG]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tech-ed]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/2011/05/11/teched-on-the-road-14th-may-at-parkcenter-technoparktrivandrum/</guid>

					<description><![CDATA[For details and registration :- http://k-mug.org/content/ctd11.aspx  ]]></description>
										<content:encoded><![CDATA[<p><img src="https://i0.wp.com/k-mug.org/cfs-filesystemfile.ashx/__key/CommunityServer.Components.SiteFiles/teched.jpg" alt="" /></p>
<p><strong>For details and registration :-</strong></p>
<p><a title="http://k-mug.org/content/ctd11.aspx" href="http://k-mug.org/content/ctd11.aspx">http://k-mug.org/content/ctd11.aspx</a></p>
<p><strong> </strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2011/05/11/teched-on-the-road-14th-may-at-parkcenter-technoparktrivandrum/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">109</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="http://k-mug.org/cfs-filesystemfile.ashx/__key/CommunityServer.Components.SiteFiles/teched.jpg" medium="image" />
	</item>
		<item>
		<title>Regular Expressions through .Net – Part 1</title>
		<link>https://muhammedsalimp.wordpress.com/2010/09/27/regexdotnetpart1/</link>
					<comments>https://muhammedsalimp.wordpress.com/2010/09/27/regexdotnetpart1/#comments</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Mon, 27 Sep 2010 17:25:20 +0000</pubDate>
				<category><![CDATA[.Net]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/?p=100</guid>

					<description><![CDATA[Regular Expressions through .Net &#8211; Part 1 Introduction Basics Using Regular Expressions for Pattern Matching Introduction For decades, UNIX and Perl developers have used a complex but efficient technique for processing text: Regular Expressions. A regular expression is a set of characters that can be compared to a string to determine whether the string meets [&#8230;]]]></description>
										<content:encoded><![CDATA[<div>
<h3>Regular Expressions through .Net &#8211; Part 1</h3>
<ul>
<li>Introduction</li>
<li>Basics</li>
<li>Using Regular Expressions for Pattern Matching</li>
</ul>
<h4>Introduction</h4>
<p>For decades, UNIX and Perl developers have used a complex but efficient technique<br />
for processing text: <strong>Regular Expressions</strong>. A regular expression is a set of<br />
characters that can be compared to a string to determine whether the string meets<br />
specified format requirements. You can also use regular expressions to extract portions<br />
of the text or to replace text. Regular Expressions is still the most efficient<br />
way for processing text and in this article, we&#8217;ll look into how we can use Regular<br />
Expressions for text processing in .Net.</p>
<p>This is what <strong>Tony Northrup</strong>, author of more than a dozen technology books<br />
on the topics of development and networking and dozens of articles at <a href="http://www.microsoft.com" rel="nofollow">http://www.microsoft.com</a>,<br />
covering topics ranging from securing ASP.NET applications to designing firewalls<br />
to protect networks and computers, says about Regular Expressions in one of his<br />
books.</p>
<pre>            "I’m often stubborn to a fault. For many years, I simply refused to learn regular expressions.
Regular expressions were the UNIX way of doing things, and I was a Windows guy.
            Recently, I reviewed some code I wrote several years ago when I was still being stubborn.
I had written dozens of lines of code to check the validity of text data that could have been written
with a singular regular expression. That doesn’t bother me in itself, because sometimes writing more code
improves readability. However, in this case, the text checking had gotten so complex that the textchecking
code contained bugs.
            I rewrote the code using regular expressions, and it not only fixed the bugs, but it simplified the code.
So, for your own sake, don’t ignore regular expressions just because they seem overly complex. Dive in,
spend a few hours working with them, and you won’t regret it."</pre>
<p>I think same is the case with most of us <strong>.Net</strong> developers out here. We simply<br />
refuse to learn <strong>Regular Expressions</strong> because it seems overly complex. But<br />
once we spend a few hours working with them, <strong>Regular Expressions </strong>will be<br />
the first thing to come into our mind whenever we think of text processing.</p>
<p>Through this article we&#8217;ll try to pick up some basics of <strong>Regular Expressions</strong><br />
in <strong>.Net</strong></p>
<h4>Basics</h4>
<p>Regular expressions enable you to determine whether text matches almost any type<br />
of format. Regular expressions support dozens of special characters and operators.<br />
The most commonly used are</p>
<table border="1" cellpadding="5">
<tbody>
<tr>
<td>^</td>
<td>to match the beginning of a string</td>
</tr>
<tr>
<td>$</td>
<td>to match the end of a string</td>
</tr>
<tr>
<td>?</td>
<td>to make a character optional</td>
</tr>
<tr>
<td>*</td>
<td>to match zero or more characters</td>
</tr>
<tr>
<td>+</td>
<td>to match one or more characters</td>
</tr>
<tr>
<td>.</td>
<td>to match any character</td>
</tr>
</tbody>
</table>
<p>Below Table summarizes characters that can be used to match special characters in<br />
a string.</p>
<table border="1" cellpadding="5">
<tbody>
<tr>
<td>\t</td>
<td>Matches a tab. The same as \u0009.</td>
</tr>
<tr>
<td>\r</td>
<td>Matches a carriage return. The same as \u000D.</td>
</tr>
<tr>
<td>\v</td>
<td>Matches a vertical tab. The same as \u000B.</td>
</tr>
<tr>
<td>\n</td>
<td>Matches a new line. The same as \u000A.</td>
</tr>
<tr>
<td>\\</td>
<td>represents a single backslash. T</td>
</tr>
</tbody>
</table>
<p>The below table summarizes the regular expression characters used to match multiple<br />
characters or a range of characters.</p>
<table border="1" cellpadding="5">
<tbody>
<tr>
<td>*</td>
<td>Matches the preceding character or subexpression zero or more times.</td>
</tr>
<tr>
<td>+</td>
<td>Matches the preceding character or subexpression one or more times.</td>
</tr>
<tr>
<td>?</td>
<td>Matches the preceding character or subexpression zero or one time.</td>
</tr>
<tr>
<td>{n}</td>
<td>The n is a non-negative integer. Matches the preceding character or subexpression<br />
exactly n times.</td>
</tr>
<tr>
<td>{n,}</td>
<td>The n is a non-negative integer. Matches the preceding character or subexpression<br />
at least n times.</td>
</tr>
<tr>
<td>{n,m}</td>
<td>The m and n are non-negative integers, where n &lt;= m. Matches the preceding character<br />
or subexpression at least n and at most m times.</td>
</tr>
<tr>
<td>?</td>
<td>When this character immediately follows any of the other quantifiers [*, +, ?, {n},<br />
{n,}, {n,m}], the matching pattern is nongreedy. A nongreedy pattern matches as<br />
little of the searched string as possible, whereas the default greedy pattern matches<br />
as much of the searched string as possible.</td>
</tr>
<tr>
<td>.</td>
<td>Matches any single character except \n.</td>
</tr>
<tr>
<td>x|y</td>
<td>Matches either x or y.</td>
</tr>
<tr>
<td>[xyz]</td>
<td>A character set. Matches any one of the enclosed characters.</td>
</tr>
<tr>
<td>[a-z]</td>
<td>A range of characters. Matches any character in the specified range.</td>
</tr>
</tbody>
</table>
<p>Some symbols used in Regular Expressions</p>
<table border="1" cellpadding="5">
<tbody>
<tr>
<td>\d</td>
<td>Matches a digit character. Equivalent to [0-9].</td>
</tr>
<tr>
<td>\D</td>
<td>Matches a nondigit character. Equivalent to [^0-9].</td>
</tr>
<tr>
<td>\s</td>
<td>Matches any white-space character, including Space, Tab, and form-feed. Equivalent<br />
to [\f\n\r\t\v].</td>
</tr>
<tr>
<td>\S</td>
<td>Matches any non-white-space character. Equivalent to [^\f\n\r\t\v].</td>
</tr>
<tr>
<td>\w</td>
<td>Matches any word character, including underscore. Equivalent to [A-Za-z0-9_].</td>
</tr>
<tr>
<td>\W</td>
<td>Matches any nonword character. Equivalent to [^A-Za-z0-9_].</td>
</tr>
</tbody>
</table>
<h4>Using Regular Expressions for Pattern Matching</h4>
<p>For tesing <strong>Regular Expressions</strong>, Let&#8217;s create a console application which<br />
accepts two strings as input and determines whether the first string (a regular<br />
expression) matches the second string. The following code, which uses the <em>System.Text<br />
.RegularExpressions</em> namespace, performs this check using the static <em>System.Text<br />
.RegularExpressions.Regex.IsMatch</em> method and displays the results to<br />
the console:</p>
<pre>        public static void RegExPatternMatching()
        {
            Console.Write("Enter regular expression: ");
            string regularExpression = Console.ReadLine();
            Console.Write("Enter input for comparison: ");
            string input = Console.ReadLine();
            if (Regex.IsMatch(input, regularExpression))
                Console.WriteLine("Input matches regular expression.");
            else
                Console.WriteLine("Input DOES NOT match regular expression.");
        }</pre>
<p><a href="http://s779.photobucket.com/albums/yy74/muhammedsalimp/?action=view&amp;current=patternmatching2.png" target="_blank"><img src="https://i0.wp.com/i779.photobucket.com/albums/yy74/muhammedsalimp/patternmatching2.png" border="0" alt="Photobucket" /></a></p>
<p><a href="http://s779.photobucket.com/albums/yy74/muhammedsalimp/?action=view&amp;current=patternmatching1.png" target="_blank"><img src="https://i0.wp.com/i779.photobucket.com/albums/yy74/muhammedsalimp/patternmatching1.png" border="0" alt="Photobucket" /></a></p>
<p>As this code demonstrates, the <em>Regex.IsMatch</em> method compares a regular expression<br />
to a string and returns true if the string matches the regular expression. In this<br />
example, ^\d{5}$ means that the string must be exactly five numeric digits. The<br />
caret (^) represents the start of the string, \d means numeric digits, {5} indicates<br />
five sequential numeric digits, and $ represents the end of the string.</p>
<p>Now, If you remove the first character from the regular expression, you drastically<br />
change the meaning of the pattern. The regular expression \d{5}$ still matches valid<br />
five-digit numbers, such as 12345. However, it also matches the input string abcd12345<br />
or drop table customers – 12345. In fact, the modified regular expression will match<br />
any input string that ends in any five-digit number.</p>
<div style="border:solid 1px gray;font-style:italic;">Note: When validating input, always begin regular expressions with a caret (^) and<br />
end them with a dollar sign ($). This system ensures that the entire input exactly<br />
matches the specified regular expression and does not merely contain a matching<br />
input string.</div>
<p>If you want to match text beginning at the first character of a string, start the<br />
regular expression with a caret (^) symbol. For example, the regular expression<br />
<em>^abc</em> matches the strings <em>abc</em> and <em>abcde</em>, but it does not match<br />
<em>yzabc</em>. To match text that ends at the last character of a string, place a<br />
$ symbol at the end of the regular expression. For example, the regular expression<br />
<em>abc$</em> matches <em>abc</em> and <em>yzabc</em>, but it does not match <em>abcde</em>.<br />
To exactly match a string, include both ^ and $. For example, <em>^abc$</em> only<br />
matches <em>abc</em> and does not match <em>abcde</em> or <em>yzabc</em>. When searching<br />
for words, use the metacharacter \b to match a word boundary. For example, <em>car\b</em><br />
matches <em>car</em> or <em>tocar</em> but not <em>carburetor</em>. Similarly, <em>\B</em><br />
matches a nonword boundary and can be used to ensure that a character appears in<br />
the middle of a word. For example, car\B matches <em>carburetor</em> but not <em>tocar</em>.</p>
<p>You can also use regular expressions to match repeated characters. The * symbol<br />
matches the preceding character zero or more times. For example, <em>to*n</em> matches<br />
<em>ton</em>,<br />
<em>tooon</em>, or <em>tn</em>. The + symbol works similarly, but it must match one or more times.<br />
For example, <em>to+n</em> matches <em>ton</em> or <em>tooon</em>, but not <em>tn</em>.</p>
<p>To match a specific number of repeated characters, use {n}, where n is a digit.<br />
For example, <em>to{3}n</em> matches <em>tooon</em> but not <em>ton</em> or <em>tn</em>. To match a range of repeated<br />
characters, use {min,max}. For example, <em>to{1,3}n</em> matches <em>ton</em> or <em>tooon</em> but not<br />
<em>tn</em><br />
or <em>toooon</em>. To specify only a minimum, leave the second number blank. For example,<br />
<em>to{3,}n </em>requires three or more consecutive o characters.</p>
<p>To make a character optional, use the ? symbol. For example, <em>to?n</em> matches<br />
<em>ton</em> or<br />
<em>tn</em>, but not <em>tooon</em>. To match any single character, use the period (.). For example,<br />
<em>to.n</em> matches <em>totn</em> or <em>tojn</em> but not <em>ton</em> or <em>tn</em>.</p>
<p>To match one of several characters, use brackets. For example, <em>to[ro]n</em> would match<br />
<em>toon</em> or <em>torn</em> but not <em>ton</em> or <em>toron</em>. You can also match a range of characters. For<br />
example, <em>to[o-r]n</em> matches <em>toon</em>, <em>topn</em>, <em>toqn</em>, or <em>torn</em>, but it would not match<br />
<em>toan</em><br />
or <em>toyn</em>.</p>
<p>To match a group of characters, surround the characters with parentheses. For example,<em><br />
foo(loo){1,3}hoo </em>would match <em>fooloohoo</em> and <em>fooloolooloohoo</em> but not<br />
<em>foohoo</em> or <em>foololohoo</em>.<br />
Similarly, <em>foo(loo|roo)hoo</em> would match either <em>fooloohoo</em> or <em>fooroohoo</em>. You can apply<br />
any wildcard or other special character to a group of characters.</p>
<p>Well. I hope that is more than what a beginner can digest of Regular Expressions in one stretch. In the next part, We would try to learn more advanced topics like Back-referencing, Specifying Regular Expression options, Extracting matched data etc.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2010/09/27/regexdotnetpart1/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">100</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="http://i779.photobucket.com/albums/yy74/muhammedsalimp/patternmatching2.png" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i779.photobucket.com/albums/yy74/muhammedsalimp/patternmatching1.png" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>
	</item>
		<item>
		<title>DevCon 2010 – Day 2 on 4th Sept at Trivandrum</title>
		<link>https://muhammedsalimp.wordpress.com/2010/08/15/devcon-2010-day-2-on-4th-sept-at-trivandrum/</link>
					<comments>https://muhammedsalimp.wordpress.com/2010/08/15/devcon-2010-day-2-on-4th-sept-at-trivandrum/#respond</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Sun, 15 Aug 2010 15:35:53 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[DevCon 2010]]></category>
		<category><![CDATA[K-MUG]]></category>
		<category><![CDATA[UG Sessions]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/2010/08/15/devcon-2010-day-2-on-4th-sept-at-trivandrum/</guid>

					<description><![CDATA[DevCon 2010 – Day 2 (4th Sept- Saturday) at ParkCenter, Technopark, Trivandrum Why attend DevCon 2010? Because you’ll return to the office with cutting-edge insights and expertise that will make life easier for you (and everyone else) at work. Immerse yourself in IT learning opportunities and get your questions answered by renowned technology experts. Even [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" title="devcon logo" alt="" src="https://i0.wp.com/www.sreesharp.com/devcon2010/wp-content/uploads/2010/06/devconlogo.png" width="372" height="109" /></p>
<p><b>DevCon 2010 – </b><strong>Day 2 (4th Sept- Saturday) </strong><b>at ParkCenter, Technopark, Trivandrum</b></p>
<p><strong>Why attend DevCon 2010?</strong></p>
<p>Because you’ll return to the office with cutting-edge insights and expertise that will make life easier for you (and everyone else) at work. Immerse yourself in IT learning opportunities and get your questions answered by renowned technology experts. Even more importantly, engage and collaborate with Microsoft MVPs and thousands of your IT peers, building connections that will last beyond your two days at DevCon.</p>
<p><strong>When</strong></p>
<p>04 – Sept 2010</p>
<p><strong>Where</strong></p>
<p>ParkCenter, Technopark, Trivandrum, Kerala, India</p>
<p><b>Sessions </b></p>
<p><strong>08:30AM – 09:30AM – Registration Confirmation</strong>     <br />09:30AM – 10:30AM – Functional programing with F#     <br />10:30AM – 11:30AM – Power Shell – Your Wish is my Command     <br /><strong>11:30AM – 11:45AM – Tea Break</strong>     <br />11:45AM – 12:00PM – Visual Studio 2010 tips     <br />12:30PM – 01:15PM – <a href="http://ASP.NET">ASP.NET</a> MVC2     <br /><strong>01:15PM – 02:00PM – Lunch</strong>     <br />02:00PM – 02:45PM – Great Developer Contest – Final     <br />02:45PM – 03:45PM – Office Addins with Visual Studio 2010     <br />03:45PM – 04:30PM – Entity Framework 4     <br />04:15PM – 05:00PM – Closing Ceremony</p>
<p><strong>Register</strong></p>
<p><a href="http://www.eventbrite.com/event/796429141?ref=ebtn"><img border="0" alt="Register for DevCon 2010 - Day 2 in Trivandrum, India  on Eventbrite" src="http://www.eventbrite.com/registerbutton?eid=796429141" /></a></p>
<p><a href="http://k-mug.org/"><img loading="lazy" title="K-MUG" alt="" src="https://i0.wp.com/k-mug.org/images/logo.png" width="230" height="71" /></a></p>
<p><strong>Note:      <br /></strong></p>
<p>Online registration is only to get the entry pass to registration counter at the venue. Registration desk at the venue will provide the tickets to the conference hall (with limited seats) based on first-come-first-serve.</p>
<p><strong>Event Details</strong></p>
<p><strong><a href="http://k-mug.org/events/devcon2010/">http://k-mug.org/events/devcon2010/</a></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2010/08/15/devcon-2010-day-2-on-4th-sept-at-trivandrum/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">95</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="http://www.sreesharp.com/devcon2010/wp-content/uploads/2010/06/devconlogo.png" medium="image">
			<media:title type="html">devcon logo</media:title>
		</media:content>

		<media:content url="http://www.eventbrite.com/registerbutton?eid=796429141" medium="image">
			<media:title type="html">Register for DevCon 2010 - Day 2 in Trivandrum, India  on Eventbrite</media:title>
		</media:content>

		<media:content url="http://k-mug.org/images/logo.png" medium="image">
			<media:title type="html">K-MUG</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server Identity Functions &#8211; Practical Usage</title>
		<link>https://muhammedsalimp.wordpress.com/2010/07/21/identity-vs-scope_identity-vs-ident_current/</link>
					<comments>https://muhammedsalimp.wordpress.com/2010/07/21/identity-vs-scope_identity-vs-ident_current/#comments</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Wed, 21 Jul 2010 17:07:21 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[@@identity]]></category>
		<category><![CDATA[identity functions]]></category>
		<category><![CDATA[ident_current]]></category>
		<category><![CDATA[scope_identity]]></category>
		<category><![CDATA[sql server]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/2010/07/21/identity-vs-scope_identity-vs-ident_current/</guid>

					<description><![CDATA[Introduction Definitions Practical Usage Conclusion Introduction From version 2005 onwards, SQL Server supports 3 functions for retrieving last inserted Identity value. They are @@IDENTITY SCOPE_IDENTITY() IDENT_CURRENT Actually these three methods serve different purposes and are meant to be used in different situations. But in most of the situation, we make a blind choice of using [&#8230;]]]></description>
										<content:encoded><![CDATA[<div>
<ul style="font-style:normal;font-weight:bold;">
<li>Introduction</li>
<li>Definitions</li>
<li>Practical Usage</li>
<li>Conclusion</li>
</ul>
<h3><a>Introduction</a></h3>
<p>From version 2005 onwards, <strong>SQL Server</strong> supports 3 functions for retrieving last inserted Identity value. They are</p>
<ul style="font-style:normal;font-weight:bold;">
<li>@@IDENTITY</li>
<li>SCOPE_IDENTITY()</li>
<li>IDENT_CURRENT</li>
</ul>
<p>Actually these three methods serve different purposes and are meant to be used in different situations. But in most of the situation, we make a blind choice of using <strong>@@IDENTITY</strong> whenever we want to retrieve last inserted identity value. Later on we start getting unexpected results and that is when we start wondering what went wrong. So let’s look into each of these in detail and see when to use each.</p>
<h3><a>Definitions</a></h3>
<h5>@@IDENTITY</h5>
<p>Returns the last identity values that are generated in any table in the current session. Here current session denotes current connection.</p>
<h5>SCOPE_IDENTITY</h5>
<p>Returns the last identity value inserted into an identity column in the same scope. Here a scope means a stored procedure, trigger, function, or batch.</p>
<h5>IDENT_CURRENT</h5>
<p>Returns the last identity value generated for a specified table or view. The last identity value generated can be for any session and any scope.</p>
<p>Confusing enough? Let’s try out these functions and see the results for ourselves.</p>
<h3><a>Practical Usage</a></h3>
<p>First of all let us create 2 tables – Orders and OrderLog.</p>
<pre>CREATE TABLE Orders
(
	OrderID bigint IDENTITY(1,1),
	OrderName varchar(50)
)

CREATE TABLE OrderLog
(
	OrderLogID bigint IDENTITY(1000,5),
	OrderID bigint
)
</pre>
<p>Here [Orders] table has identity values starting at 1 with an increment of 1 while [OrdersLog] has identity values starting at 1000 with an increment of 5.</p>
<p>Now let us create an after insert trigger for Orders table for making entries in OrderLog table.</p>
<pre>CREATE TRIGGER Order_After_Insert_Trigger
	ON Orders
AFTER INSERT
AS
	BEGIN
		INSERT INTO OrderLog
		SELECT OrderID FROM INSERTED
	END
GO
</pre>
<p>Now let us insert a record into Orders.</p>
<pre>INSERT INTO Orders
VALUES
('Order1')

SELECT * FROM Orders
SELECT * FROM OrderLog
</pre>
<p>Now our tables look like this</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/tables.png"><img loading="lazy" style="display:inline;border-width:0;" title="Tables" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/tables_thumb.png" border="0" alt="Tables" width="173" height="192" /></a></p>
<p>Now let’s check what each of our system functions return.</p>
<pre>SELECT @@IDENTITY AS [@@IDENTITY]
SELECT SCOPE_IDENTITY() AS [SCOPE_IDENTITY]
SELECT IDENT_CURRENT('Orders') AS [IDENT_CURRENT]
</pre>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/output1.png"><img loading="lazy" style="display:inline;border-width:0;" title="Output1" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/output1_thumb.png" border="0" alt="Output1" width="189" height="244" /></a></p>
<p>Here <strong>@@IDENTITY</strong> returns the identity value generated by trigger because that is also in the current session. But it is out of current scope and hence not considered by <strong>SCOPE_IDENTITY()</strong>. <strong>IDENT_CURRENT</strong> is not bothered about session and scope. It just returns the last generated identity value in the given table.</p>
<p>Now let’s open a new session to the server. Opening a new query window will open a new session with the server.</p>
<p>Now we’ll insert a new record to the Orders table and check values for our system functions through this new session.</p>
<pre>INSERT INTO Orders
VALUES
('Order2')

SELECT @@IDENTITY AS [@@IDENTITY]
SELECT SCOPE_IDENTITY() AS [SCOPE_IDENTITY]
SELECT IDENT_CURRENT('Orders') AS [IDENT_CURRENT]
</pre>
<p>Now our tables look like this</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/ordertablessecond.png"><img loading="lazy" style="display:inline;border-width:0;" title="OrderTablesSecond" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/ordertablessecond_thumb.png" border="0" alt="OrderTablesSecond" width="191" height="134" /></a><br />
And our system functions show values as expected.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/identityvaluessecond.png"><img loading="lazy" style="display:inline;border-width:0;" title="identity values second" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/identityvaluessecond_thumb.png" border="0" alt="identity values second" width="191" height="165" /></a><br />
So far so good.</p>
<p>Now lets go back to our first query window and check values for system functions.</p>
<pre>SELECT @@IDENTITY AS [@@IDENTITY]
SELECT SCOPE_IDENTITY() AS [SCOPE_IDENTITY]
SELECT IDENT_CURRENT('Orders') AS [IDENT_CURRENT]
</pre>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/output3.png"><img loading="lazy" style="display:inline;border-width:0;" title="Output3" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/output3_thumb.png" border="0" alt="Output3" width="170" height="232" /></a></p>
<p>Here since <strong>@@IDENTITY</strong> and <strong>SCOPE_IDENTITY</strong> are interested only in events happening within the current session, They still show the previous values. But <strong>IDENT_CURRENT</strong> is not limited by Session or Scope. It just returns last generated identity value for that particular table.</p>
<h3><a>Conclusion</a></h3>
<p>So we&#8217;ve just went through the different Identity functions available in <strong>SQL Server</strong>. We have gone through the differences between each of them with examples and can now easily make the right choice from them depending upon the situation.</p>
<p>So that&#8217;s all for now, Guys.</p>
<p>Thanks for reading the article.</p>
<p>Do post your Comments, Suggestions and Views.</p>
<p>Have a nice day and happy programming !!!</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2010/07/21/identity-vs-scope_identity-vs-ident_current/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">82</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/tables_thumb.png" medium="image">
			<media:title type="html">Tables</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/output1_thumb.png" medium="image">
			<media:title type="html">Output1</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/ordertablessecond_thumb.png" medium="image">
			<media:title type="html">OrderTablesSecond</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/identityvaluessecond_thumb.png" medium="image">
			<media:title type="html">identity values second</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/output3_thumb.png" medium="image">
			<media:title type="html">Output3</media:title>
		</media:content>
	</item>
		<item>
		<title>DevCon 2010 Experience</title>
		<link>https://muhammedsalimp.wordpress.com/2010/07/16/devcon-2010-experience/</link>
					<comments>https://muhammedsalimp.wordpress.com/2010/07/16/devcon-2010-experience/#comments</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Fri, 16 Jul 2010 23:59:49 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[DevCon 2010]]></category>
		<category><![CDATA[K-MUG]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/2010/07/07/devcon-2010-experience/</guid>

					<description><![CDATA[Recap The Event Conclusion Recap &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; DevCon-2010 was a two day developer conference organized by Kerala Microsoft User Group (K-Mug). The event was originally&#160; scheduled as a two day event to be held on on 3rd and 4th of July 2010 with about 14 core technical sessions by Technology experts on various verticals. K-Mug had [&#8230;]]]></description>
										<content:encoded><![CDATA[<ul>
<li>Recap </li>
<li>The Event </li>
<li>Conclusion </li>
</ul>
<p><strong>Recap</strong></p>
<p><span style="color:#333333;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://k-mug.org/events/devcon2010/" target="_blank">DevCon-2010</a> was a two day developer conference organized by Kerala Microsoft User Group (<a href="http://k-mug.org/" target="_blank">K-Mug</a>). The event was originally&#160; scheduled as a two day event to be held on on 3rd and 4th of July 2010 with about 14 core technical sessions by Technology experts on various verticals. K-Mug had also organized some cool contests as part of the event. All tickets were sold out pretty soon after registration started and about 250+ participants were expected for the event. </span></p>
<p>You can view the event details <a href="http://k-mug.org/events/devCon2010/" target="_blank">here</a></p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1212.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1212" border="0" alt="IMG_1212" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1212_thumb.jpg" width="244" height="184" /></a> </p>
<p><strong>The Event</strong></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Finally the big day came. DevCon team reached Park Center early morning and started arrangements. Registration was started by about 8.30 AM. and was almost completed by 9.30. There have been some last minute cancellation by many participants and venue was only half occupied. Audience was a right mix of professionals ranging form junior developers to seasoned veterans, Analysts, Architects, Administrators, Trainers and Students. The event was also streamed live. Due to some unforeseen reasons, there was major shortage of participants which forced K-Mug to cut short two day program to a single day. As a result schedule for some sessions had to be cut short.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1230.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1230" border="0" alt="IMG_1230" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1230_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Sreejumon started of the sessions with the welcome speech. This was followed by Janakiram’s<strong> </strong>Key Note Session on&#160; “Cloud – The Meta Platform”. He explained the concepts of cloud computing with special focus on Windows Azure platform. He put across the&#160; theoretical aspects in a very nice way and promised another walkthrough session afternoon.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_0438.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_0438" border="0" alt="IMG_0438" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_0438_thumb.jpg" width="244" height="184" /></a></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Janakiram’s session was followed by Anoop Madhusoodhanan’s session on “New features in .NET 4.0 &amp; Visual Studio 2010”. The “Amazed saint” really fascinated audience by some of the very cool features in Visual Studio 2010 and .Net framework 4.0. However due to time limit, He had to cut short his session a little bit. After the session, there was a small tea break.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1175.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1175" border="0" alt="IMG_1175" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1175_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; When the sessions resumed after the tea break, Ramaprasanna took audience into the world of “Robotics Programming”. He demonstrated the Simulation of robotics applications in 3D physics-based virtual environments. He also showed videos of his hobby project titled “Buddy home”. The audience were really fascinated by the presentation.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1178.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1178" border="0" alt="IMG_1178" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1178_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Ramaprasanna’s session was followed by Manu Zacharia’s session on “Web Security and Security Auditing”.He shed light on many hacking incidents which happened in recent times and also gave tips on how to be secure on the web. After Manu’s session, participants parted for a short lunch break.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1194.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1194" border="0" alt="IMG_1194" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1194_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; First post lunch session was by Vijay Raj who is popularly known as “msigeek”. He took a wonderful session on “Managing Application Compatibility in Windows 7”. He talked about Microsoft Application compatibility Toolkit, Shim etc along with other topics and demonstrated some cool ways of addressing compatibility issues.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1204.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1204" border="0" alt="IMG_1204" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1204_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Vijay’s session was followed by Janakiram who demonstrated a walkthrough of creating a deploying a cloud application. He created a twitter like application with a web and windows interface which also used WCF for communication. By the end of his presentation we had&#160; the application hosted in cloud production environment. After this session we again parted for&#160; a small tea break.</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; After tea break, Jeen Shene Stanislaus gave&#160; a presentation on “Tuning Tools in SQL Server 2008”. She demonstrated various best practices which helps in increased database performance. She also demonstrated usage of various tools within SQL server 2008 for monitoring performance.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1219.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1219" border="0" alt="IMG_1219" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1219_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; After Jeen’s session, It was Praseed Pai’s turn. His topic was “Mixed Mode Windows development using C# and C++”. However due to shortage of time and since he believed that he couldn’t do justice to his the original topic in half an hour, He decided to cover a small topic related to invoking native dlls created in C++ from C#.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1226.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1226" border="0" alt="IMG_1226" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1226_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; After Praseed’s session, Time had come&#160; for the much awaited “Office 2010 Launch”. Presentation was done by Vijay. Vijay again rocked on stage ;). He used a fifa world cup based scenario and explained how new office 2010 features can boost our productivity. With that, the technical sessions came to an end.</p>
<p><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1229.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1229" border="0" alt="IMG_1229" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1229_thumb.jpg" width="244" height="184" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Sreejumon started off with the Closing Ceremony and price distribution followed. There was a lucky draw. Feedback form was also collected from all participants, Which will help us to analyze and improve our activities. The developer contests and blogging contests were extended until next event. Office 2010 evaluation DVDs were also distributed to the participants.&#160; So with that DevCon 2010 came to an end.</p>
<p><strong>Conclusion</strong></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Overall, DevCon 2010 was a wonderful event from a participant’s perspective. Even though participation did not come to an expected level due to which we had to cut short some sessions, There was a lot of takeaways from the sessions. Also I got&#160; a chance to volunteer the event and work with core K-Mug team which was another great experience. Also made a lot of contacts and yes the impact will last beyond the planned 2 days at DevCon for sure !!!</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; After the event the K-mug core team along with speakers gathered for&#160; a yummy dinner and the next day we had a great outing. I’m planning to write about the details as another entry and will publish soon.</p>
<p>&#160;<a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1240.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1240" border="0" alt="IMG_1240" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1240_thumb.jpg" width="244" height="184" /></a> <a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1251.jpg"><img loading="lazy" style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_1251" border="0" alt="IMG_1251" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1251_thumb.jpg" width="244" height="184" /></a></p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
<p><em>Pictures: Courtesy of msigeek </em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2010/07/16/devcon-2010-experience/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1212_thumb.jpg" medium="image">
			<media:title type="html">IMG_1212</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1230_thumb.jpg" medium="image">
			<media:title type="html">IMG_1230</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_0438_thumb.jpg" medium="image">
			<media:title type="html">IMG_0438</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1175_thumb.jpg" medium="image">
			<media:title type="html">IMG_1175</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1178_thumb.jpg" medium="image">
			<media:title type="html">IMG_1178</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1194_thumb.jpg" medium="image">
			<media:title type="html">IMG_1194</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1204_thumb.jpg" medium="image">
			<media:title type="html">IMG_1204</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1219_thumb.jpg" medium="image">
			<media:title type="html">IMG_1219</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1226_thumb.jpg" medium="image">
			<media:title type="html">IMG_1226</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1229_thumb.jpg" medium="image">
			<media:title type="html">IMG_1229</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1240_thumb.jpg" medium="image">
			<media:title type="html">IMG_1240</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/img_1251_thumb.jpg" medium="image">
			<media:title type="html">IMG_1251</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server Error – “Saving changes is not permitted. The change you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.”</title>
		<link>https://muhammedsalimp.wordpress.com/2010/07/16/sql-server-error-saving-changes-is-not-permitted-the-change-you-have-made-require-the-following-tables-to-be-dropped-and-re-created-you-have-either-made-changes-to-a-table-that-cant/</link>
					<comments>https://muhammedsalimp.wordpress.com/2010/07/16/sql-server-error-saving-changes-is-not-permitted-the-change-you-have-made-require-the-following-tables-to-be-dropped-and-re-created-you-have-either-made-changes-to-a-table-that-cant/#comments</comments>
		
		<dc:creator><![CDATA[muhammedsalimp]]></dc:creator>
		<pubDate>Fri, 16 Jul 2010 23:51:00 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Error Saving changes is not permitted ALTER TABLE error]]></category>
		<guid isPermaLink="false">http://muhammedsalimp.wordpress.com/2010/07/15/sql-server-error-saving-changes-is-not-permitted-the-change-you-have-made-require-the-following-tables-to-be-dropped-and-re-created-you-have-either-made-changes-to-a-table-that-cant/</guid>

					<description><![CDATA[Scenario Interpreting the error Finding the root cause About this SQL Server feature Solution Conclusion Scenario You are very likely to run into this error if you are a beginner with SQL Server 2008. You could be working with SQL Server Management Studio and trying to do any of the following actions Adding a new [&#8230;]]]></description>
										<content:encoded><![CDATA[<div>
<ul>
<li>Scenario </li>
<li>Interpreting the error </li>
<li>Finding the root cause </li>
<li>About this SQL Server feature </li>
<li>Solution </li>
<li>Conclusion </li>
</ul>
<h3><a name="#Scenario">Scenario</a> </h3>
<p> You are very likely to run into this error if you are a beginner with <b>SQL Server 2008</b>. You could be working with <b>SQL Server Management Studio</b> and trying to do any of the following actions     </p>
<ul>
<li>Adding a new column to the middle of the table </li>
<li>Dropping a column </li>
<li>Changing column nullability </li>
<li>Changing the order of the columns </li>
<li>Changing the data type of a column </li>
</ul>
<p>Suddenly <b>SQL Server</b> throws this error at you </p>
<p style="background-color:yellow;font-style:italic;">“Saving changes is not permitted. The change you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.” </p>
<p>And you might be wondering what on earth you did that prevents you from just altering a table which might actually be created by you !!!</p>
<p>   <a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/savingchngesnotpermitted.png"><img border="0" alt="" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/savingchngesnotpermitted.png?w=300" /></a>     </p>
<h3><a name="#Interpreting">Interpreting the error</a></h3>
<p> OK. So let’s try to understand what this error message is trying to say to us. It says that the changes that we are attempting requires the table to be dropped and recreated. So either the table that we are attempting to change can’t be re-created or you have enabled some option to prevent saving changes to a table that requires the table to be re-created.     <br />Here the first case cannot be true, because if we created a table, we should be able to drop and re-create it. So what about the second possibility? You may not remember enabling any option like that. What if by default <b>SQL Server</b> installation enables that option? Let’s find out.     </p>
<h3><a name="_Finding">Finding Root Cause</a> </h3>
<p>So let’s check the option that was mentioned above. To change this option, on the Tools menu, click Options, expand Designers, and then click Table and Database Designers. There we can see the Prevent saving changes that require the table to be re-created check box as selected.</p>
<p>   <a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/toolsoptions.png"><img border="0" alt="" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/toolsoptions.png?w=300" /></a>     <br /><a href="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/optionsdesigners.png"><img border="0" alt="" src="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/optionsdesigners.png?w=300" /></a>     </p>
<p>So we have identified the root cause of this error message.      <br />By default <b>SQL Server</b> installation enables the option to Prevent saving changes that require table to be re-created.       <br />Now what? If you disable the option what would happen? Of course this error message may disappear. But is there any side effects ?       <br />In order to answer this question, We need to find out what this option is for.       <br />So Let&#8217;s find it out. </p>
<h3><a name="#About">About this SQL Server feature</a> </h3>
<p> Here’s Microsoft’s word about this issue. (From MSDN)     </p>
<div style="background-color:inactivecaption;font-style:italic;">
<p>Important We strongly recommend that you do not work around this problem by turning off the Prevent saving changes that require table re-creation option.        <br />If you disable this option, you are not warned when you save the table that the changes that you made have changed the metadata structure of the table. In this case, data loss may occur when you save the table.         <br />Risk of turning off the &quot;Prevent saving changes that require table re-creation&quot; option         <br />Although turning off this option can help you avoid re-creating a table, it can also lead to changes being lost. For example, suppose that you enable the Change Tracking feature in SQL Server 2008 to track changes to the table. When you perform an operation that causes the table to be re-created, you receive the error message that is mentioned in the &quot;Symptoms&quot; section. However, if you turn off this option, the existing change tracking information is deleted when the table is re-created. Therefore, we recommend that you do not work around this problem by turning off the option.</p>
<p>To determine whether the Change Tracking feature is enabled for a table, follow these steps:</p>
<ul>
<li>In SQL Server Management Studio, locate the table in Object Explorer. </li>
<li>Right-click the table, and then click Properties. </li>
<li>In the Table Properties dialog box, click Change Tracking. </li>
</ul>
<p>If the value of the Change Tracking item is True, this option is enabled for the table. If the value is False, this option is disabled. When the Change Tracking feature is enabled, use Transact-SQL statements to change the metadata structure of the table.</p>
</p></div>
<h3><a name="#Solution">Solution</a> </h3>
<p>Now that we have found out the root cause and what this option is for, our recommended solution would be to script out the changes to a <b>SQL</b> file and execute them, or to simply write out our own <b>T-SQL</b> to make the changes. Although the other workaround will work it is not recommended (At least not as a permanent solution). </p>
<h3><a name="#Conclusion">Conclusion</a></h3>
<p>We have seen one of the common error messages that occurs in SQL Server 2008 while we try to make changes to table structures. We have interpreted the error message, found out the root cause and understood about this feature in SQL Server. We have found out the recommended solution for this problem and also looked into another workaround which works but is not recommended.      <br />So that&#8217;s all for now, Guys.       <br />Thanks for reading the article.       <br />Do post your Comments, Suggestions and Views.       <br />Have a nice day and happy programming !!! </p>
</p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://muhammedsalimp.wordpress.com/2010/07/16/sql-server-error-saving-changes-is-not-permitted-the-change-you-have-made-require-the-following-tables-to-be-dropped-and-re-created-you-have-either-made-changes-to-a-table-that-cant/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">44</post-id>
		<media:content url="https://2.gravatar.com/avatar/ef9bebea0195148f0209bd8af2432bf460d1269fe47e09cdf94c47f7e7285cb7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">muhammedsalimp</media:title>
		</media:content>

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/savingchngesnotpermitted.png?w=300" medium="image" />

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/toolsoptions.png?w=300" medium="image" />

		<media:content url="https://muhammedsalimp.wordpress.com/wp-content/uploads/2010/07/optionsdesigners.png?w=300" medium="image" />
	</item>
	</channel>
</rss>
