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
Thanks
Nagaraj
New in .NET
Many requests have come for New things in .NET 3.5.
Here is the document for same.
Thanks
Nagaraj
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.
Thanks
Nagaraj
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
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.
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
Mobile Applications
Hi all, after our mobile,smartphone & pocket pc demos here are some slides to recap them.
ASP.NET Architecture
Here are the asp.net architecture slides that guide you how the process goes @ server and some more finar points.
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
-
Archives
- November 2009 (1)
- August 2009 (3)
- July 2009 (3)
- May 2009 (1)
- September 2008 (2)
- August 2008 (1)
- July 2008 (2)
- June 2008 (3)
- May 2008 (1)
- March 2008 (2)
- December 2007 (1)
- November 2007 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS