0

JumpStart # 4 – validateRequest in ASP.Net

validateRequest –
1. It is feature which is responsible for the page not submitting un-encoded html or script as input
in asp.net.
2. When user try to submit html or script with validateRequest enabled, asp.net throws an exception –
“A potentially dangerous Request.Form value was detected from the client”.

0

JumpStart # 2 – OUT Parameter in C#

Before looking at the code, Read about – What is JumpStart? <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> /* OUT PARAMETER – * 1) OUT parameter is...

0

JumpStart # 1 – Using Optional And Named Parameters in C#

Before looking at the code, Read about – What is JumpStart? <%@ Page Language="C#" %> <%@ Import Namespace="System.Runtime.InteropServices" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs...

25

Data Transfer between two ASP.NET Pages

In most of the present day Web Applications, it is required to transfer data from one web page to another web page. Requirements like maintaining user preferences across the application, identifying user between transactions, correlating data based on previous page options etc, always drive programmers to write code to transfer data from page to page.

There are numerous ways in accomplishing the above said tasks, selecting an appropriate way for an appropriate situation is vested in the hands of programmer. Some of the most prominent techniques, out of my knowledge are listed in this article. Read More…

5

Book Review – MCTS Exam 70-536 Microsoft .NET Framework – Application Development Foundation Self Paced Training Kit – Tony Northrup

Two months back when I started to think about giving my first Microsoft certification – MCTS 70-536 exam, the first thing came into my mind is to grab a text book and start preparing for the exam. Immediately my book hunt initiated and obviously my first place to search is Microsoft.com. There I came across this worthy book, written by Mr. Tony Northrup, a MVP, MCSE, MCTS, and CISSP. I picked up the book in local bookstore and started reading it. Read More…

12

Access JavaScript Variables in Code-Behind Class

After writing the article on how to “Access Code-Behind variables in ASPX and JavaScript”, my focus continued on this particular counteract concept. At times we got to transfer some data from client side JavaScript to code-behind on some particular requirements. For example when the screen resolution of the client’s web browser is needed to be known in code-behind, then the simple way to accomplish is to access JavaScript variable in Code-Behind.Read More…

1

Enumerating, Managing and Monitoring File system using C#

Applications often need to read and write data to the disk, sometimes for the sake of user and most of the times for its internal use. To do this task we need to review the present file system of the disk and then manage the resources according to our requirements. In some applications, it is required to monitor any changes made to the file system and notify them accordingly.

Although there are number of articles written on the web about this topic, still I want to go with this topic in detailed for one more time. The main aim of this article is to understand the file system and manage it through some inbuilt C# classes. The article is written keeping beginners in mind.Read More…

11

Access Code-behind variables in ASPX and JavaScript

I often come across this question not only in the Worldwide Web but also in many development scenarios. In fact this is the question which I faced when I started programming years back. At times we need to change some of the properties of the server side controls from code-behind partial class and also sometimes we are required to process some data on the client side JavaScript which we get from code-behind. In those cases, accessing code-behind variables in ASPX is the easiest way to get our job done.Read More…

1

Save the World

At times I think about the actual meaning to the word – HUMANITY. In my context of thinking, understanding and reasoning, I don’t think that the word humanity is used just because of being human. Unless and until I received the picture displayed below from my teacher Mr. P. Srikanth, I am in search of its (humanity) meaning. But finally I got to understand it (humanity) clearly and perfectly. Read More…

100

How to send an Email using C# – complete features

This article provides detailed information on how to send Email using C# in a step by step procedure. Although there are many articles on the web providing the same info, many of them left out some interesting concepts untouched. Concepts like Alternate Views, Linked Resources add an additional fragrance to the world of Email in C#.

Out of my experience in the fascinating world of ASP.NET and C#, it’s been observed that many of the new programmers often run into lot of doubtful scenarios while performing an Email assignment. The thought of helping new comers is my prior motivation which made me to write this article.Read More…