<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All Free Tech &#187; ASP.NET</title>
	<atom:link href="http://www.allfreetech.com/category/microsoft-net/asp-net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.allfreetech.com</link>
	<description>For developers</description>
	<lastBuildDate>Tue, 27 Jul 2010 13:58:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Caching Oracle Data for ASP.NET Applications</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/caching-oracle-data-for-asp-net-applications-2-778.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/caching-oracle-data-for-asp-net-applications-2-778.html#comments</comments>
		<pubDate>Fri, 09 Jul 2010 04:27:34 +0000</pubDate>
		<dc:creator>tech1</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/php/caching-oracle-data-for-asp-net-applications-2-778.html</guid>
		<description><![CDATA[For building scalable and high-performance Web based applications, ASP.NET provides a feature called data caching. Data caching enables programmatic storing of frequently accessed data objects in memory. This feature can be extended to vastly improve performance for ASP.NET applications that query data stored in an Oracle database. This article describes a strategy for caching Oracle [...]]]></description>
			<content:encoded><![CDATA[<p>For building scalable and high-performance Web based <a id="KonaLink1" href="blank#" target="undefined" name="KonaLink1">applications</a>, ASP.NET provides a feature called data caching. Data caching enables programmatic storing of frequently accessed data objects in memory. This feature can be extended to vastly improve performance for ASP.NET applications that query data stored in an Oracle database. This article describes a strategy for caching Oracle database data in ASP.NET Web applications deployed using a Web Farm environment. This technique enables caching of frequently accessed Oracle database data in memory rather than making frequent database calls to retrieve the data. This helps to avoid unnecessary roundtrips to the Oracle database server. Further the article proposes an implementation for maintaining the cached data so it is always in sync with the corresponding data in the Oracle database.</p>
<p>Data Caching in ASP.NET</p>
<p>Data Caching in ASP.NET is facilitated via the Cache class and the CacheDependency class in the System.Web.Caching namespace. The Cache class provides methods for inserting data and retrieving data from the cache. The CacheDependency class enables dependencies to be specified for the data items placed in the cache. An expiration policy for an item can be specified when we add it to the cache using the Insert method or Add method. We can define the life span for an item in the cache by using the absoluteExpiration parameter in the Insert method. This parameter allows one to specify the exact datetime that the corresponding data item will expire. One can also use the slidingExpiration parameter, specifying the elapsed time before the item will expire based on the time it was accessed. Once the item expires, it is removed from the cache. Attempts to access it will return a null value unless the item is added to the Cache again.</p>
<p>Specifying Dependencies for Cache</p>
<p>ASP.NET allows us to define the dependency of a cached item based on an external file, a directory, or another cached item. These are described as file dependencies and key dependencies. If a dependency changes, the cached item gets automatically invalidated and removed from the cache. We can use this approach to delete items from the cache when the corresponding data source changes. For example, if we write an application that retrieves data from an XML file and displays it in a grid, we can store the data from the file in the Cache and specify a Cache dependency on the XML file. When the XML file is updated, the data item gets removed from the cache. When this event occurs, the application reads the XML file again, and the latest copy of the data item is inserted into the cache again. Further, callback event handlers can be specified as a listener for getting notified when the cache item gets deleted from the cache. This eliminates the need to continuously poll the cache to determine whether the data item has been invalidated.</p>
<p>ASP.NET Cache Dependency on Oracle Database</p>
<p>Let us consider a scenario where data is stored in the Oracle database and accessed by an ASP.NET application using ADO.NET. Furthermore, let us assume that the data in the database table(s) is generally static but accessed frequently by the Web application. In a nutshell, there are very few DML operations on the table but lots of Selects on the data. Such a scenario is ideal for data caching. But unfortunately, ASP.NET does not allow a dependency to be specified whereby a cache item is dependent on data stored in a database table. Furthermore, in real world Web based systems, the Web server and the Oracle database server could be potentially running on different machines, making this cache invalidation process more challenging. Also most Web-based applications are deployed using Web farms with instances of the same application running on multiple Web servers for load balancing. This scenario makes the database caching problem slightly more complex.</p>
<p>For exploring the solution to the above problem, let&#8217;s put together a sample Web application to illustrate how it can be implemented. For our example, we use ASP.NET application implemented in VB .Net communicating with the Oracle 9i database using Oracle Data Provider for .NET (ODP).</p>
<p>In this example, consider a table named Employee in the Oracle database. We define a trigger for insert, update and delete operations on the Employee table. This trigger calls a PL/SQL function that serves as a wrapper for a <a id="KonaLink0" href="blank#" target="undefined" name="KonaLink0">Java</a> stored procedure. This Java stored procedure in turn will be responsible for updating the Cache dependency file.</p>
<p>ASP.NET Tier Implementation Using VB.NET</p>
<p>On the ASP.NET tier, we have a listener class containing a callback method to handle the notification when the cache item gets invalidated.</p>
<p>The callback method RemovedCallback is registered by using a delegate function. The callback method onRemove declaration must have the same signature as the CacheItemRemovedCallback delegate declaration.</p>
<p>Dim onRemove As CacheItemRemovedCallback = Nothing</p>
<p>onRemove = New CacheItemRemovedCallback(AddressOf RemovedCallback)</p>
<p>The definition for the listener event handler method RemovedCallback responsible for handling the notification from the database trigger is illustrated below. When the cache item gets invalidated, data is retrieved from the database by using the database method call getRecordFromdatabase(). The parameter &#8220;key&#8221; refers to the index location for the item removed from the cache. The parameter &#8220;value&#8221; refers to the data object removed from the cache. The parameter &#8220;CacheItemRemovedReason&#8221; specifies the reason causing the data item to be removed from the cache.</p>
<p>PublicSub RemovedCallback(ByVal key AsString, ByVal value AsObject,</p>
<p>ByVal reason As CacheItemRemovedReason)</p>
</p>
<p>Dim Source As DataView</p>
</p>
<p>Source = getRecordFromdatabase()</p>
</p>
<p>Cache.Insert(&#8220;employeeTable &#8220;, Source, New</p>
<p>System.Web.Caching.CacheDependency(&#8220;d:\download\tblemployee.txt&#8221;),</p>
<p>Cache.NoAbsoluteExpiration, Cache.NoSlidingExpiration,</p>
<p>CacheItemPriority.Normal, onRemove)</p>
</p>
<p>EndSub</p>
<p>The method getRecordFromdatabase() is responsible for querying the database table Employee and it returns a DataView object reference. It makes use of a stored procedure called getEmployee to abstract the SQL for retrieving the data from the Employee table. The method expects a parameter called p_empid representing the primary key for the Employee table.</p>
<p>PublicFunction getRecordFromdatabase (ByVal p_empid As Int32) As DataView</p>
</p>
<p>Dim con As OracleConnection = Nothing</p>
<p>Dim cmd As OracleCommand = Nothing</p>
<p>Dim ds As DataSet = Nothing</p>
</p>
<p>Try</p>
<p>con = getDatabaseConnection(</p>
<p>&#8220;UserId=scott;Password=tiger;Data Source=testingdb;&#8221;)</p>
</p>
<p>cmd = New OracleCommand(&#8220;Administrator.getEmployee&#8221;, con)</p>
<p>cmd.CommandType = CommandType.StoredProcedure</p>
<p>cmd.Parameters.Add(New OracleParameter(&#8220;employeeId&#8221;,</p>
<p>OracleDbType.Int64)).Value = p_empid</p>
</p>
<p>Dim param AsNew OracleParameter(&#8220;RC1&#8243;, OracleDbType.RefCursor)</p>
<p>cmd.Parameters.Add(param).Direction = ParameterDirection.Output</p>
</p>
<p>Dim myCommand AsNew OracleDataAdapter(cmd)</p>
<p>ds = New DataSet</p>
<p>myCommand.Fill(ds)</p>
</p>
<p>Dim table As DataTable = ds.Tables(0)</p>
<p>Dim index As Int32 = table.Rows.Count</p>
</p>
<p>Return ds.Tables(0).DefaultView</p>
</p>
<p>Catch ex As Exception</p>
<p>ThrowNew Exception(&#8220;Exception in Database Tier Method</p>
<p>getRecordFromdatabase () &#8221; + ex.Message, ex)</p>
<p>Finally</p>
<p>Try</p>
<p>cmd.Dispose()</p>
<p>Catch ex As Exception</p>
<p>Finally</p>
<p>cmd = Nothing</p>
<p>EndTry</p>
<p>Try</p>
<p>con.Close()</p>
<p>Catch ex As Exception</p>
<p>Finally</p>
<p>con = Nothing</p>
<p>EndTry</p>
<p>EndTry</p>
<p>EndFunction</p>
<p>The function getDatabaseConnection accepts a connectionstring as an argument and returns an OracleConnection object reference.</p>
</p>
<p>PublicFunction getDatabaseConnection(ByVal strconnection as string) As</p>
<p>OracleConnection</p>
</p>
<p>Dim con As Oracle.DataAccess.Client.OracleConnection = Nothing</p>
<p>Try</p>
<p>con = New Oracle.DataAccess.Client.OracleConnection</p>
<p>con.ConnectionString = strconnection</p>
<p>con.Open()</p>
<p>Return con</p>
<p>Catch ex As Exception</p>
<p>ThrowNew Exception(&#8220;Exception in Database Tier Method</p>
<p>getOracleConnection() &#8221; + ex.Message, ex)</p>
<p>EndTry</p>
<p>EndFunction</p>
<p>Oracle Database Tier Implementation</p>
<p>The Trigger body defined for DML events on the Employee Table is shown below. This trigger simply invokes a PL/SQL wrapper function for updating an operating system file called tblemployee.txt. Copies of this file are updated on two different machines called machine1 and machine2 that are running different instances of the same Web application to enable load balancing. Here administrator refers to the owner of the schema objects in the Oracle database.</p>
<p>begin</p>
<p>administrator.plfile(&#8216;machine1\\download\\ tblemployee.txt&#8217;);</p>
<p>administrator.plfile(&#8216;machine2\\download\\ tblemployee.txt&#8217;);</p>
<p>end;</p>
<p>For updating the cache dependency file, we will need to write a C function or a Java stored procedure. In our example, we chose a Java stored procedure since Oracle database server has a built-in JVM, making it easy to write Java stored procedures. Adequate memory must be allocated for the Java Pool in the System global area (SGA) of the Oracle instance. The static method updateFile accepts an absolute pathname as a parameter and creates the cache dependency file in the appropriate directory. If the file already exists, it is deleted and created again.</p>
<p>import java.io.*;</p>
</p>
<p>public class UpdFile {</p>
</p>
<p>public static void updateFile(String filename) {</p>
</p>
<p>try {</p>
<p>File f = new File(filename);</p>
<p>f.delete();</p>
<p>f.createNewFile();</p>
<p>}</p>
<p>catch (IOException e)</p>
<p>{</p>
<p>// log exception</p>
<p>}</p>
<p>}</p>
<p>};</p>
<p>The pl/sql wrapper implementation is shown below. The wrapper function accepts the filename as a parameter and invokes the method updateFile in the Java stored procedure.</p>
<p>(p_filename IN VARCHAR2)</p>
<p>AS LANGUAGE JAVA</p>
<p>NAME &#8216;UpdFile.updateFile (java.lang.String)&#8217;;</p>
<p>Database Caching in a Web Farm Deployment</p>
<p>As illustrated in the example we have discussed, Web Servers machine1 and machine2 constitute the Web farm to provide load balancing for our Web application. Each machine runs an instance of the same Web application. In this scenario, each instance of the Web application can have its own copy of the cached data stored in its Cache object. When the employee table changes, the corresponding database trigger updates the file tblemployee.txt on both of these machines. Each instance of the Web application specifies a cache dependency on the local file tblemployee.txt, and the cache for both the instances in the Web Farm gets updated correctly, enabling the data cache on both the instances to remain in sync with the database table Employee.</p>
<p>Conclusion</p>
<p>Data Caching can be an effective technique for optimizing ASP.NET applications using the Oracle database. Although ASP.NET does not allow database dependency to be specified for the cache, Oracle triggers in conjunction with Java stored procedures can be used to extend the power of the ASP.NET cache to enable Oracle database caching. This technique can also be applied to Web Farm deployments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/caching-oracle-data-for-asp-net-applications-2-778.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Engine Optimization Enhancements in ASP.NET 4</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/search-engine-optimization-enhancements-in-asp-net-4-776.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/search-engine-optimization-enhancements-in-asp-net-4-776.html#comments</comments>
		<pubDate>Fri, 09 Jul 2010 03:46:56 +0000</pubDate>
		<dc:creator>tech1</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/microsoft-net/asp-net/search-engine-optimization-enhancements-in-asp-net-4-776.html</guid>
		<description><![CDATA[Search engine optimization, or SEO, is the practice of improving a website&#8217;s position in search engines&#8217; results using unpaid techniques. A better (higher) position in the search results will, in theory, lead to more click throughs, increasing the website&#8217;s visibility and audience. There are a number of simple steps you can take on your website [...]]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span">Search engine optimization, or SEO, is the practice of improving a website&#8217;s position in search engines&#8217; results using unpaid techniques. A better (higher) position in the search results will, in theory, lead to more click throughs, increasing the website&#8217;s visibility and audience. There are a number of simple steps you can take on your website to improve your search engine ranking. A good first step is to download and run Microsoft&#8217;s free Search Engine Optimization Toolkit. Point it at a remote website and the SEO Toolkit will crawl the links on the site and identify potential problems and offer suggestions on how to fix them.</span></p>
<p>ASP.NET 4 includes a handful of new methods, properties, and libraries to assist with search engine optimization, including <a href="http://www.4guysfromrolla.com/articles/012710-1.aspx">ASP.NET Routing</a>, permanent redirects, and the ability to programmatically specify values for certain <code>&lt;meta&gt;</code> tags. This article examines these enhancements and shows how they can be used for SEO purposes. Read on to learn more!</p>
<p><span class="Apple-style-span"><strong>Use ASP.NET Routing to Generate SEO-Friendly URLs</strong> <br />There are countless articles online about creating &#8220;SEO-friendly URLs.&#8221; (A <a href='http://www.google.com/search?hl=en&amp;q="seo-friendly+urls"'>search on Google</a> returns over 335,000 results!) In general, these articles recommend creating short, readable URLs that include keywords about the page in the URL itself. For example, rather than having a URL like <code>www.example.com/scripts/ShowProductsInCategory.aspx?CategoryID=342</code> a better choice would be<code>www.example.com/categories/Beverages/products</code>. Note how the latter URL is terser, can be understood by reading it, and contains keywords pertinent to the page, including the name of the category of interest, &#8220;Beverages.&#8221;</span></p>
<p>In the past, supporting such clean, SEO-friendly URLs in ASP.NET was anything but easy, as ASP.NET has traditionally required a tight correspondence between the URL and the name of the ASP.NET page servicing the request. There were ways to get around this limitation, through third-party products or through creating your own HTTP Module or HTTP Handler to implement URL rewriting, but the good news is that starting with ASP.NET 3.5 SP1, URL rewriting became a lot easier thanks to the <a href="http://msdn.microsoft.com/en-us/library/cc668201.aspx">ASP.NET Routing</a> system.</p>
<p>ASP.NET Routing cleanly decouples URLs from web page file names and can be used to create clean, terse, SEO-friendly URLs. Specifically, ASP.NET Routing allows a <span><span class="kLink">developer</span></span> to define <em>routes</em>, which map a <em>URL pattern</em> &#8211; such as &#8220;categories/<em>CategoryName</em>/products&#8221; &#8211; to a class (or web page) that handles the request. Consequently, using ASP.NET Routing you can define a route that sends all requests to <code>www.example.com/categories/&lt;i&gt;CategoryName&lt;/i&gt;/products</code> to an existing web page, such as <code>/scripts/ShowProductsInCategory.aspx</code>, which would then read in the <code>CategoryName</code> value and display the appropriate products.</p>
<p>ASP.NET Routing has been covered in previous articles here on 4Guys. For a detailed look at ASP.NET Routing in ASP.NET 4, read <a href="http://www.4guysfromrolla.com/articles/012710-1.aspx">URL Routing in ASP.NET 4</a>. For a discussion on the benefits of creating clean, readable, terse, SEO-friendly URLs, refer to &#8220;The Case for ASP.NET Routing&#8221; section in <a href="http://www.4guysfromrolla.com/articles/051309-1.aspx">Using ASP.NET Routing Without ASP.NET MVC</a>.</p>
<p><strong>Use Permanent Redirects When Appropriate</strong> <br />Every HTTP response sent from the server back to the client includes a <em>status code</em> that provides information to the client about the result of the request. For example, if the server receives a request for a non-existent page, such as <code>www.example.com/NoSuchPage.aspx</code>, it returns an HTTP status code of 404.</p>
<p>Every ASP.NET developer is familiar with <code>Response.Redirect(<em>url</em>)</code>, which redirects the visitor from the current page they requested to the specified <em>url</em>. The way <code>Response.Redirect</code> works behind the scenes is by sending a 302 HTTP status code along with a <code>Location</code> HTTP header that specifies the URL to which the requested resource has moved.</p>
<p>If that doesn&#8217;t quite make sense, let&#8217;s look at an example and examine the HTTP traffic sent between the client and server. Imagine an ASP.NET page named <code>RedirectDemo.aspx</code> that has just one line of code in its <code>Page_Load</code> event handler:</p>
<table width="95%" border="0">
<tbody>
<tr>
<td width="100%" bgcolor="#CCCCCC"><code>Response.Redirect("GoHere.aspx")</code></td>
</tr>
</tbody>
</table>
<p>When a visitor fires up her browser and enters <code>www.example.com/RedirectDemo.aspx</code> into her browser&#8217;s Address bar, the browser makes a request to this URL and the above code executes. The<code>Response.Redirect</code> method call above causes ASP.NET to immediately send back the following response:</p>
<table width="95%" border="0">
<tbody>
<tr>
<td width="100%" bgcolor="#CCCCCC"><code><span>HTTP/1.1 <strong>302</strong> Found <br />Location: http://www.example.com/GoHere.aspx <br /></span> Content-Type: text/html; charset=utf-8 <br />Content-Length: 150 </p>
<p>&lt;html&gt;&lt;head&gt;&lt;title&gt;Object moved&lt;/title&gt;&lt;/head&gt;&lt;body&gt; <br />&lt;h2&gt;Object moved to &lt;a href='http://www.example.com/GoHere.aspx'&gt;here&lt;/a&gt;.&lt;/h2&gt; <br />&lt;/body&gt;&lt;/html&gt;</code></td>
</tr>
</tbody>
</table>
<p>Note the two <span>highlighted</span> lines in the response. The first line includes the status code, 302. The second line shows the <code>Location</code> HTTP header, which tells the browser where the resource (<code>RedirectDemo.aspx</code>) now resides. The net effect is that the browser, upon receiving this response, will automatically make a request for <code>www.example.com/GoHere.aspx</code>. From the end user&#8217;s perspective this happened automatically. She initially typed <code>www.example.com/RedirectDemo.aspx</code> into her browser&#8217;s Address bar and then the next thing she knows she&#8217;s visiting <code>www.example.com/GoHere.aspx</code>.</p>
<p>It&#8217;s important to understand that the 302 status code indicates that the resource being requested has <em>temporarily</em> moved to a new URL. A client &#8211; such as a search engine spider &#8211; that receives a 302 status will continue to try the original URL for future requests. There is an alternative status code, 301, that should be used if the resource has been moved <strong>permanently</strong>. ASP.NET 4 offers a new method, <a href="http://msdn.microsoft.com/en-us/library/system.web.httpresponse.redirectpermanent.aspx"><code>Response.RedirectPermanent</code></a> , which does a redirect using the 301 status code instead of the 302 status code. For example, if we updated the <code>RedirectDemo.aspx</code> page&#8217;s code to use the following instead:</p>
<table width="95%" border="0">
<tbody>
<tr>
<td width="100%" bgcolor="#CCCCCC"><code>Response.RedirectPermanent("GoHere.aspx")</code></td>
</tr>
</tbody>
</table>
<p>Then when a user visited this page the HTTP traffic would look slightly different. Namely, the first line in the response has changed from a status of &#8220;302 Found&#8221; to &#8220;301 Moved Permanently&#8221;, as the following output shows:</p>
<table width="95%" border="0">
<tbody>
<tr>
<td width="100%" bgcolor="#CCCCCC"><code><span>HTTP/1.1 301 Moved Permanently <br /></span> Location: http://www.example.com/GoHere.aspx <br />Content-Length: 142 <br />Connection: Close </p>
<p>&lt;html&gt;&lt;head&gt;&lt;title&gt;Object moved&lt;/title&gt;&lt;/head&gt;&lt;body&gt; <br />&lt;h2&gt;Object moved to &lt;a href='http://www.example.com/GoHere.aspx'&gt;here&lt;/a&gt;.&lt;/h2&gt; <br />&lt;/body&gt;&lt;/html&gt;</code></td>
</tr>
</tbody>
</table>
<p>From the perspective of a visitor arriving from a browser, there are no obvious differences between the 301 and 302 redirect examples. But consider what happens when a search engine spider comes to crawl your site and bumps into a URL like <code>RedirectDemo.aspx</code>. If <code>RedirectDemo.aspx</code> does a 302 redirect (a/k/a, a temporary redirect) to a different URL, such as <code>GoHere.aspx</code>, the spider, when it crawls next week or next month or whenever, will again check <code>RedirectDemo.aspx</code>. However, if <code>RedirectDemo.aspx</code> does a 301 redirect (a/k/a, a permanent redirect), the spider will update its index, replacing its knowledge and information about <code>RedirectDemo.aspx</code> with the new URL, <code>GoHere.aspx</code>.</p>
<p>So what does this all mean for SEO? If you have an old URL that you no longer want search engines to index or users to visit, but rather want them to use a new URL, use a 301 permanent redirect rather than the 302 temporary redirect. Earlier in this article we talked about ASP.NET Routing and how it could be used to allow for URLs like <code>www.example.com/categories/Beverages/products</code> in place of URLs like <code>www.example.com/scripts/ShowProductsInCategory.aspx?CategoryID=342</code>. If you implement ASP.NET Routing on an existing site it would be wise to put 301 permanent redirects on the old URLs that point to the new, SEO-friendly ones. (That is, to have a request for <code>www.example.com/scripts/ShowProductsInCategory.aspx?CategoryID=342</code> do a <code>Response.RedirectPermanent</code> to the new URL, <code>www.example.com/categories/Beverages/products</code>.) Doing so will update your site&#8217;s old URLs in the search engine&#8217;s index with the new ones.</p>
<p><strong>Programmatically Setting <code>&lt;meta&gt;</code> Keywords and Description Tags</strong> <br />The <code>&lt;head&gt;</code> element in an HTML document provides metadata about the web page, including the page&#8217;s title (via the <code>&lt;title&gt;</code> element), and links to external <a target="undefined" class="kLink" href="blank#" id="KonaLink1" name="KonaLink1"><span><span class="kLink">CSS</span></span></a> and JavaScript files, among other information. ASP.NET offers ways to have this metadata assigned automatically or programmatically. For example, you can programmatically set the page&#8217;s title using the <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.page.aspx"><code>Page</code> class</a>&#8216;s <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.page.title.aspx"><code>Title</code> property</a>. (See <a href="http://www.4guysfromrolla.com/articles/051006-1.aspx">Dynamically Setting the Page&#8217;s Title</a> for more information.) Likewise, when using <a href="http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx">ASP.NET Themes</a> any stylesheets defined in the theme are automatically included in the page&#8217;s <code>&lt;head&gt;</code> section.</p>
<p>When crawling through the pages in a website, a search engine spider will examine the <code>&lt;head&gt;</code> section to determine more information about the page. A page&#8217;s keywords and a human-friendly description of the page may be included in the <code>&lt;head&gt;</code> section through the use of <code>&lt;meta&gt;</code> elements. For example, the following <code>&lt;head&gt;</code> element includes a hard-coded title and hard-coded keyword and description <code>&lt;meta&gt;</code> tags:</p>
<table width="95%" border="0">
<tbody>
<tr>
<td width="100%" bgcolor="#CCCCCC"><code>&lt;head runat="server"&gt; <br />&lt;title&gt;The web page title...&lt;/title&gt; <br />&lt;<span>meta name="keywords" content="your,keywords,each one delimited by a,comma" /&gt; <br />&lt;meta name="description" content="A description of your web page goes here." /&gt; <br /></span> &lt;/head&gt;</code></td>
</tr>
</tbody>
</table>
<p>ASP.NET 4 adds two new properties to the <code>Page</code> class that allow for these two <code>&lt;meta&gt;</code> tags to be specified programmatically:</p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/system.web.ui.page.metakeywords.aspx"><code>MetaKeywords</code></a> , and</li>
<li><a href="http://msdn.microsoft.com/en-us/library/system.web.ui.page.metadescription.aspx"><code>MetaDescription</code></a></li>
</ul>
<p>You can set these properties from code just like you can the <code>Page.Title</code> property. For example, to generate the above <code>&lt;meta&gt;</code> tags programmatically we&#8217;d simply need to add the following lines of code to the ASP.NET page&#8217;s code-behind class:</p>
<table width="95%" border="0">
<tbody>
<tr>
<td width="100%" bgcolor="#CCCCCC"><code>Page.MetaKeywords = "your,keywords,each one delimited by a,comma" <br />Page.MetaDescription = "A description of your web page goes here."</code></td>
</tr>
</tbody>
</table>
<p><strong>Conclusion</strong> <br />ASP.NET 4 adds a number of facilities targeted at SEO. In this article we discussed three: the ASP.NET Routing system; using the new <code>Response.RedirectPermanent</code> method to generate 301 moved permanently redirects; and using the new <code>Page</code> class properties <code>MetaKeywords</code> and <code>MetaDescription</code> to programmatically add tags to the page&#8217;s <code>&lt;head&gt;</code> section.</p>
<p>Happy Programming!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/search-engine-optimization-enhancements-in-asp-net-4-776.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.Net and Flash Communication</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/asp-net-and-flash-communication-699.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/asp-net-and-flash-communication-699.html#comments</comments>
		<pubDate>Sun, 04 Jul 2010 18:45:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Communication]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=699</guid>
		<description><![CDATA[Hello Readers, I&#39;ve covered in this article only a small and simple overview of the world of Flash development with ASP. NET. I&#39;ve recently developed a Web site that covers thoroughly all Flash, ASP. NET communication methods in this article, and a step-by-step introduction to ASP mentioned. NET development with C # using Visual Studio. [...]]]></description>
			<content:encoded><![CDATA[<p>Hello Readers, I&#39;ve covered in this article only a small and simple overview of the world of Flash development with ASP. NET. I&#39;ve recently developed a Web site that covers thoroughly all Flash, ASP. NET communication methods in this article, and a step-by-step introduction to ASP mentioned. NET development with C # using Visual Studio. NET IDE coolest and Adobe Flash CS. Step 1 Open Adobe Flash CS. Create a new document, select Flash File (ActionScript second 0). Perhaps you are interested in ActionScript 3 (AS3), but I choose ActionScript 2 (AS2) for the easier to understand. Only me to step, and I assure you, you are a good Flash developers will be after reading this article. Now you see a single tab, namely &quot;1 Untitled&quot; in the Adobe Flash. After saving the file &quot;Untitled 1&quot; text will be replaced with your preferred file name. I called it &quot;AspFlash. Fla. Remember, FLA is a flash source file and output file SWF movie, the need to be embedded in ASP. Net ASPX file later. Adobe Flash split-down window with several, not to be confused. You do not know all the windows functions. Start with the left called &quot;Tools&quot; in the middle top window called &quot;Time Line&quot;, close the window as a &quot;Scene&quot;, next to bottom of the window called &quot;Properties&quot; and the right of the window split down the window with many &#39; color &#39;,&#39; Align &#39;,&#39; Components &quot;and&quot; Library &quot;. The entire Windows can be on and off by the&quot; Window &quot;menu. Look at the&quot; Scene &quot;window, which will be your design area. From der&#39;&#39;Properties &quot;window you can color and size as per your requirements. Step 2 Now add a few components from the &quot;Components&quot; expand window &#39;User Interface&#39;</p>
<p>. Oh! many things. Drag a &quot;Text Input&quot; and a &quot;button&quot; on your &quot;Scene&quot; window and align it correctly. Select &#39;Text Input &quot;and put an instance name (eg TextInput1) from the window&#39; Properties&#39;. Without such as name, is ActionScript does not recognize components. The same for the &#39;button&#39; instance name (eg SendData) and the &#39;Parameters&#39; tab &quot;Change Button&quot; label (for example, sending data).</p>
<p>begin Step 3 Here is from the main coding part. Select &quot;level 1&quot; of &quot;Timeline&quot; window and press F9 (keyboard function keys). You will see &quot;Actions&quot; window, where you as you write code. Type or paste the following code plague. / / ** *************************************** *******//&lt; / p&gt; SendData. onPress = function () (<br />
	/ / declare and initialize variables var <br />
	send_lv: LoadVars = new LoadVars (); <br />
	/ / assign value parameters, such as ASP. Net QueryString <br />
	send_lv. mydata = TextInput1. text; send <br />
	/ / Send data <br />
	send_lv. (&#39;default. aspx&#39;, &#39; _self &#39;,&#39; GET &#39;); <br />
	) //****************** ********* *********************// The LoadVars object is for the exchange of data between flash &#8211; used server. The LoadVars object is in able either to send data to the server for processing, loading data from the server or sending data to the server and waits for a response from the server in one operation. The LoadVars object uses name-value pairs for the transfer data between the client and the server exchange. The LoadVars object is best used in a scenario, the two-way communication between the Flash Movie and server-side logic requires, however, require not to hand over large amounts of data &lt; / p&gt; are</p>
<p>Step 4 or copy the following code to plague the QueryString in Flash read &#8211; Action Script is second in ActionScript 2 is not methods, such as ASP . Net, so I wrote the following codes to get QueryString from URL. _url The method returns the URL of the &#39;AspFlash. swf &quot;file, the aspx page is loaded. //******************************* ********** *******// / / Reading QuaryString <br />
	myURL = this. _url; <br />
	myPos = myURL. lastIndexOf (&quot;?&quot;);&lt; br /&gt; if (myPos&gt; 0) (var <br />
	myRawParam = myURL. substring (myPos + length (&quot;mydata = &#39;) + 1, myURL. length); <br />
	MyParam = myRawParam. toString (). (&quot;&#39;&quot;). Join (&quot;&quot;);&lt; split br /&gt; if (MyParam! TextInput1 = undefined) (<br />
	. text = MyParam;) </p>
<p>	) //************************** * *********************// Step 5 Save your file File menu. Now we need to make the final SWF train and embed it on aspx page. From the File menu, click &quot;Publish Settings&quot; and you will be a new window with three tabs (see formats, Flash and HTML). In the Formats tab Check Flash and HTML types, so you do the SWF file embedded code in HTML page. Now press the &quot;Publish&quot; move to build the final. If there are no errors, you will have two Flash files (eg &quot;AspFlash. Swf&quot; and &quot;AspFlash. Html &#39;) in the root folder where the source file&quot; AspFlash. fla is.</p>
<p>Step 6 Now start Visual Studio.</p>
<p>Net (VS) and create a new website called &quot;AspFlash&quot; . VS creates a default page that is &quot;standard.&quot; aspx &quot;. From solution explorer, double-click &quot;Standard&quot;. aspx &quot;file to markup (also known as inline code) as follows. //************************ ***************** *******// </p>
<p>
	&lt; ; / p&gt; <br />
	&nbsp;</p>
<p>//***** *********************** ********************//</p>
<p>Copy Now &quot;AspFlash. swf &quot;and&quot; AspFlash. html files in your web root directory. I should find my ASPX, SWF files in the same directory. Open &#39;AspFlash. html &quot;file and copy the following lines, and paste it into the tag &#39;default. aspx&quot; file. //***************************************** ** *****// </p>
<p>	//******* ** ***************************************// After Paste the above code requires little change to &#39;AspFlash. swf &quot;parameter like this. Look at the line &#39;AspFlash. swf? mydata =&#39; &#39;&#39;, what we have. _url Flash read data mydata by ASP is delivered. Net later. //************************************* **** *******// </p>
<p>	width = &quot;550&quot; height = &quot;400&quot; id = &quot;AspFlash&quot; align = &quot;middle&quot; &gt; </p>
<p>
	&quot;&quot; /&gt; </p>
<p>
	&quot;quality =&quot; high &quot;bgcolor = &quot;# FFFFFF&quot; <br />
	width = &quot;550&quot; height = &quot;400&quot; name = &quot;AspFlash&quot; allowfullscreen align = &quot;middle&quot; allowScriptAccess = &quot;sameDomain&quot; <br />
	= &quot;false&quot; type = &quot;application / x-shockwave-flash&quot; pluginspage = &quot;http://www. Macromedia. com / go / getflashplayer&quot; /&gt; <br />
	//************* ************************ ***********// Finally, add two ASP. NET standard controls on the &#39;Default. aspx page (such as TextBox and Button). Modify button to send text property to &quot;data&quot;. The full &quot;standard&quot;. aspx is as follows. looks like //************************************ ***** *******// </p>
<p>	; </p>
<p>
	width = &quot;550&quot; height = &quot;400&quot; id = &quot;AspFlash&quot; align = &quot;middle&quot;&gt; </p>
<p>
	&quot;&quot; /&gt; </p>
<p>
	&quot;quality =&quot; high &quot;bgcolor =&quot; # FFFFFF &quot;<br />
	width = &quot;550&quot; height = &quot;400&quot; name pluginspage = &quot;AspFlash&quot; allowfullscreen align = &quot;middle&quot; allowScriptAccess = &quot;sameDomain&quot; <br />
	= &quot;false&quot; type = &quot;application / x-shockwave-flash&quot; = &quot; http://www. Macromedia. com / go / getflashplayer &quot;/&gt; </p>
<p>	&nbsp;</p>
<p>//********************************** ************ **// Step 7 In this step, you have to open &#39;default. cs &quot;file by clicking&quot; View Code &quot;points to&quot; default. &quot;aspx&quot; Solution Explorer of VS. By default, VS has Page_Load event procedure. You must add a text on Page_Load event procedure with the Button1_Click event procedure like this. //***************************************** ** *****// protected void Page_Load (object sender, EventArgs e) (</p>
<p>	if (IsPostBack) <br />
	if (Request [ &quot;mydata&quot;]! = null) <br />
	TextBox1. Text = Request [&quot;mydata&quot;]. ToString ();) </p>
<p>	protected void button1_Click (object sender, EventArgs e) (</p>
<p>	Response. Redirect (&quot;~ / default. Aspx? Mydata =&quot; + TextBox1. Text); <br />
	) / / * ***************** ******************************//&lt; ; / p&gt; Step 8 Well construction the site with F5 (keyboard function key) and enter text in Flash movie and click on &quot;send data&quot; in order to send data to Flash aspx page. You will see aspx &#39;TextBox&#39; changed your text with Flash &#39;text input text&#39;. The same way you enter text in aspx &quot;TextBox&quot; and click &quot;send data&quot; in order to send data to aspx Flash movie. Enjoy the communication between technology ASP. Net and Flash.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/asp-net-and-flash-communication-699.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reasons to choose ASP.Net programming Technology for the automation of your business</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/reasons-to-choose-asp-net-programming-technology-for-the-automation-of-your-business-602.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/reasons-to-choose-asp-net-programming-technology-for-the-automation-of-your-business-602.html#comments</comments>
		<pubDate>Fri, 02 Jul 2010 05:29:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Choose]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Reasons]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=602</guid>
		<description><![CDATA[In today&#39;s fast and competitive edge Internet it really is very hard to survive for your business. If you plan to target domestic market and only want your product but only direct marketing market, it is really difficult or impossible to say we can survive for you to. For top-class product and business development web [...]]]></description>
			<content:encoded><![CDATA[<p>In today&#39;s fast and competitive edge Internet it really is very hard to survive for your business. If you plan to target domestic market and only want your product but only direct marketing market, it is really difficult or impossible to say we can survive for you to. For top-class product and business development web presence is important, but if your product is not as high, then you have to show online presence. To develop a website for your business is one of the best ways to have a web presence. In order to develop a website programming is required. </p>
<p>	are not the only, but to reduce resources and increase the speed and accuracy of automation is required. For the automation, a system program is a basic requirement. Now the question is there are so many technologies and programming languages are available. If you are not a technical person, it&#39;s a great question for you that the technology is the best choice. Do not worry, we are here to help you. According to the current scenario, ASP. Net is the best technology to go with. </p>
<p>	ASP stands for Active Server Pages. ASP. Net programming very useful to develop dynamic pages. The .NET development is used enormously to the solutions, such as businesses and all other types of sites, Business to Business Portal, Business to develop Customer Portal, CRM systems, e-commerce sites, auction sites and systems, survey and poll sites and systems, etc. ASP.Net programming is very user friendly and easy to deploy .NET programmers . Sun dot net programming is often used to develop all software development application. </p>
<p>	Today, every company has its own requirements. If someone wants to develop a website or a system for his or her business she or he has his own requirements. For matching has now become a part of programming. If the system develops in ASP. Net programming technology, adaptation will be very easy. This is also one of the great advantages of the ASP programming . NET . </p>
<p>	Another reason to use dot net programming you will find the ASP. NET programmers very easy. India is the country where you can find so many ASP programmers user . It&#39;s easy to find a . NET Programmers India . So many companies offer Software Development services and web development in India. To rent one. NET programmers form India is a wise decision. The main reasons are Indian Website Programming industry, with more than 10 years experience in software development. The programmers from India are working with ASP. Net at the time of its launch. So when someone questions after the development of a system Indian programmers will be able to get a solution. Another benefit is the communication skill. Asp Indian programmers communicate with very good communication skills, the ideas will be very easy. The price is always the most important factor. Here you will find a quality and accurate ASP. NET programmers in a very affordable price. </p>
<p>	So just go online and automate your business by asp. NET programming of recruitment and ASP. NET programmers from India. If you are not in a position, a good Web Development Company then you will also find a freelance programmer from India can be very easy to find. To create your online presence and automate your business processes with ASP. Net technology . <font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px; font-weight: normal;"><br />
	</span></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/reasons-to-choose-asp-net-programming-technology-for-the-automation-of-your-business-602.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Benefits Of Asp.net</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/benefits-of-asp-net-243.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/benefits-of-asp-net-243.html#comments</comments>
		<pubDate>Tue, 01 Jun 2010 23:42:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=243</guid>
		<description><![CDATA[ASP.NET is an acronym for the Active Server Pages .NET, which is a brilliant framework developed by Microsoft. ASP.NET is extremely useful for creation of web applications, and web pages, and forms an essential part of the web goodies developed for any online content. ASP.NET not only facilitates usage of scripting languages, but also allows [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ASP.NET</strong> is an acronym for the Active Server Pages .NET, which is a brilliant framework developed by Microsoft.</p>
<p>	<a href="http://www.channelintegration.com" onclick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" rel="nofollow" title="Ecommerce Multi Channel Integration">ASP.NET</a> is extremely useful for creation of web applications, and web pages, and forms an essential part of the web goodies developed for any online content. ASP.NET not only facilitates usage of scripting languages, but also allows you to incorporate usage of extremely efficient next-generation programming languages like Java, VB, C+and the likes of them.</p>
<p>	Looking at the historical perspective, in the earlier days, development of well-designed web-pages was a tedious task, and the developers had to put in rigorous efforts due to lack of efficient technology and a complete framework.</p>
<p>	As a result, soon after the release of IIS, a powerful technology like <strong>ASP.NET</strong> was in high demand for developing proficient web-based applications within a short time without putting-in too much of human labor.</p>
<p>	As far as the orientation of the technology is concerned, <strong>ASP.NET</strong> is surely of the server sided technologies, built on a common runtime, which essentially means that it is supported by any Windows server, allowing you to host the attractive yet efficient ASP.NET websites.</p>
<p>	There are plenty of benefits of using this resourceful web-empowering ASP.NET technology, and the primary one is obviously the available of the built in resources, a feature-rich toolbox, and many other highly useful facilities to facilitate the developer as well as the end-user. Consequently most of the famous websites running today, such as the eBay, Amazon etc are powered by the <strong>ASP.NET</strong>, and probably the technology is the key to their proficiency.</p>
<p>	Moreover the <strong>ASP.NET</strong> easily goes hand-in-hand with the <strong>ADO.NET</strong> and other useful resourceful technologies and as a result, the process of development becomes lot easier. Above all there aren&#39;t any compatibility issues, as it is a universally accepted standard today.</p>
<p>	The <a href="http://www.channelintegration.com" onclick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" rel="nofollow" title="Ecommerce Multi Channel Integration">ASP. NET </a> powered applications incorporate processes that can be accurately monitored by the ASP.NET run time, and can be managed efficiently so as to accommodate large number of users at a time.</p>
<p>	The fault-tolerance of the applications developed with the ASP.NET technology is also pretty high, and everything is highly portable under such a flexible environment, wherein using HTML in conjunction with the other technologies becomes a cake-walk.</p>
<p>	Undeniable you will need to put in good efforts to learn <strong>ASP.NET</strong>, but once you are done with it, the proficiency of your work would obviously be a lot higher than before. You would always have an edge over the others in the market, as possessing thorough working knowledge of the ASP.NET technology will not only make your present task easier, but also present you with good career-opportunities in due course. It is surely one of the latest upcoming technologies, and with the demand of web-based applications increasing like never before, the future of the <strong>ASP.NET</strong> technology seems to be&nbsp; a promising one for sure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/benefits-of-asp-net-243.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why One Should Get An ASP.NET Dashboard</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/why-one-should-get-an-asp-net-dashboard-242.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/why-one-should-get-an-asp-net-dashboard-242.html#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:34:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=242</guid>
		<description><![CDATA[Digital dashboards come in all shapes and sizes. The ASP.NET dashboard is based on the ASP.NET framework that allows for more dynamic presentation of data. Data visualization has come to a point wherein function also meets art. Contemporary data visualization applications bring new life into ordinary data, presenting them in a lot of new ways. [...]]]></description>
			<content:encoded><![CDATA[<p>Digital dashboards come in all shapes and sizes. The ASP.NET dashboard is based on the ASP.NET framework that allows for more dynamic presentation of data. Data visualization has come to a point wherein function also meets art. Contemporary data visualization applications bring new life into ordinary data, presenting them in a lot of new ways. One can actually see that data does not need to be boring after all &#8211; it can also entertain and educate without forcing the readers to do so. There are a lot of available programming languages out in the market today which could be tweaked by programmers to do a lot of applications. These &quot;creations&quot; are available online so that other people can look into it, and exchange ideas with them.</p>
<p>However, they each have their own strengths and limitations and could only be used for what they were programmed to do so. One of these is ASP.NET. The ASP.NET dashboard helps in creating the perfect data visualization the company has in mind for different presentations. As the ASP.NET is supported by the .NET framework created by Microsoft, it enjoys a wide range of environments and Microsoft programs where it can be used for. It also supports several programming languages such as C#, C++ and Perl making for richer and more varied content. Best of all, it offers WYSIWYG, a &quot;preview&quot; of what the end result will look like. Sounds great? Getting the best data visualization software will amount to nothing if the features would be limited and impose restrictions to creativity.</p>
<p>Here are the reasons why everyone should consider getting an ASP.NET dashboard. -Of course, people will prefer to have more interesting content than just having plain text and still pictures on a webpage. ASP.NET dashboards could be utilized in websites to offer more dynamic content. Using the strength of the ASP.NET framework, people could customize the way websites should be presented to the world. This includes informative data that can both be pleasing to look at and informative at the same time. It also allows for more detail to be put into the presented data that ordinary graphs or charts could not achieve. -It allows for exporting to Microsoft program suites such as Visual Studio to create ASP.NET applications. And Microsoft makes up the majority of all leading office applications in the market today. -WYSWIYG allows for a &quot;preview&quot; of the resulting programmed ASP.NET application. However, one must note that there are types of WYSIWYG that need a lot of markup language expertise to undo programming script changes. &#8211; ASP.NET, even if it is the successor of the ASP framework, sadly isn&#39;t backward compatible with it. This could cause programs if people would wish to run ASP on an ASP.NET dashboard suite.</p>
<p>However, ASP.NET can work together with ASP. With these great characteristics, the ASP.NET dashboard is easily one of the most in-demand applications out in the market today. There are also a lot of available programs that also take advantage of the ASP.NET framework that showcases its versatility. Together with other data visualization software, ASP.NET dashboards make the web a better place to browse in one web page at a time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/why-one-should-get-an-asp-net-dashboard-242.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction To Asp Net</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/introduction-to-asp-net-240.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/introduction-to-asp-net-240.html#comments</comments>
		<pubDate>Mon, 31 May 2010 17:37:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=240</guid>
		<description><![CDATA[Introduction to ASP NET Unlike the ASP runtime, ASP.NET uses the Common Language Runtime (CLR) provided by the .NET Framework. Visit Here Now http://dotnet-asansol.blogspot.com The CLR is the .NET runtime, which manages the execution of code. The CLR allows the objects, which are created in different languages, to interact with each other and hence removes [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction to ASP NET</strong></p>
<p>Unlike the ASP runtime, ASP.NET uses the Common Language Runtime (CLR) provided by the .NET Framework. <strong>Visit Here Now </strong><a href="http://dotnet-asansol.blogspot.com" onclick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" rel="nofollow">http://dotnet-asansol.blogspot.com</a></p>
<p>The CLR is the .NET runtime, which manages the execution of code. The CLR allows the objects, which are created in different languages, to interact with each other and hence removes the language barrier. CLR thus makes Web application development more efficient.</p>
<p>In addition to simplifying the designing of Web applications, the .NET CLR offers many advantages. Some of these advantages are listed as follows.</p>
<p>Improved performance:</p>
<p>The ASP.NET code is a compiled CLR code instead of an interpreted code. The CLR provides just-in-time compilation, native optimization, and caching. Here, it is important to note that compilation is a two-stage process in the .NET Framework. First, the code is compiled into</p>
<p>the Microsoft Intermediate Language (MSIL).</p>
<p>Then, at the execution time, the MSIL is compiled into native code. Only the portions of the code that are actually needed will be compiled into native code. This is called Just In Time compilation. These features lead to an overall improved performance of ASP.NET applications.</p>
<p>Flexibility:</p>
<p>The entire .NET class library can be accessed by ASP.NET applications. You can use the language that best applies to the type of functionality you want to implement, because ASP.NET is language independent.</p>
<p>Configuration settings:</p>
<p>The application-level configuration settings are stored in an Extensible Markup Language (XML) format. The XML format is a hierarchical text format, which is easy to read and write. This format makes it easy to apply new settings to applications without the aid of any local administration tools.</p>
<p>Security:</p>
<p>ASP.NET applications are secure and use a set of default authorization and authentication schemes. However, you can modify these schemes according to the security needs of an application.</p>
<p>In addition to this list of advantages, the ASP.NET framework makes it easy to migrate from ASP applications.</p>
<p>Creating an ASP.NET Application</p>
<p>Use a text editor:</p>
<p>In this method, you can write the code in a text editor, such as Notepad, and save the code as an ASPX file. You can save the ASPX file in the directory C:inetpubwwwroot. Then, to display the output of the Web page in Internet Explorer, you simply need to type&nbsp; in the Address box. If the IIS server is installed on some other machine on the network, replace &quot;localhost&quot; with the name of the server. If you save the file in some other directory, you need to add the file to a virtual directory in the Default WebSite directory on the IIS server. You can also create your own virtual directory and add the file to it.</p>
<p>Use the VS.NET IDE:</p>
<p>In this method, you use the IDE of Visual Studio .NET to create a Web page in a WYSIWYG manner. Also, when you create a Web application, the application is automatically created on a Web server (IIS server). You do not need to create a separate virtual directory on the IIS server.</p>
<p>From the preceding discussion, it is obvious that the development of ASP.NET Web applications is much more convenient and efficient in Visual Studio .NET.</p>
<p>ASP.NET Web pages consist of HTML text and the code. The HTML text and the code can be separated in two different files. You can write the code in Visual Basic or C# . This separate file is called the code behind file. In this section, you&#39;ll create simple Web pages by using VB as well as C#.</p>
<p>Before you start creating a Web page, you should be familiar with basic ASP.NET syntax. At the top of the page, you must specify an @ Page directive to define page specific attributes, such as language.</p>
<p>To specify the language as VB for any code output to be rendered on the page.</p>
<p>This line indicates that any code in the block, , on the page is compiled by using VB.</p>
<p>To render the output on your page, you can use the Response.Write() method.</p>
<p>Creating a Visual Basic Web Application</p>
<p>You can create an ASP.NET application using Visual Basic by creating a Visual Basic</p>
<p>Web Application project. To do so, complete the following steps:</p>
<p>1. Select File &reg; New &reg; Project. The New Project dialog box appears.</p>
<p>2. Select Visual Basic Projects from the Project Types pane.</p>
<p>3. Select ASP.NET Web Application from the Templates pane. The Name box contains a default name of the application. The Location box contains the name of a Web server where the application will be created. However, you can change the default name and location. In this case, the name of the sample application is SampleVB.</p>
<p>Deploying an ASP.NET Web Application</p>
<p>After creating and testing your ASP.NET Web applications, the next step is deployment.</p>
<p>Deployment is the process of distributing the finished applications (without the source code) to be installed on other computers.</p>
<p>In Visual Studio .NET, the deployment mechanism is the same irrespective of the programming language and tools used to create applications. In this section, you&#39;ll deploy the &quot;Hello World&quot; Web application that you created. You can deploy any of the application that was created by using VB or C#. Here, you&#39;ll deploy the application created by using VB. To do so, follow these steps:</p>
<p>1. Open the Web application project that you want to deploy. In this case, open the SampleVB project.</p>
<p>2. Select File &reg; Add Project &reg; New Project to open the Add New Project dialog box.</p>
<p>3. From the Project Types pane, select Setup and Deployment Projects.</p>
<p>From the Templates pane, select Web Setup Project.</p>
<p>4. Change the default name of the project. In this case, change it to &quot;SampleVBDeploy.&quot;</p>
<p>5. Click OK to complete the process. The project is added in the Solution Explorer window.<strong>Visit Here Now </strong><a href="http://dotnet-asansol.blogspot.com" onclick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" rel="nofollow">http://dotnet-asansol.blogspot.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/introduction-to-asp-net-240.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offshore ASP.NET Application Development</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/offshore-asp-net-application-development-236.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/offshore-asp-net-application-development-236.html#comments</comments>
		<pubDate>Sun, 30 May 2010 01:35:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Offshore]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=236</guid>
		<description><![CDATA[Microsoft&#39;s Active Server Pages (ASP).Net program permits web developers to design and develop dynamic web applications, web sites and other web related services and technologies. Microsoft had first come up with .NET Framework, followed by the Classic ASP development which was later followed by ASP.NET Framework with improved features and services. Asp.net software development is [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft&#39;s Active Server Pages (ASP).Net program permits web developers to design and develop dynamic web applications, web sites and other web related services and technologies. Microsoft had first come up with .NET Framework, followed by the Classic ASP development which was later followed by ASP.NET Framework with improved features and services. Asp.net software development is largely popular for the features and programming services. This has witnessed an increase in Asp.net programmers and developers.</p>
<p>Asp.net framework was developed for the sole purpose of managing web pages that get updated automatically as it was difficult to update static web pages manually earlier before its invention. Today, most popular websites make use of Asp.net application development.</p>
<p><a href="http://www.semaphore-software.com/software-solution/asp.net-development.htm" onclick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" rel="nofollow">ASP.NET Application Development</a> uses brief and easy coding, secures applications and programs of your web site, its performance is authentic in comparison to other programs. This application is easy-to-use while performing tasks providing flexibility to Asp.net developers. It is a language-independent program allowing you to chose the language of your comfort. It continuously monitors programs and web pages for secure reasons, if it senses any illegal actions then it shuts down all activities and restarts itself. The Asp.net outsourcing is easily available by professional web developers who provide the facility of .net development web sites. Today a higher number of people are familiar using this programming language for it is flexible enough in exchanging information with other applications, which is one of its major plus points. .Net developments have been hugely popular and used in diversity for the freedom it provides to its developers.</p>
<p>Semaphore-Software has been working for clients with <a href="http://www.semaphore-software.com" onclick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" rel="nofollow">ASP.NET Framework</a> offering them Asp.Net applications developments, asp.net programming, asp.net software development, etc. Our professionally qualified team of web developers, has a wide range of exposure in this area which proves to bring out impressive results. We have been providing web development services in various areas and Asp.Net is one such area. Our skilled and talented Asp.Net developers guide clients with Asp.Net consulting and outsourcing services, serving them with the best talent around, who ensure successful outcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/offshore-asp-net-application-development-236.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Efficiency and Effectiveness of ASP.net as a language</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/efficiency-and-effectiveness-of-asp-net-as-a-language-235.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/efficiency-and-effectiveness-of-asp-net-as-a-language-235.html#comments</comments>
		<pubDate>Sat, 29 May 2010 15:35:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Effectiveness]]></category>
		<category><![CDATA[Efficiency]]></category>
		<category><![CDATA[language]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=235</guid>
		<description><![CDATA[In order to evaluate and assess ASP.Net you have to first understand the acronym and then access the support provided. The full form of the acronym is Active Server Pages .Net. This dedicated Microsoft application has been developed to create web pages and wireless or internet enhanced Microsoft .Net web programming technologies.&#160; ASP.net is rife [...]]]></description>
			<content:encoded><![CDATA[<p>In order to evaluate and assess ASP.Net you have to first understand the acronym and then access the support provided. The full form of the acronym is Active Server Pages .Net. This dedicated Microsoft application has been developed to create web pages and wireless or internet enhanced Microsoft .Net web programming technologies.&nbsp; ASP.net is rife with efficiency and effectiveness and forms an integral part of the software giant&rsquo;s .Net vision. It is in this capacity that the .Net framework becomes indispensible to web programmers and developers. The end result created is dynamic and sophisticated. <br />
	ASP.net as a language: <br />
	With the use of languages like VB and C# the usage of .Net technology makes web designing very quick and versatile. ASP.Net is not a program that is limited to any one script language. The versatility of this visionary application from Microsoft enables you to use.Net languages such as C#, J# and VB, to develop and build technologically challenging and very compelling applications. The use of Visual Studio, a dedicated development tool, the application is an unadulterated server-side technology. <br />
	The whole ASP.net technology rests on the versatility of a common language runtime. This enables developers and website designers to use the application on just about any Windows server to offer state of the art dimensions and dynamics to web sites and support technologies. With the ASP.net software application development, you have a chance to completely meander through rather redundant and static web designs and content. The consistent modification that the technology calls for makes it unparalleled. <br />
	Not only is the application updated automatically, but it is also equipped to deploy action based dynamism on the web pages. The latter is an application that springs from the fact that the ASP.net technology is executed on the server side, and hence sending the output directly to the user end web browser. Today, ASP.net is popularly coveted and flaunted by major web bigwigs like Amazon.com and eBay.com. The technology is credited with a reduction in code requirement to build large applications. <br />
	The add-ons within the technology: <br />
	It is also designed to assure the user of safe and secure applications since the built-in Windows authentication is doubled in dynamism with the per-application configuration. Not only does ASP.net provide better performance via early binding and compilation of matter, but it also extends native optimization and dedicated caching services to the end result. <br />
	ASP.net is an application within a Microsoft endorsed framework to help web designing endeavors with a rich toolbox, Visual Studio development environment, versatile WYSIWYG editing and the easy-to-access drag-and-drop server control system. These automated deployments enable ASP.net to perform routine web tasks in the most efficient and effective manner. The arena is developed to address everything from submission to client authentication. It is also deployed for site configuration. <br />
	The ASP .Net 2.0 CMS development technology flaunts an engineering that banks on the integration of source code and HTM. This makes the web pages designed with the technology very easy to maintain and write. Since the source code is server executed, web pages and designs enjoy more flexibility. With the help of ASP.net you can closely monitor ingrained processes and runtime, to catch a redundant one in time and replace the same with a dynamic new one!&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/efficiency-and-effectiveness-of-asp-net-as-a-language-235.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Effective ASP Net Charting Tools</title>
		<link>http://www.allfreetech.com/microsoft-net/asp-net/effective-asp-net-charting-tools-234.html</link>
		<comments>http://www.allfreetech.com/microsoft-net/asp-net/effective-asp-net-charting-tools-234.html#comments</comments>
		<pubDate>Sat, 29 May 2010 05:36:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Charting]]></category>
		<category><![CDATA[Effective]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.allfreetech.com/?p=234</guid>
		<description><![CDATA[Nowadays there are many ASP net charts available in the markets that are packed with effective and excellent net charting tools for creating and presenting charts. Apart from creating charts ASP net charts are integrated with corporate decision making tools like executive dashboard, reporting solution, analytics and many other relevant applications that require data representations [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays there are many ASP net charts available in the markets that are packed with effective and excellent net charting tools for creating and presenting charts. Apart from creating charts ASP net charts are integrated with corporate decision making tools like executive dashboard, reporting solution, analytics and many other relevant applications that require data representations and effective presentation of information.</p>
<p>&nbsp;- ASP Studio 2005 <br />
	This is a powerful project development tool that is integrated with ASP code for editing and debugging without any server. It is also used for editing and debugging ASP source code for dynamic web page.</p>
<p>- SSC to ASP ASP.NET vers 3 + 4<br />
	This tool helps Spreadsheet Converter to generate an ASP or ASP Net Page and solve your problem by using Microsoft Excel. In order to generate the ASP Page you need not require any programming and the ASP Page looks and calculates like spreadsheet.</p>
<p>- ASP Spell Check <br />
	ASP Spell Check is an international spell checking tool for Microsoft ASP (VBScript) web applications. ASP Spell Check facilitates international spell checking for your ASP applications. It is suitable to use with W3C HTML and XHTML applications and has a high level of accessibility.</p>
<p>- ASP Documentation Tool Premium Edition<br />
	The ASP Documentation Tool creates project documentation for ASP 2.0 and 3.0 web applications written in VBScript and JAVAScript. It also provides its users to access and components like SQL Server 2000 databases and Visual Basic 6.0 associated with the Web application can also be included in the reports.</p>
<p>- Nevron Chart for ASP .NET<br />
	Nevron Chart for Web Forms is effective and the leading charting tool for ASP .NET applications. The tool includes excellent charting features suitable for presenting scientific, financial and business charts.</p>
<p>- Barcode ASP Component<br />
	The Barcode ASP tool can add professional 1D quality barcode PNG format image to web pages running on the IIS server.</p>
<p>- PDF417 Barcode ASP Component<br />
	The small footprint PDF417 ASP component is ATL COM product which can add professional quality 2D barcode PNG format image to your web pages running on the IIS server.</p>
<p>- ASP Code Print<br />
	ASP Code Print is a tool designed to print the source of web pages written using HTML, VBScript and J Script. The output can be printed and exported to RTF and PDF formats.</p>
<p>While comparing all the net charting tools, we can find ASP net charting tools most effective and convenient. These tools are not only efficient and effective but are also easy to use. Almost all ASP net charting tools provides its users with comprehensive knowledge that can help and guide them in creating the right chart for their daily needs. These charting tools are simple and easy and anyone with basic knowledge of internet can make charts with these genuine tools. Because of its effective uses these ASP net charting tools are gaining lot of popularity and demand in almost every sector.</p>
<p>Finally, don&rsquo;t be confused with the 0s. You can put breaks in between if this will make it less confusing for you. With regards to the currency and other formats, check the Excel handbook for the corresponding code. There is a reason why you could preview the finish product of the ASP report. You get a clear picture whether you are putting in the right data or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allfreetech.com/microsoft-net/asp-net/effective-asp-net-charting-tools-234.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
