Advantage of using N-Tier software architecture are scalability, security, fault tolerance and etc. This article tries to introduce a decoupled, unit-testable, deployment-flexible, implementation-efficient and validation-flexible N-Tier architecture in .NET
Category Archives: Web
Reading a file using JavaScript
function ReadFile(filename)
{
try
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var fh = fso.OpenTextFile(filename,1);
var contents = fh.ReadAll();
fh.Close();
return contents;
}
catch (Exception)
{
var msg = "ERROR:"+"\""+filename+ "\""+ ": " +Exception.description;
alert(msg);
return msg;
}
}
How to use log4net for logging in ASP.Net
Log4net is an Open Source utility used for log/report statements to various kinds of output targets Namely.
- TextFile
- EventViewer
- SQL Server
- Email
Silverlight 5 Beta Released….
For Developing Applications using Silverlight 5 Beta you should have Visual Studio 2010
![]()
Steps to install Silverlight 5 Beta
1) Install Microsoft Visual Studio 2010 Service Pack 1
http://go.microsoft.com/fwlink/?LinkId=210710
2) Install Microsoft Silverlight 5 Beta Tools for Visual Studio 2010 Service Pack 1
http://tinyurl.com/Silverlight5Tools
Get Documentation for Silverlight 5 Beta
Microsoft Silverlight 5 Beta Offline Documentation Package contains the MSDN developer documentation for Silverlight 5
http://tinyurl.com/Silverlight5BetaDocumentation
http://preview.tinyurl.com/Silverlight5BetaDocumentation
For More details visit
1. www.silverlight.net
2.http://www.silverlight.net/getstarted/silverlight-5-beta/