<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>SPEC-India</title>
	<link>http://blog.spec-india.com</link>
	<description>A Systems Plus Initiative</description>
	<pubDate>Fri, 28 Nov 2008 14:50:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>Some Important features of Dot Net.</title>
		<link>http://blog.spec-india.com/asp-net/some-important-features-of-dot-net/</link>
		<comments>http://blog.spec-india.com/asp-net/some-important-features-of-dot-net/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 14:50:49 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Dot Net Technologies]]></category>

		<category><![CDATA[Dot Net Technology]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/asp-net/some-important-features-of-dot-net/</guid>
		<description><![CDATA[ Interoperability support (Interop)
 Migrating to .NET from existing languages and platforms has been made much easier. Especially if that environment is COM or Java. COM, Interop is built into the framework, and C# will be very familiar for those developing in Java currently. In fact, Microsoft has a migration utility to automatically migrate existing Java source [...]]]></description>
			<content:encoded><![CDATA[<p> <strong>Interoperability support (Interop)</strong></p>
<p> Migrating to .NET from existing languages and platforms has been made much easier. Especially if that environment is COM or Java. COM, Interop is built into the framework, and C# will be very familiar for those developing in Java currently. In fact, Microsoft has a migration utility to automatically migrate existing Java source code into C#.</p>
<p> <strong>Common language runtime (CLR)</strong></p>
<p> This is the engine that is shared among all languages supported in .NET, including C#, VB.NET, Managed C++, J#, and others to come.<br />
 With the help of the CLR, the developer can write base classes in VB.NET, child classes in C#, and aggregate this tree from Managed C++ (this is just one example). You choose the language during implementation.</p>
<p> <strong>Base class library (BCL)</strong></p>
<p> What makes Java so appealing besides the managed environment and cross-platform support is its class library. The .NET framework takes the class library concept a step further by supporting it across any language and extensible for future platform variances. Now BCL-supported features such as remoting, string manipulation, exception handling, and collection management construct is the same from any language conforming to the CLI.</p>
<p> <strong>Common type system (CTS)</strong></p>
<p> This addresses the supported data types within the framework and how they are represented in metadata format. Each supported .NET language need only support a subset of the total data type set. Typically, it will be those types used most frequently (e.g., integer, short, long, string, char, boolean, object, interface, struct, etc.)</p>
<p> <strong>Simplified deployment</strong></p>
<p> Say goodbye to DLL hell and the nightmare of Windows registration. Applications can now be deployed by a simple XCOPY of the assemblies, ASP.net files, and configuration files.</p>
<p> <strong>Full Web service and SOAP support</strong></p>
<p> Complexities are optionally hidden for building Web service providers and consumers in .NET. Details of the syntax and protocol surrounding XML Web services can be fully customized if needed, however. It is truly the best of both worlds.</p>
<p> <strong>XML at the core</strong></p>
<p> Serialization, streaming, parsing, transforming, and schema support are only some of the &#8220;baked-in&#8221; XML features of the .NET runtime.</p>
<p> <strong>Object-oriented ASP.NET</strong></p>
<p> Use script for your clients, not your server-based code! Leverage your existing OO framework from ASP.NET and enjoy improved Web application performance due to compiled server code.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/asp-net/some-important-features-of-dot-net/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Advantages and Disadvantages of  Data Accessor pattern</title>
		<link>http://blog.spec-india.com/analysis-and-design/advantages-and-disadvantages-of-data-accessor-pattern/</link>
		<comments>http://blog.spec-india.com/analysis-and-design/advantages-and-disadvantages-of-data-accessor-pattern/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 14:44:35 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Analysis and Design]]></category>

		<category><![CDATA[Data accessor pattern]]></category>

		<category><![CDATA[Design pattern]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/analysis-and-design/advantages-and-disadvantages-of-data-accessor-pattern/</guid>
		<description><![CDATA[ Advantages

 Clean application code— Application code that is replete with data access details is difficult to read and maintain. Application logic tends to become obscured by the many calls necessary to do even simple database calls. When an application uses a well-designed data accessor abstraction that exposes logical database operations, its code can focus more on [...]]]></description>
			<content:encoded><![CDATA[<p> <strong>Advantages</strong></p>
<ol>
<li> Clean application code— Application code that is replete with data access details is difficult to read and maintain. Application logic tends to become obscured by the many calls necessary to do even simple database calls. When an application uses a well-designed data accessor abstraction that exposes logical database operations, its code can focus more on its own business logic.</li>
<li> Incorporation of optimization strategies— Data access code usually is a primary analysis focal point when tuning an application&#8217;s performance. Data access code is a common bottleneck source and simple optimizations often have significant effects. When data access code is spread across a system, it requires much more effort to apply and measure optimizations because you must repeat their implementations multiple times. When you encapsulate all physical data access code within a data accessor implementation, you can incorporate an optimization strategy once and it immediately applies across the entire system.</li>
<li> Adoption of new database features or platforms— When physical data access code is spread throughout a system, it is hard to add support for new features or platforms because it involves searching the entire code base and replacing or adding new calls where necessary. This process is tedious and error-prone. When a data accessor implementation encapsulates physical data access code, you only have one isolated component to enhance.</li>
<li> Swappable physical data access implementations— You can swap among multiple data accessor implementations without changing application code. This enables you to conveniently support multiple, diverse database platforms and technologies.</li>
</ol>
<p> <strong>Disadvantages</strong></p>
<ol>
<li> Limits application control of data access— Application code is limited to the logical operations defined by a data accessor abstraction. When a data accessor abstraction is not well-designed or versatile enough for an application&#8217;s data access requirements, the application code may resort to unnatural or awkward workarounds that ultimately lead to unexpected results.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/analysis-and-design/advantages-and-disadvantages-of-data-accessor-pattern/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What is TTL(Time to Live)</title>
		<link>http://blog.spec-india.com/technologygeneral/what-is-ttltime-to-live/</link>
		<comments>http://blog.spec-india.com/technologygeneral/what-is-ttltime-to-live/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:14:06 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Technology(General)]]></category>

		<category><![CDATA[TTL]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/technologygeneral/what-is-ttltime-to-live/</guid>
		<description><![CDATA[This field seems to confuse many people, so let’s state what it does up front. Time to Live (TTL) indicates the amount of time that a datagram is allowed to stay on the network. It is not used by the routers to count up to 16 to know when to discard a packet. There are [...]]]></description>
			<content:encoded><![CDATA[<p>This field seems to confuse many people, so let’s state what it does up front. Time to Live (TTL) indicates the amount of time that a datagram is allowed to stay on the network. It is not used by the routers to count up to 16 to know when to discard a packet. There are two functions for the TTL field: to limit the lifetime of a TCP segment (transmitted data) and to end routing loops.</p>
<p> The initial TTL entry is set by the originator of the packet, and it varies. To be efficient, a routing update will set this field to a 1 (RIP will). Why set it to anything else, when that update is sent only to its local segments? Multicast protocols set it to many different sizes to limit the scope of the multicast. For normal usage, many applications set it to 32 or 64 (2 and 4 times the size of a RIP network). Time to live is a field that is used by routers to ensure that a packet does not endlessly loop around the network. This field (currently defined as the number of seconds) is set at the transmitting station and then, as the datagram passes through each router, it will be decremented. With the speed of today’s routers, the usual decrement is 1. One algorithm is that the receiving router will notice the time a packet arrives, and then, when it is forwarded, the router will decrement the field by the number of seconds the datagram sat in a queue waiting for forwarding. Not all algorithms work this way. A minimum decrement will always be 1. The router that decrements this field to 0 will discard the packet and inform the originator of the datagram (through the ICMP protocol) that the TTL field expired and the datagram did not make it to its destination.</p>
<p> The time–to–live field may also be set to a certain time (i.e., initialized to a low number like 64) to ensure that a packet stays on the network for only a set time. Some routers allow the network administrator to set a manual entry to decrement. This field may contain any number from 0 to 255 (an 8–bit field).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/technologygeneral/what-is-ttltime-to-live/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Applications of TCPIP Protocols</title>
		<link>http://blog.spec-india.com/technologygeneral/applications-of-tcpip-protocols/</link>
		<comments>http://blog.spec-india.com/technologygeneral/applications-of-tcpip-protocols/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:10:19 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Technology(General)]]></category>

		<category><![CDATA[BOOTP]]></category>

		<category><![CDATA[DNS]]></category>

		<category><![CDATA[FTP]]></category>

		<category><![CDATA[SMTP]]></category>

		<category><![CDATA[TCPIP Protocola]]></category>

		<category><![CDATA[Telnet]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/technologygeneral/applications-of-tcpip-protocols/</guid>
		<description><![CDATA[Remote terminal emulation is provided through the TELNET protocol. For new users of the TCP/IP protocol, this is not Telenet, a packet switching technology using the CCITT standard X.25. It is pronounced TELNET. This is an application–level protocol that allows terminal emulation to pass through a network to a remote network station. TELNET runs on [...]]]></description>
			<content:encoded><![CDATA[<p>Remote terminal emulation is provided through the TELNET protocol. For new users of the TCP/IP protocol, this is not Telenet, a packet switching technology using the CCITT standard X.25. It is pronounced TELNET. This is an application–level protocol that allows terminal emulation to pass through a network to a remote network station. TELNET runs on top of the TCP protocol and allows a network workstation to appear as a local device to a remote device (i.e., a host).</p>
<p> The File Transfer Protocol (FTP) is similar to TELNET in terms of control, but this protocol allows for data files to be reliably transferred on the Internet. FTP resides on top of TCP and uses it as its transport mechanism. TFTP is a simplex file transfer protocol (based on an unreliable transport layer called UDP), and is primarily used for boot loading of configuration files across an internet.</p>
<p> The Simple Mail Transport Protocol (SMTP) is an electronic mail system that is robust enough to run on the entire Internet system. This protocol allows for the exchange of electronic mail between two or more systems on an internet. Along with a system known as Post Office Protocol, individual users can retrieve their mail from centralized mail repositories.</p>
<p> The Domain Name Service (DNS) is a centralized name service that allows users to establish connections to network stations using human–readable names instead of cryptic network addresses. It provides a name–to–network address translation service. There are many other functions of DNS, including mail server name to IP address translation. Mail service would not exist if not for the DNS.</p>
<p> The Boot Protocol (BOOTP) and Dynamic Host Configuration Protocol (DHCP) allow for management of IP parameters on a network. These protocols do not provide for router configurations but endstation configurations. BOOTP was the original protocol that provided not only a workstation’s IP address but possibly its operating image as well. DHCP is best known for its management allocation scheme of IP addresses and is a superset of BOOTP that provides extended functions of IP as well as IP address management.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/technologygeneral/applications-of-tcpip-protocols/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multiplexing Techniques in Wireless</title>
		<link>http://blog.spec-india.com/mobile-technology/multiplexing-techniques-in-wireless/</link>
		<comments>http://blog.spec-india.com/mobile-technology/multiplexing-techniques-in-wireless/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 13:03:03 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Mobile Technology]]></category>

		<category><![CDATA[Multiplexing]]></category>

		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/mobile-technology/multiplexing-techniques-in-wireless/</guid>
		<description><![CDATA[Multiplexing is a term used to describe how a signal can be divided among multiple users. This spectrum sharing allows wireless operators to maximize the use of their spectrum to accommodate a large number of users over fewer channels. For digital systems, three main multiplexing techniques are being used for wide area networks: frequency division, [...]]]></description>
			<content:encoded><![CDATA[<p>Multiplexing is a term used to describe how a signal can be divided among multiple users. This spectrum sharing allows wireless operators to maximize the use of their spectrum to accommodate a large number of users over fewer channels. For digital systems, three main multiplexing techniques are being used for wide area networks: frequency division, time division, and code division. A fourth method, called orthogonal frequency division, is the most complex of all of these methods. It is commonly used in high-speed local area networks, as discussed earlier in this chapter, but is starting to grow in popularity for wide area networks as well.</p>
<ol>
<li><strong>Frequency-division multiplexing (FDM).</strong> Numerous signals are combined on a single channel. Each signal on the channel is assigned unique frequency for communication. The caller and the receiver tune to the same frequency to communicate. This is similar to how radio stations work. Each has its own frequency band over which it broadcasts. To listen to a particular channel, you tune the receiver to that particular frequency. For person-to-person communication, this is a very inefficient use of spectrum, hence is only used by analog wireless networks.</li>
<li><strong>Time-division multiplexing (TDM).</strong> As with FDM, numerous signals are combined on a single channel, but with TDM they are divided into separate time slots. The time segments are assigned to an individual user and are rotated at regular intervals. The receiver interprets the appropriate time slot (channel) to receive the information. This technique allows for variation in the number of signals sent along the line, and constantly adjusts the time intervals to maximize bandwidth. Many of the current second-generation wireless systems are based on time-division multiplexing as it provides efficient use of spectrum with minimal interference.</li>
<li><strong>Code-division multiplexing (CDM).</strong> Rather than dividing the signal using frequency or time, CDM attaches a code to each signal, and sends them all over the same broad spectrum. This results in very high spectrum efficiency and low levels of interference by other signals. Even though all of the signals are being broadcast at once, a receiver will only accept the signals with the right code. This technique is used in several second-generation wireless networks and is the basis for nearly all third-generation networks.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/mobile-technology/multiplexing-techniques-in-wireless/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Advantages and Disadvantages of Wireless Internet Architectures</title>
		<link>http://blog.spec-india.com/mobile-technology/advantages-and-disadvantages-of-wireless-internet-architectures/</link>
		<comments>http://blog.spec-india.com/mobile-technology/advantages-and-disadvantages-of-wireless-internet-architectures/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 13:01:46 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Mobile Technology]]></category>

		<category><![CDATA[Internet architecture]]></category>

		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/mobile-technology/advantages-and-disadvantages-of-wireless-internet-architectures/</guid>
		<description><![CDATA[Advantages
The following are the key advantages of wireless Internet (thin client) architecture:

 Minimal to zero software deployment. This allows applications to be deployed without any additional client-side configuration. Updates to these applications are also straightforward since only the server has to be updated.
 Extends Internet computing model. Many corporate applications are based on the Internet model. Wireless [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Advantages</strong></p>
<p>The following are the key advantages of wireless Internet (thin client) architecture:</p>
<ol>
<li> Minimal to zero software deployment. This allows applications to be deployed without any additional client-side configuration. Updates to these applications are also straightforward since only the server has to be updated.</li>
<li> Extends Internet computing model. Many corporate applications are based on the Internet model. Wireless Internet is a natural extension to these applications.</li>
<li> Familiar user interface. Many users are familiar with a browser interface to their applications. Providing a similar interface on mobile devices allows them to be productive immediately; there is no learning curve.</li>
<li> Enterprise integration. If an existing Internet application is being extended, the application logic and enterprise integration layers may already be taken care of. This is a tremendous benefit, as enterprise integration often proves to be the most resource-intensive part of a mobile application.</li>
<li> Security. All of the data is stored on the server behind corporate firewalls. No data is stored on the client.</li>
</ol>
<p><strong>Disadvantages </strong></p>
<p>Wireless Internet architectures have some disadvantages as well, namely:</p>
<ol>
<li> Wireless connectivity. To access any data, all of which resides on the server, you need wireless connectivity. This can be problematic when users are moving between multiple locations. The exception is when browsers have content-caching capabilities. That said, even when caching is available, there is still a very limited amount of data and logic available to perform transactions.</li>
<li> Simple user interface. Many microbrowsers have limited capabilities for graphics or other &#8220;rich&#8221; components. Graphics are also often avoided to minimize the amount of data being downloaded over potentially slow wireless networks.</li>
<li> Application performance. For each request being transferred over a wireless network, performance can be an issue. This is due partially to network throughput and partially to network latency.</li>
<li> Application testing. Controlling, predicting, and testing the behavior of the application is difficult on the full range of microbrowsers. When emulation software is used to simulate devices, it is not always an accurate representation of the end-user experience since it is not executing over a wireless network.</li>
<li> Availability. If a server-side problem occurs, all users will be brought to a halt.</li>
<li> Security. Total control of the environment is not available in most cases, because a wireless gateway exists that may lead to security concerns.</li>
<li> Cost. Wireless airtime fees can become an issue if the mobile user has to constantly be connected to use the application. On circuit-switched networks, where fees are charged based on the time connected, not the data transferred, charges are incurred even when a user is reading Web content or filling in a form.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/mobile-technology/advantages-and-disadvantages-of-wireless-internet-architectures/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Some of the important uses of GPRS</title>
		<link>http://blog.spec-india.com/mobile-technology/what-are-the-uses-of-gprs/</link>
		<comments>http://blog.spec-india.com/mobile-technology/what-are-the-uses-of-gprs/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 13:54:19 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Mobile Technology]]></category>

		<category><![CDATA[GPRS]]></category>

		<category><![CDATA[GSM]]></category>

		<category><![CDATA[SMS]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/mobile-technology/what-are-the-uses-of-gprs/</guid>
		<description><![CDATA[The GPRS provides a set of GSM services for data transmission in packet mode within a PLMN. In packet-switched mode, no permanent connection is established between the mobile and the external network during data transfer. Instead, in circuit-switched mode, a connection is established during the transfer duration between the calling entity and the called entity. [...]]]></description>
			<content:encoded><![CDATA[<p>The GPRS provides a set of GSM services for data transmission in packet mode within a PLMN. In packet-switched mode, no permanent connection is established between the mobile and the external network during data transfer. Instead, in circuit-switched mode, a connection is established during the transfer duration between the calling entity and the called entity. In packet-switched mode, data is transferred in data blocks, called packets. When the transmission of packets is needed, a channel is allocated, but it is released immediately after. This method increases the network capacity. Indeed, several users can share a given channel, since it is not allocated to a single user during an entire call period.</p>
<p>One of the main purposes of GPRS is to facilitate the interconnection between a mobile and the other packet-switched networks, which opens the doors to the world of the Internet. With the introduction of packet mode, mobile telephony and Internet converge to become mobile Internet technology. This technology introduced in mobile phones allows users to have access to new value-added services, including:</p>
<ol>
<li>Client-server services, which enable access to data stored in databases. The most famous example of this is access to the World Wide Web (WWW) through a browser.</li>
<li>Messaging services, intended for user-to-user communication between individual users via storage servers for message handling. Multimedia Messaging Service (MMS) is an example of a well-known messaging application.</li>
<li>Real-time conversational services, which provide bidirectional communication in real-time. A number of Internet and multimedia applications require this scheme such as voice over IP and video conferencing.</li>
<li>Tele-action services, which are characterized by short transactions and are required for services such as SMS, electronic monitoring, surveillance systems, and lottery transactions.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/mobile-technology/what-are-the-uses-of-gprs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Some comments on Stored Procedures</title>
		<link>http://blog.spec-india.com/database/some-comments-on-stored-procedures/</link>
		<comments>http://blog.spec-india.com/database/some-comments-on-stored-procedures/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 13:42:51 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[Advantages]]></category>

		<category><![CDATA[Disadvantages]]></category>

		<category><![CDATA[Stored Procedure]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/database/some-comments-on-stored-procedures/</guid>
		<description><![CDATA[There are many advatages of stored procedures. some of them are:

Procedures are on the server so messages don&#8217;t need to go back and forth to the client during the time the procedure is executed.
Procedures are parsed once, and the result of the parsing is stored persistently, so there&#8217;s no need to reparse for every execution.
Procedures [...]]]></description>
			<content:encoded><![CDATA[<p>There are many advatages of stored procedures. some of them are:</p>
<ol>
<li>Procedures are on the server so messages don&#8217;t need to go back and forth to the client during the time the procedure is executed.</li>
<li>Procedures are parsed once, and the result of the parsing is stored persistently, so there&#8217;s no need to reparse for every execution.</li>
<li>Procedures are in the catalog so they are retrievable, and procedures are subject to security provisions, in the same way as other SQL data.</li>
<li>Procedures are in one place so code sharing is easy, and when changes happen there&#8217;s no need to send code changes to clients.</li>
</ol>
<p> When you use a stored procedure, you are depending on cache (which is limited) and access to the procedure (which may be serialized). Therefore it is a mistake to use stored procedures too frequently .</p>
<p>Some of the important points we should remember while creating the store procedure are.</p>
<ol>
<li>Don&#8217;t declare parameters to be &#8220;input/output&#8221; when they&#8217;re merely &#8220;input&#8221; parameters.</li>
<li>Don&#8217;t write stored procedures as if the precompiler has the built-in skills of a compiler. Take things out of loops, fold, put declarations together in one statement, and avoid testing assumptions on your own—don&#8217;t expect the DBMS to do these things for you.</li>
<li>Shift logic from WHERE clauses to IF clauses whenever possible.</li>
<li>If a stored procedure contains an IF statement and is inside a trigger, take the condition out of the IF and put it in the trigger&#8217;s WHEN clause.</li>
<li>avoid putting COMMIT or ROLLBACK in the stored procedure. The transaction-end statements are especially bad if you&#8217;re using distributed transactions and TP monitors</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/database/some-comments-on-stored-procedures/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Runtime Security in .NET</title>
		<link>http://blog.spec-india.com/asp-net/runtime-security-in-net/</link>
		<comments>http://blog.spec-india.com/asp-net/runtime-security-in-net/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 13:08:48 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Dot Net Technologies]]></category>

		<category><![CDATA[CAS]]></category>

		<category><![CDATA[RBS]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/asp-net/runtime-security-in-net/</guid>
		<description><![CDATA[A principal goal of the Microsoft .NET Framework is to make computing more secure—especially with respect to the use of mobile code and distributed systems. Most modern operating systems (including Microsoft Windows) support user-based security, allowing you to control the actions and resources to which a user has access. However, in the highly connected world [...]]]></description>
			<content:encoded><![CDATA[<p>A principal goal of the Microsoft .NET Framework is to make computing more secure—especially with respect to the use of mobile code and distributed systems. Most modern operating systems (including Microsoft Windows) support user-based security, allowing you to control the actions and resources to which a user has access. However, in the highly connected world resulting from the proliferation of computer networks—in particular the Internet—it&#8217;s insufficient to base security solely on the identity of a system&#8217;s user. In the interest of security, code should not automatically receive the same level of trust that you assign to the person running the code.</p>
<p>The .NET Framework incorporates the following two complementary security models that address many of the issues associated with user and code security:</p>
<ol>
<li>Code access security (CAS)</li>
<li>Role-based security (RBS)</li>
</ol>
<p>CAS and RBS do not replace or duplicate the security facilities provided by the underlying operating system. They are platform-independent mechanisms that provide additional security capabilities to augment and enhance the overall security of your managed solutions.</p>
<p>CAS uses information about the source and origin of an assembly (evidence) gathered at run time to determine which actions and resources that code from the assembly can access (permissions). The .NET Framework security policy—a hierarchical set of configurable rules—defines the mapping between evidence and permissions. The .NET Framework class library uses permission demands to protect its most important functionality from unauthorized access. A demand forces the common language runtime to ensure that code calling a protected method has a specific permission. CAS ensures that the runtime capabilities of code depend on the level of trust you place in the creator and source of the code, not the level of trust you place in the user running the code.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/asp-net/runtime-security-in-net/feed/</wfw:commentRss>
		</item>
		<item>
		<title>String objects in .NET</title>
		<link>http://blog.spec-india.com/asp-net/string-objects-in-net/</link>
		<comments>http://blog.spec-india.com/asp-net/string-objects-in-net/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 13:07:00 +0000</pubDate>
		<dc:creator>Venkatesh</dc:creator>
		
		<category><![CDATA[Dot Net Technologies]]></category>

		<category><![CDATA[.Net]]></category>

		<category><![CDATA[String Builder]]></category>

		<category><![CDATA[String Object]]></category>

		<guid isPermaLink="false">http://blog.spec-india.com/asp-net/string-objects-in-net/</guid>
		<description><![CDATA[String objects in .NET are immutable, meaning that once created they can&#8217;t be changed. For example, if you build a String by concatenating a number of characters or smaller strings, the common language runtime (CLR) will create a completely new String object whenever you add a new element to the end of the existing string. [...]]]></description>
			<content:encoded><![CDATA[<p>String objects in .NET are immutable, meaning that once created they can&#8217;t be changed. For example, if you build a String by concatenating a number of characters or smaller strings, the common language runtime (CLR) will create a completely new String object whenever you add a new element to the end of the existing string. This can result in significant overhead if your application performs frequent string manipulation.</p>
<p>The StringBuilder class offers a solution by providing a character buffer and allowing you to manipulate its contents without the runtime creating a new object as a result of every change. You can create a new StringBuilder object that&#8217;s empty or initialized with the content of an existing String object. You can manipulate the content of the StringBuilder object using overloaded methods that allow you to insert and append string representations of different data types. At any time, you can obtain a String representation of the current content of the StringBuilder by calling StringBuilder.ToString.</p>
<p>Two important properties of the StringBuilder control its behavior as you append new data: Capacity and Length. Capacity represents the size of the StringBuilder buffer, whereas Length represents the length of the buffer&#8217;s current content. If you append new data that results in the number of characters in the StringBuilder (Length) exceeding the capacity of the StringBuilder (Capacity), the StringBuilder must allocate a new buffer to hold the data. Used carelessly, this buffer reallocation can negate much of the benefit of using the StringBuilder. If you know the length of data you need to work with, or know an upper limit, you can avoid unnecessary buffer reallocation by specifying the capacity at creation time or setting the Capacity property manually. When setting the Capacity and Length properties, be aware of the following behavior:</p>
<ol>
<li>If you set Capacity to a value less than the value of Length, the Capacity property throws the exception System.ArgumentOutOfRangeException.</li>
<li>If you set Length to a value less than the length of the current content, the content is truncated.</li>
<li>If you set Length to a value greater than the length of the current content, the buffer is padded with spaces to the specified length. Setting Length to a value greater than Capacity automatically adjusts the Capacity to the same value as the new Length.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.spec-india.com/asp-net/string-objects-in-net/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
