<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Rami Vemula</title>
	
	<link>http://www.intstrings.com/ramivemula</link>
	<description>This blog is all about ASP.NET articles. It mainly concentrates on asp.net (.net both 3.5, 4.0) projects, jobs, book reviews and articles.</description>
	<lastBuildDate>Thu, 17 May 2012 19:05:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RamiVemula" /><feedburner:info uri="ramivemula" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>RamiVemula</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Extension Methods with Lambda Expressions and IEnumerable Interface Implementation</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/Po27IP8cO2U/</link>
		<comments>http://www.intstrings.com/ramivemula/articles/extension-methods-with-lambda-expressions-and-ienumerable-interface-implementation/#comments</comments>
		<pubDate>Thu, 17 May 2012 19:05:27 +0000</pubDate>
		<dc:creator>RamiVemula</dc:creator>
				<category><![CDATA[ARTICLE]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[C# 4.0]]></category>
		<category><![CDATA[Generics]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1404</guid>
		<description><![CDATA[&#160; Often we write lot of extension methods which helps us in consolidating logic and performing operations on objects in a easy way. In this tutorial I m going to narrate on how to implement IEnumerable&#60;T&#62; on extension methods which helps us in extending our extension method on every object which implements IEnumerable implementation say [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Often we write lot of extension methods which helps us in consolidating logic and performing operations on objects in a easy way. In this tutorial I m going to narrate on how to implement IEnumerable&lt;T&gt; on extension methods which helps us in extending our extension method on every object which implements IEnumerable implementation say Arrays, Lists, Custom object etc. So we get wide coverage of different objects on which we can use our extension method.</p>
<p>Also in this tutorial, I have used Func&lt;T,TResult&gt; Delegate, using which I passed a Lambda function as a parameter to our extension method. With this we get flexibility to use lambda expression so that we can achieve anonymous methods and clean code.</p>
<p>Lets first get started by creating a Domain Model &#8211; </p>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Threading.Tasks;

<span class="kwrd">namespace</span> ExtensionsDemo
{
    <span class="kwrd">class</span> Question
    {
        <span class="kwrd">public</span> <span class="kwrd">int</span> QuestionId { get; set; }
        <span class="kwrd">public</span> <span class="kwrd">string</span> QuestionTitle { get; set; }
        <span class="kwrd">public</span> <span class="kwrd">string</span> QuestionText { get; set; }
        <span class="kwrd">public</span> List&lt;<span class="kwrd">string</span>&gt; QuestionTags { get; set; }
    }
}</pre>
<p>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>Now lets create an implementation(wrapper) for our Question Class – QuestionsBag, which will list out all questions. We are going to use our extension method on top of an instance of this object. This class implements IEnumerable&lt;Question&gt; interface.</p>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Threading.Tasks;
<span class="kwrd">using</span> System.Collections;

<span class="kwrd">namespace</span> ExtensionsDemo
{
    <span class="kwrd">class</span> QuestionsBag : IEnumerable&lt;Question&gt;
    {
        <span class="kwrd">public</span> List&lt;Question&gt; Questions { get; set; }

        <span class="kwrd">public</span> IEnumerator&lt;Question&gt; GetEnumerator()
        {
            <span class="kwrd">return</span> Questions.GetEnumerator();
        }

        IEnumerator IEnumerable.GetEnumerator()
        {
            <span class="kwrd">return</span> GetEnumerator();
        }
    }
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>Create Extensions Class for writing a Search extension for our QuestionsBag.</p>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Text;

<span class="kwrd">namespace</span> ExtensionsDemo
{
    <span class="kwrd">static</span> <span class="kwrd">class</span> Extensions
    {
        <span class="kwrd">public</span> <span class="kwrd">static</span> IEnumerable&lt;Question&gt; Search(<span class="kwrd">this</span> QuestionsBag bag, Func&lt;Question, <span class="kwrd">bool</span>&gt; searchCriteria)
        {
            <span class="kwrd">foreach</span> (Question _question <span class="kwrd">in</span> bag)
            {
                <span class="kwrd">if</span> (searchCriteria(_question))
                    <span class="kwrd">yield</span> <span class="kwrd">return</span> _question;
            }
        }
    }
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>Now the implementation would be as follows &#8211; </p>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Threading.Tasks;

<span class="kwrd">namespace</span> ExtensionsDemo
{
    <span class="kwrd">class</span> Program
    {
        <span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
        {
            QuestionsBag bag = <span class="kwrd">new</span> QuestionsBag();
            bag.Questions = <span class="kwrd">new</span> List&lt;Question&gt;();

            bag.Questions.Add(
                <span class="kwrd">new</span> Question
                {
                    QuestionId = 1,
                    QuestionTitle = <span class="str">&quot;What is ASP.Net MVC?&quot;</span>,
                    QuestionText = <span class="str">&quot;ASP.Net MVC&quot;</span>,
                    QuestionTags = <span class="kwrd">new</span> List&lt;<span class="kwrd">string</span>&gt;{ <span class="str">&quot;MVC&quot;</span>, <span class="str">&quot;Web&quot;</span> }
                });

            bag.Questions.Add(
                <span class="kwrd">new</span> Question
                {
                    QuestionId = 2,
                    QuestionTitle = <span class="str">&quot;What is SQL Server?&quot;</span>,
                    QuestionText = <span class="str">&quot;SQL Server&quot;</span>,
                    QuestionTags = <span class="kwrd">new</span> List&lt;<span class="kwrd">string</span>&gt; { <span class="str">&quot;SQL&quot;</span>, <span class="str">&quot;DB&quot;</span> }
                });

            bag.Questions.Add(
                <span class="kwrd">new</span> Question
                {
                    QuestionId = 3,
                    QuestionTitle = <span class="str">&quot;What is WCF?&quot;</span>,
                    QuestionText = <span class="str">&quot;WCF&quot;</span>,
                    QuestionTags = <span class="kwrd">new</span> List&lt;<span class="kwrd">string</span>&gt; { <span class="str">&quot;WCF&quot;</span>, <span class="str">&quot;Services&quot;</span> }
                });

            bag.Questions.Add(
                <span class="kwrd">new</span> Question
                {
                    QuestionId = 4,
                    QuestionTitle = <span class="str">&quot;What is ASP.Net?&quot;</span>,
                    QuestionText = <span class="str">&quot;ASP.Net&quot;</span>,
                    QuestionTags = <span class="kwrd">new</span> List&lt;<span class="kwrd">string</span>&gt; { <span class="str">&quot;ASP.Net&quot;</span>, <span class="str">&quot;Web&quot;</span> }
                });

            IEnumerable&lt;Question&gt; result = bag.Search(p =&gt; p.QuestionTags.Contains(<span class="str">&quot;Web&quot;</span>) &amp;&amp; p.QuestionTitle.Contains(<span class="str">&quot;What&quot;</span>));

            Console.WriteLine(<span class="str">&quot;Total question found - &quot;</span> + result.Count().ToString());
            <span class="kwrd">foreach</span> (Question _question <span class="kwrd">in</span> result)
            {
                Console.WriteLine(_question.QuestionTitle);
            }

            Console.ReadLine();
        }
    }
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>When you run the above code, you should be able to search all questions which got “Web” tag associated with it and also which contains “What” keyword in Question’s Title.</p>
<p><a href="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/Extensions-IEnumerable.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Extensions-IEnumerable" border="0" alt="Extensions-IEnumerable" src="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/Extensions-IEnumerable_thumb.png" width="236" height="90" /></a></p>
<p>When the same program executed to search questions with tag “Web” and which contains “WCF” in question title, it will give you 0 results as no question supports the search criteria.</p>
<p><a href="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/Extensions-IEnumerable1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Extensions-IEnumerable1" border="0" alt="Extensions-IEnumerable1" src="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/Extensions-IEnumerable1_thumb.png" width="227" height="62" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/GCoRrh0Bl59NWsWpGkXyFry_kDs/0/da"><img src="http://feedads.g.doubleclick.net/~a/GCoRrh0Bl59NWsWpGkXyFry_kDs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GCoRrh0Bl59NWsWpGkXyFry_kDs/1/da"><img src="http://feedads.g.doubleclick.net/~a/GCoRrh0Bl59NWsWpGkXyFry_kDs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/Po27IP8cO2U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/articles/extension-methods-with-lambda-expressions-and-ienumerable-interface-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/articles/extension-methods-with-lambda-expressions-and-ienumerable-interface-implementation/</feedburner:origLink></item>
		<item>
		<title>Dropdownlist Validation in ASP.Net MVC 3–Razor</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/ZY97_SZJsEU/</link>
		<comments>http://www.intstrings.com/ramivemula/articles/dropdownlist-validation-in-asp-net-mvc-3razor/#comments</comments>
		<pubDate>Sat, 12 May 2012 16:09:51 +0000</pubDate>
		<dc:creator>RamiVemula</dc:creator>
				<category><![CDATA[ARTICLE]]></category>
		<category><![CDATA[ASP.Net MVC]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C# 4.0]]></category>
		<category><![CDATA[MVC3]]></category>
		<category><![CDATA[Razor]]></category>
		<category><![CDATA[Validations]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1397</guid>
		<description><![CDATA[&#160; In this short tutorial, I am going to show how to validate a Dropdownlist in MVC3 using Razor Syntax. Our Model Class &#8211; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; namespace DropdownListValidation.Models { public class DropdownListModel { [Required( ErrorMessage = &#34;Selection is a MUST&#34; )] public string SelectedItem { [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>In this short tutorial, I am going to show how to validate a Dropdownlist in MVC3 using Razor Syntax.</p>
<p>Our Model Class &#8211; </p>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Web;
<span class="kwrd">using</span> System.ComponentModel.DataAnnotations;
<span class="kwrd">using</span> System.Web.Mvc;

<span class="kwrd">namespace</span> DropdownListValidation.Models
{
    <span class="kwrd">public</span> <span class="kwrd">class</span> DropdownListModel
    {

        [Required( ErrorMessage = <span class="str">&quot;Selection is a MUST&quot;</span> )]
        <span class="kwrd">public</span> <span class="kwrd">string</span> SelectedItem { get; set; }

        <span class="kwrd">private</span> List&lt;<span class="kwrd">string</span>&gt; _items;
        <span class="kwrd">public</span> List&lt;<span class="kwrd">string</span>&gt; Items
        {
            get
            {
                _items = <span class="kwrd">new</span> List&lt;<span class="kwrd">string</span>&gt;();
                _items.Add(<span class="str">&quot;One&quot;</span>);
                _items.Add(<span class="str">&quot;Two&quot;</span>);
                _items.Add(<span class="str">&quot;Three&quot;</span>);
                <span class="kwrd">return</span> _items;
            }
        }
    }
}</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>Our Controller Class &#8211; </p>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Web;
<span class="kwrd">using</span> System.Web.Mvc;
<span class="kwrd">using</span> DropdownListValidation.Models;

<span class="kwrd">namespace</span> DropdownListValidation.Controllers
{
    <span class="kwrd">public</span> <span class="kwrd">class</span> HomeController : Controller
    {
        <span class="rem">//Render Action</span>
        [HttpGet]
        <span class="kwrd">public</span> ViewResult Index()
        {
            DropdownListModel model = <span class="kwrd">new</span> DropdownListModel();
            <span class="kwrd">return</span> View(model);
        }

        <span class="rem">//Process Action</span>
        [HttpPost]
        <span class="kwrd">public</span> ViewResult Index(DropdownListModel model)
        {
            <span class="rem">//TODO: Validate using if(ModelState.IsValid) and process information</span>
            <span class="kwrd">return</span> View(model);
        }
    }
}</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Our View &#8211; </p>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<pre class="csharpcode">@model DropdownListValidation.Models.DropdownListModel

@{
    Layout = null;
}

<span class="kwrd">&lt;!</span><span class="html">DOCTYPE</span> <span class="attr">html</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">link</span> <span class="attr">rel</span><span class="kwrd">=&quot;stylesheet&quot;</span> <span class="attr">href</span><span class="kwrd">=&quot;@Href(&quot;</span>~/<span class="attr">Content</span>/<span class="attr">Site</span>.<span class="attr">css</span><span class="kwrd">&quot;)&quot;</span> <span class="attr">type</span><span class="kwrd">=&quot;text/css&quot;</span> <span class="kwrd">/&gt;</span>

<span class="kwrd">&lt;</span><span class="html">html</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">head</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">title</span><span class="kwrd">&gt;</span>Index<span class="kwrd">&lt;/</span><span class="html">title</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">head</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">body</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">div</span><span class="kwrd">&gt;</span>
        <span class="rem">&lt;!--Render the DropDownListmodel --&gt;</span>
        @using (Html.BeginForm())
        {
            <span class="kwrd">&lt;</span><span class="html">p</span><span class="kwrd">&gt;</span>@Html.ValidationSummary()<span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
            <span class="kwrd">&lt;</span><span class="html">p</span><span class="kwrd">&gt;</span>Select an Item : @Html.DropDownListFor(x =<span class="kwrd">&gt;</span> x.SelectedItem, new SelectList(Model.Items), &quot;--Choose any Item--&quot; )<span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
            <span class="kwrd">&lt;</span><span class="html">input</span> <span class="attr">type</span><span class="kwrd">=&quot;submit&quot;</span> <span class="attr">value</span><span class="kwrd">=&quot;Submit&quot;</span> <span class="kwrd">/&gt;</span>
        }

        <span class="rem">&lt;!-- Display Selected Item --&gt;</span>
         @if (!String.IsNullOrWhiteSpace(Model.SelectedItem))
         {
              <span class="kwrd">&lt;</span><span class="html">span</span><span class="kwrd">&gt;</span>Selected Item : @Model.SelectedItem<span class="kwrd">&lt;/</span><span class="html">span</span><span class="kwrd">&gt;</span>
         }

    <span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">body</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">html</span><span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>When you click on submit button, without selecting any value from Dropdownlist &#8211; </p>
<p><a href="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/MVC3-RAZOR-DDL-Validation1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="MVC3-RAZOR-DDL-Validation1" border="0" alt="MVC3-RAZOR-DDL-Validation1" src="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/MVC3-RAZOR-DDL-Validation1_thumb.png" width="244" height="132" /></a></p>
<p>When we select an item and click on submit button &#8211; </p>
<p><a href="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/MVC3-RAZOR-DDL-Validation2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="MVC3-RAZOR-DDL-Validation2" border="0" alt="MVC3-RAZOR-DDL-Validation2" src="http://www.intstrings.com/ramivemula/wp-content/uploads/2012/05/MVC3-RAZOR-DDL-Validation2_thumb.png" width="244" height="129" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/5v2riOcjrTIbAIZMMfo-rIkol08/0/da"><img src="http://feedads.g.doubleclick.net/~a/5v2riOcjrTIbAIZMMfo-rIkol08/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5v2riOcjrTIbAIZMMfo-rIkol08/1/da"><img src="http://feedads.g.doubleclick.net/~a/5v2riOcjrTIbAIZMMfo-rIkol08/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/ZY97_SZJsEU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/articles/dropdownlist-validation-in-asp-net-mvc-3razor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/articles/dropdownlist-validation-in-asp-net-mvc-3razor/</feedburner:origLink></item>
		<item>
		<title>Why ASP.Net MVC and why not Webforms?</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/tSFKwrMcefE/</link>
		<comments>http://www.intstrings.com/ramivemula/asp-net/why-asp-net-mvc-and-why-not-webforms/#comments</comments>
		<pubDate>Fri, 11 May 2012 11:09:44 +0000</pubDate>
		<dc:creator>RamiVemula</dc:creator>
				<category><![CDATA[ARTICLE]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP.Net MVC]]></category>
		<category><![CDATA[GENERAL]]></category>
		<category><![CDATA[ASP.Net General]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1389</guid>
		<description><![CDATA[Its been a while since I blogged, but I am back with some new series coming through, mainly focusing on MVC and JQuery. This small blog post is out to answer some of the common questions which I do see most often – “Differences between ASP.Net and ASP.Net MVC”, “Why ASP.Net MVC?” etc. Out of [...]]]></description>
			<content:encoded><![CDATA[<p>Its been a while since I blogged, but I am back with some new series coming through, mainly focusing on MVC and JQuery.</p>
<p>This small blog post is out to answer some of the common questions which I do see most often – “Differences between ASP.Net and ASP.Net MVC”, “Why ASP.Net MVC?” etc. Out of my experience I am listing out some of the important points around MVC in conjunction with ASP.Net Webforms.</p>
<p>With no doubt, I can assure you guys that ASP.Net Webforms served (and still serving) us in solving many complicated business problems through its huge and intensive components (especially .Net Framework Components). At this junction we need to remember that this extensive capability of ASP.Net is built on top of hiding Webs Statelessness and Html (which is not known very well at the time of ASP.Net’s birth), which unfortunately cost performance in some typical areas as listed below &#8211; </p>
<p>&#160;</p>
<p>1. <strong>ViewState</strong> – On the first hand please read about ViewState in <a href="http://weblogs.asp.net/infinitiesloop/archive/2006/08/03/Truly-Understanding-Viewstate.aspx">Dave Reed’s Post</a>. This mechanism of maintaining state across Postbacks make the page size hefty and results in poor user experience with lot of data transferring in and out between client and server.</p>
<p>2. <strong>Limited control on Html</strong> – Its very hard to get control on Html being generated by ASP.Net Server control. Any developer/UI Designer working with CodeBehind and VS designer can easily understand my former statement. Because of this sporadic Html, its even hard to incorporate JavaScript client side effects/validations.</p>
<p>3. <strong>Testability</strong> – Automated UI Testing is a hard process for testers, due to ever changing IDs of Html and improper layouts rendered. Also Unit testing is a complicated task to Developers due to ASP.Net tightly coupled CodeBehind and its Markup.</p>
<p>4. <strong>Page Life Cycle</strong> – Every Request in ASP.Net needs to go through a structure life cycle which is complicated to achieve for many custom behaviors. Sometimes because of this cycle, we have to do something which are not best practices.</p>
<p>5. <strong>Code Separation</strong> – With CodeBehind model, we can achieve code separation between different UI and Business logic, but not up to the mark. It is hard to get separation to its maximum bar. </p>
<p>6. <strong>Leaky Abstraction</strong> – ASP.Net hides a lot of things, especially HTTP communication and Html from developers which can be crucial risks for custom behaviors. Some times we might end up without the knowledge of what’s going on with the process and might end up in reverse engineering the the problem to get to its root.</p>
<p>&#160;</p>
<p>Above mentioned are some of the common areas where we might start falling apart with Webforms, but the beauty of ASP.Net comes with its maturity from 2002. Microsoft continuously making ASP.Net Webforms evolving and a simple example would be its ASP.Net 4.5 with Async Handlers and Modules. </p>
<p>Now lets start with ASP.Net MVC, with evolving Web technologies and especially Web 2.0 which mostly focused on REST – resource based utilization and Agile methodologies, Microsoft announced about its MVC in 2007 ALT.NET Conference. MVC Framework is built based on MVC Pattern which solves most of above mentioned Webforms problems by itself. Following are some of the best things MVC Framework offers on the front end &#8211; </p>
<p>&#160;</p>
<p>1. <strong>No ViewState</strong> – MVC goes inline with web statelessness and eliminates ViewState to store Server Control states. It is also oriented towards resource driven like REST and it works mostly on actions rather than complete life cycle (you so a specific request and you get specific response). With MVC we have mush more better control on every Request we make to server.</p>
<p>2. <strong>Testability</strong> – With its natural componentization from MVC Pattern, MVC readily support good amount of Unit Testing. MVC generates clean Html which supports most of UI Automated Test tools.</p>
<p>3.&#160; <strong>User Friendly URLs</strong> – MVC generated search engine friendly and user intuitive URLs, which can be easily remembered and shared across Web.</p>
<p>4. <strong>More control on Html</strong> – Default HtmlHelpers in MVC help to generate cleaner Html. Html generated would shoe greater flexibility with JavaScript/JQuery and their plugin integrations.</p>
<p>5. <strong>Extensibility</strong> – MVC has greater flexibility to extend/replace components on which it is built on, for example View Engines you can opt for traditional ASP.Net View Engine or use Razor or any other view engines available. We can also write our own view engines too. MVC also incorporates major ASP.Net and .Net Frameworks APIs like Membership Providers, Roles etc.. which saves lot of time to ASP.Net Developers in writing code they are familiar with.</p>
<p>&#160;</p>
<p>Last but not least, the main point of this blog post is not to exaggerate which technology is superior than the other. End of the day every technology has to make some trade offs, it is really very hard to conclude which is better. It all depends on how we use a particular technology to solve a business problem. Looking at these technologies (Webforms and MVC) and working closely with them, I saw both the frameworks solved wonderful problems in an elegant approach. Always use a right technology for a right business problem.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/7JIXbHxbUeQ9IOrNV7r6L_ncgWY/0/da"><img src="http://feedads.g.doubleclick.net/~a/7JIXbHxbUeQ9IOrNV7r6L_ncgWY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7JIXbHxbUeQ9IOrNV7r6L_ncgWY/1/da"><img src="http://feedads.g.doubleclick.net/~a/7JIXbHxbUeQ9IOrNV7r6L_ncgWY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/tSFKwrMcefE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/asp-net/why-asp-net-mvc-and-why-not-webforms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/asp-net/why-asp-net-mvc-and-why-not-webforms/</feedburner:origLink></item>
		<item>
		<title>well wises by Srinivasa prabhu.N</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/3G0-Wnaq7hM/</link>
		<comments>http://www.intstrings.com/ramivemula/asp-net/well-wises-by-srinivasa-prabhu-n/#comments</comments>
		<pubDate>Mon, 07 May 2012 14:58:37 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[USER TOPICS]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1343</guid>
		<description><![CDATA[Dear ram. Good day.I have seen u in asp.net.Anyway happy to see u on instrings too. U also was replied to one of my query in asp.net forum.I would linke to ask assistance from you. I am also willing to do MCP and tried in 1st attempt i not able to do so. Can u [...]]]></description>
			<content:encoded><![CDATA[<p>Dear ram.<br />
               Good day.I have seen u in asp.net.Anyway happy to see u on instrings too.<br />
             U also was replied to one of my query in asp.net forum.I would linke to ask assistance from you.<br />
              I am also willing to do MCP and tried in 1st attempt i not able to do so.<br />
Can u please share your ideas and experiences with me.<br />
              I ll be happy if u share any technical materials u used for the exam if u wish.<br />
 Highly expecting for ur positive reply man&#8230;<br />
reagrds,<br />
srini&#8230;</p>

<p><a href="http://feedads.g.doubleclick.net/~a/-wnVT2xDWU0B_Ab4BElaltjJY0c/0/da"><img src="http://feedads.g.doubleclick.net/~a/-wnVT2xDWU0B_Ab4BElaltjJY0c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-wnVT2xDWU0B_Ab4BElaltjJY0c/1/da"><img src="http://feedads.g.doubleclick.net/~a/-wnVT2xDWU0B_Ab4BElaltjJY0c/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/3G0-Wnaq7hM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/asp-net/well-wises-by-srinivasa-prabhu-n/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/asp-net/well-wises-by-srinivasa-prabhu-n/</feedburner:origLink></item>
		<item>
		<title>Checking the database availability every 15 minutes by sumanth</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/0n7vfNO6ZA4/</link>
		<comments>http://www.intstrings.com/ramivemula/asp-net/checking-the-database-availability-every-15-minutes-by-sumanth/#comments</comments>
		<pubDate>Sun, 06 May 2012 16:10:42 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[USER TOPICS]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1330</guid>
		<description><![CDATA[I need an automated windows application script which checks multiple oracle database availability and if any database is unavailable it should send an email The script should run every 15 minutes Thanks in advance]]></description>
			<content:encoded><![CDATA[<p>I need an automated windows application script which checks multiple oracle database availability and if any database is unavailable it should send an email</p>
<p>The script should run every 15 minutes</p>
<p>Thanks in advance</p>

<p><a href="http://feedads.g.doubleclick.net/~a/RLDFppl5il8sl3cFqXrRumhCarw/0/da"><img src="http://feedads.g.doubleclick.net/~a/RLDFppl5il8sl3cFqXrRumhCarw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/RLDFppl5il8sl3cFqXrRumhCarw/1/da"><img src="http://feedads.g.doubleclick.net/~a/RLDFppl5il8sl3cFqXrRumhCarw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/0n7vfNO6ZA4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/asp-net/checking-the-database-availability-every-15-minutes-by-sumanth/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/asp-net/checking-the-database-availability-every-15-minutes-by-sumanth/</feedburner:origLink></item>
		<item>
		<title>previouspage by Sai Chander A</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/FsGwZ3KK8Sk/</link>
		<comments>http://www.intstrings.com/ramivemula/asp-net/previouspage-by-sai-chander-a/#comments</comments>
		<pubDate>Sun, 06 May 2012 15:52:21 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[USER TOPICS]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1335</guid>
		<description><![CDATA[private void Form1_Load(object sender, EventArgs e) { TextBox pp_Textbox1; Calendar pp_Calendar1; pp_Textbox1 = (TextBox)PreviousPage.FindControl(&#8220;Textbox1&#8243;); pp_Calendar1 = (Calendar)PreviousPage.FindControl(&#8220;Calendar1&#8243;); label1.Text = &#8220;Hello &#8221; + pp_Textbox1.Text + &#8220;&#8221; + &#8220;Date Selected: &#8221; + pp_Calendar1.SelectedDate.ToShortDateString(); this simple program has two errors previouspage.findcontrol() does not exist in current context selecteddate.toshortdate();]]></description>
			<content:encoded><![CDATA[<p> private void Form1_Load(object sender, EventArgs e)<br />
        {<br />
            TextBox pp_Textbox1;<br />
            Calendar pp_Calendar1;<br />
            pp_Textbox1 = (TextBox)PreviousPage.FindControl(&#8220;Textbox1&#8243;);<br />
            pp_Calendar1 = (Calendar)PreviousPage.FindControl(&#8220;Calendar1&#8243;);<br />
            label1.Text = &#8220;Hello &#8221; + pp_Textbox1.Text + &#8220;<br />&#8221; + &#8220;Date Selected: &#8221; +<br />
            pp_Calendar1.SelectedDate.ToShortDateString();</p>
<p>this simple program has two errors<br />
previouspage.findcontrol() does not exist in current context<br />
selecteddate.toshortdate();</p>

<p><a href="http://feedads.g.doubleclick.net/~a/OESYuv59izWo9NFhHIY4jCx5e9o/0/da"><img src="http://feedads.g.doubleclick.net/~a/OESYuv59izWo9NFhHIY4jCx5e9o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/OESYuv59izWo9NFhHIY4jCx5e9o/1/da"><img src="http://feedads.g.doubleclick.net/~a/OESYuv59izWo9NFhHIY4jCx5e9o/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/FsGwZ3KK8Sk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/asp-net/previouspage-by-sai-chander-a/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/asp-net/previouspage-by-sai-chander-a/</feedburner:origLink></item>
		<item>
		<title>How to Retrieve Variable value from javascript by SureshKumar Gorrela</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/a7rglq5doRE/</link>
		<comments>http://www.intstrings.com/ramivemula/asp-net/how-to-retrieve-variable-value-from-javascript-by-sureshkumar-gorrela/#comments</comments>
		<pubDate>Sun, 06 May 2012 15:49:03 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[USER TOPICS]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1344</guid>
		<description><![CDATA[I want to retrieve some variable value from javascript into C# code behind&#8230;.Pls Help me out to solve this issue&#8230; Thanks in Advance, Suresh Kumar G]]></description>
			<content:encoded><![CDATA[<p>      I want to retrieve some variable value from javascript into C# code behind&#8230;.Pls Help me out to solve this issue&#8230;</p>
<p>Thanks in Advance,</p>
<p>Suresh Kumar G</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3j6hi0stTo1nj2PL-Z3RlPmJIG4/0/da"><img src="http://feedads.g.doubleclick.net/~a/3j6hi0stTo1nj2PL-Z3RlPmJIG4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3j6hi0stTo1nj2PL-Z3RlPmJIG4/1/da"><img src="http://feedads.g.doubleclick.net/~a/3j6hi0stTo1nj2PL-Z3RlPmJIG4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/a7rglq5doRE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/asp-net/how-to-retrieve-variable-value-from-javascript-by-sureshkumar-gorrela/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/asp-net/how-to-retrieve-variable-value-from-javascript-by-sureshkumar-gorrela/</feedburner:origLink></item>
		<item>
		<title>How to convert a url to my domain name url? by sumit</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/2DW33VKPc98/</link>
		<comments>http://www.intstrings.com/ramivemula/asp-net/how-to-convert-a-url-to-my-domain-name-url-by-sumit/#comments</comments>
		<pubDate>Sat, 05 May 2012 15:40:53 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[USER TOPICS]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1347</guid>
		<description><![CDATA[Suppose i got one url like http://www.example.com from some where.Now i want to convert it with my own domain name url some thing like http://www.demo.com/go.aspx?id=1(where http://www.demo.com is my website). It means whenever i would like to browse this url in browser it will show http://www.example.com. PLEASE SUGGEST or mail me please at sumit.burnwal@gmail.com &#8230; Regards, [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose i got one url like http://www.example.com from some where.Now i want to convert it with my own domain name url some thing like http://www.demo.com/go.aspx?id=1(where http://www.demo.com is my website). It means whenever i would like to browse this url in browser it will show http://www.example.com.</p>
<p>PLEASE SUGGEST or mail me please at sumit.burnwal@gmail.com &#8230;</p>
<p>Regards,</p>
<p>Sumit K. Burnwal</p>

<p><a href="http://feedads.g.doubleclick.net/~a/O7tBHM7HWw6F4WsQ_P8bk2ec_Zg/0/da"><img src="http://feedads.g.doubleclick.net/~a/O7tBHM7HWw6F4WsQ_P8bk2ec_Zg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/O7tBHM7HWw6F4WsQ_P8bk2ec_Zg/1/da"><img src="http://feedads.g.doubleclick.net/~a/O7tBHM7HWw6F4WsQ_P8bk2ec_Zg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/2DW33VKPc98" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/asp-net/how-to-convert-a-url-to-my-domain-name-url-by-sumit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/asp-net/how-to-convert-a-url-to-my-domain-name-url-by-sumit/</feedburner:origLink></item>
		<item>
		<title>Password security + MVC by Srinivas Alwala</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/viU131gVzBg/</link>
		<comments>http://www.intstrings.com/ramivemula/asp-net/password-security-mvc-by-srinivas-alwala/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 13:09:45 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[USER TOPICS]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/?p=1189</guid>
		<description><![CDATA[Hi Ravi Vemula, I have a doubt in the password security + MVC application topic. If we look at the code the password is passing as plain text over the channel. If we want to implement a internet website using MVC, i think this approach of implementation is not satisfactory as hackers can use a [...]]]></description>
			<content:encoded><![CDATA[<p>Hi Ravi Vemula,</p>
<p>I have a doubt in the password security + MVC application topic.<br />
If we look at the code the password is passing as plain text over the channel. If we want to implement a internet website using MVC, i think this approach of implementation is not satisfactory as hackers can use a tool which block the site prior gets posted completely when userid/password entered and steal the credentials and release to get posted.<br />
Kindly let me know how can we say this approach is secure one.</p>
<p>*For Security purpose, I am removing all the contact details mentioned by User in this post*</p>

<p><a href="http://feedads.g.doubleclick.net/~a/9thfC8Io-GZn9ZOA_Seo8jx2wFc/0/da"><img src="http://feedads.g.doubleclick.net/~a/9thfC8Io-GZn9ZOA_Seo8jx2wFc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9thfC8Io-GZn9ZOA_Seo8jx2wFc/1/da"><img src="http://feedads.g.doubleclick.net/~a/9thfC8Io-GZn9ZOA_Seo8jx2wFc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/viU131gVzBg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/asp-net/password-security-mvc-by-srinivas-alwala/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/asp-net/password-security-mvc-by-srinivas-alwala/</feedburner:origLink></item>
		<item>
		<title>Being a Microsoft MVP for Second time</title>
		<link>http://feedproxy.google.com/~r/RamiVemula/~3/YPuYpYfdt4g/</link>
		<comments>http://www.intstrings.com/ramivemula/general/being-a-microsoft-mvp-for-second-time/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 14:52:03 +0000</pubDate>
		<dc:creator>RamiVemula</dc:creator>
				<category><![CDATA[GENERAL]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.intstrings.com/ramivemula/general/being-a-microsoft-mvp-for-second-time/</guid>
		<description><![CDATA[Good Day one and all, I wrote a post &#8211; Being a Microsoft MVP exactly one year back, and now time has yet arrived to narrate a similar post, but a year older and wiser post. Earlier this week I was re-awarded with Microsoft MVP 2012 by Microsoft Corporation. I thank Microsoft Corporation and many [...]]]></description>
			<content:encoded><![CDATA[<p>Good Day one and all,</p>
<p>I wrote a post &#8211; <a href="http://www.intstrings.com/ramivemula/general/being-a-microsoft-mvp/">Being a Microsoft MVP</a> exactly one year back, and now time has yet arrived to narrate a similar post, but a year older and wiser post.</p>
<p>Earlier this week I was re-awarded with Microsoft MVP 2012 by Microsoft Corporation. I thank Microsoft Corporation and many MSFT’s, who are consistently monitoring and managing many online communities to make sure right technology reach right people at right times for right problems. There are many great Microsoft Full Timers with whom I had long conversations over years and shared many technical perspectives, I may not be able to name each and everyone of them, but I thank all of them for their encouragement to me throughout.</p>
<p>Last year was a pretty busy year for me. I already narrated some of my experiences through a post – <a href="http://www.intstrings.com/ramivemula/general/happy-new-year-2012my-life-in-2011/">Happy New Year 2012 – My Life in 2011</a>. Because of my personal and professional commitments (and in fact strong commitments) I was not able to consistently support online community. Its been a hard year for me to manage lot of bits and pieces associated to me, I hope I managed everything with some if’s and but’s, end of the day I hope everyone is happy for being associated with me.</p>
<p>I thank my Family, Mentors, Teachers, Friends, Well Wishers and Colleagues for being a wonderful part in my last years accomplishment. I have had a lot of positive influences on me directly or indirectly by many people in 2011, so now it’s my part to share this award with everybody.</p>
<p>I thank my Readers and members of different Online Communities (in which I was associated) for sharing such great experiences of them. I made many friends online, with whom I had not only technical problem solving techniques but also many other things like Analytical Perspectives, Diversified thought process etc., were discussed and analyzed. I thank all of them from bottom of my heart for being such kind to me.</p>
<p>This year 2012 is going to be a well excited year to me. I have many interesting challenges on my plate right now. The biggest challenge is obviously my personal time allotment/management and prioritization. I am working on it right now, in fact I already laid out a comfortable, easy and convenient plan which gives me ample time to spend on this blog or in any online communities. I am planning to stay more focused on this Blog – change its theme, put up more interesting stuff weekly, concentrate more on thought provoking posts rather than providing technical solutions. At the same time, I want to concentrate on Technical communities, where we can find many real world challenges and where people are more excited to talk. I also planned for some certifications from Microsoft, may be not right away immediately but may be in the third quarter.</p>
<p>Lastly, It’s been always a pleasure to think about all the people whom I mentioned above. I thank everyone once again. See you guys soon in one more post.</p>
<p>Regards,</p>
<p>Rami.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/miiiO6tU-lrTOsCMQ-4Qikla9GU/0/da"><img src="http://feedads.g.doubleclick.net/~a/miiiO6tU-lrTOsCMQ-4Qikla9GU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/miiiO6tU-lrTOsCMQ-4Qikla9GU/1/da"><img src="http://feedads.g.doubleclick.net/~a/miiiO6tU-lrTOsCMQ-4Qikla9GU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/RamiVemula/~4/YPuYpYfdt4g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.intstrings.com/ramivemula/general/being-a-microsoft-mvp-for-second-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.intstrings.com/ramivemula/general/being-a-microsoft-mvp-for-second-time/</feedburner:origLink></item>
	</channel>
</rss>

