Nagaraj’s .NET Information Site

A Place to Start .NET

State Management Article

Here is ASP.NET State Management article on request.

State Management

Thanks Nagaraj

August 26, 2009 Posted by Nagaraju | AJAX, ASP.NET | | No Comments Yet

WCF Service with Windows Service Hosting

Here is the article on how to build WCF Service Library and host in Windows Service. Hope this article helps to my students and everybody

WCF-widows service demo

Thanks

Nagaraj

July 10, 2009 Posted by Nagaraju | ASP.NET, C#.NET, General | | 2 Comments

New in .NET

Many requests have come for New things in .NET 3.5.

Here is the document for same.

new-in-3.5-blog

Thanks

Nagaraj

June 3, 2008 Posted by Nagaraju | AJAX, ASP.NET, C#.NET, General | , | 8 Comments

ASP.NET AJAX Fresh Batch

Hi all,

ASP.NET AJAX new batch is starting on Nov 28th 7:45p (confirmed).As i said this time it would be 10-15 days course. I would post session-wise schedule for the same also here in a day or two.  Check out the schedule of classes and Join us.

Download Schedule

Thanks

Nagaraj

November 20, 2007 Posted by Nagaraju | AJAX, ASP.NET | | 6 Comments

N-Tier Considerations for Project

Here is a document that will help you to design projects as per N-Tier Standards.
N-Tier Descriptions

Nagaraj

October 18, 2007 Posted by Nagaraju | ASP.NET, C#.NET | | 13 Comments

JavaScript in ASP.NET

ASP.NET provides a powerful server-based programming model with its PostBack architecture that allows performing all the work on the server while ensuring security and compatibility. The most significant weakness of postback architecture is its. It is impossible to react to mouse movements or key presses on the server efficiently. To overcome this weakness, developers use. This client-side script allows developers to react user events without submitting to the server.JavaScript is embedded directly into an HTML web page. The code is downloaded to the client computer and executed by the browser. The most straightforward approach for embedding small amounts of JavaScript code is adding directly to an event attribute for an HTML element. If you want to run the code automatically when the page loads, or react to a client-side event, you can add tag that contains the script code. Usually, developers define a function in a block and then attach the function to a client-side event using an event attribute.

<script language=”javascript”>
   Function alertOnClick(){ alert(“Clicked!”);}
</script>
 

Protected void Page_Load(object sender, System.EventArgs e)
{
   button1.Attributes.Add(“onClick”,”alertOnClick();”)
}

Whether you use event attributes, script blocks or both, you may directly add static JavaScript code to the .aspx page or you may embed code by using the methods of the Page class.The code above adds the onClick attribute to the button1 control. When the user click on the button, the event occurs and the JavaScript alert() function is called and “Clicked” message is displayed. Usually, you have to insert JavaScript by adding attributes to a control with one exception. In button (button,linkbutton ,imagebutton) controls’ clicks, you can use OnClientClick property.

<asp:button id=”btnClick” runat=”server”
     OnClientClick=”return confirm(‘Sure?’);”
     text=”Click Me”/>

The button click still post back the page but before posting back, client side confirmation prompt is displayed. Common approach for a large amount of code is to place a JavaScript function in a block and then call that function using an event attribute. This approach is even more practical, if you need to use the same code for several times. The script blocks can be embedded anywhere in the header or the body of an HTML document, and a single document can have any number of script blocks. However, if you need to call a function, that function must be defined in a script block before the event attribute that calls it. Otherwise, it is better to place scripts to the end of the document. Progressive rendering is blocked until all JavaScript have been downloaded. Scripts cause progressive rendering to stop for all content below the script until it is fully loaded.

October 7, 2007 Posted by Nagaraju | ASP.NET | | 8 Comments

AJAX/SilverLight

Today i have completed a short duration & fast track course of ASP.NET AJAX. Really interesting to see students waiting till 10:30pm almost. My Next ASP.NET AJAX would be a 15 days course. We ended with an example that uses virtualearth in AJAX app and uses webservices……….I had nice time these 5 days with AJAX. Thanks to all my students who attended and made it a success.

My articles,Code and slides would be posted after a week becoz i am going for a business meet and also to shiridi.

Thanks

Nagaraj

July 25, 2007 Posted by Nagaraju | AJAX, ASP.NET, General, SilverLight | | 9 Comments

Mobile Applications

Hi all, after our mobile,smartphone & pocket pc demos here are some slides to recap them.

Mobile,Smartphone and Pocket PC development

July 17, 2007 Posted by Nagaraju | ASP.NET | | 2 Comments

ASP.NET Architecture

Here are the asp.net architecture slides that guide you how the process goes @ server and some more finar points.

aspdotnet-architecture1.pdf

July 6, 2007 Posted by Nagaraju | ASP.NET | | 10 Comments

Remoting Interview Questions

Hi all,

Here are some important remoting interview questions. try to answer without seeing the key. Anyhow i have attached key at the end. Thanks

Remoting Interview Questions

July 6, 2007 Posted by Nagaraju | ASP.NET, C#.NET | | 20 Comments