From the browser the request is sent to IIS. There is an aspnet_isapi.dll in IIS that takes care of serving the request. From this it sends the request to .net framework's worker process. (aspnet_wp.exe)
From IIS there is a mapping that specifies the which isapi is going to process that page. From the website properties, From virtual directory tab, click on 'configuration' button. This shows the application configuration window.
At its core, the ASP.NET execution engine compiles the page into a class, which derives from the code behind class (which in turn derives directly or indirectly from the Page class). Then it injects the newly created class into the execution environment, instantiates it, and executes it.
Thursday, April 24, 2008
Sunday, April 20, 2008
Crystal Reports in ASP.NET
using CrystalDecisions.CrystalReports.Engine;
-----------------------------------------------------------------------------
ReportDocument rptDoc = new ReportDocument();
rptDoc.Load(Server.MapPath("rptOne.rpt"));
for (int index = 0; index < rptDoc.Database.Tables.Count; index++)
{
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.ServerName = "BHARATIKUMAR";
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.DatabaseName = "Employee";
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.UserID = "kumar";
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.Password = "kumar";
rptDoc.Database.Tables[index].ApplyLogOnInfo(rptDoc.Database.Tables[index].LogOnInfo);
}
crvOne.ReportSource = rptDoc;
crvOne.DataBind();
-----------------------------------------------------------------------------
ReportDocument rptDoc = new ReportDocument();
rptDoc.Load(Server.MapPath("rptOne.rpt"));
for (int index = 0; index < rptDoc.Database.Tables.Count; index++)
{
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.ServerName = "BHARATIKUMAR";
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.DatabaseName = "Employee";
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.UserID = "kumar";
rptDoc.Database.Tables[index].LogOnInfo.ConnectionInfo.Password = "kumar";
rptDoc.Database.Tables[index].ApplyLogOnInfo(rptDoc.Database.Tables[index].LogOnInfo);
}
crvOne.ReportSource = rptDoc;
crvOne.DataBind();
Thursday, April 10, 2008
Posting to my blog after a very long time
Hi everyone,
In my office, firewall do blocks blogger.com website. Hence couldnt login & couldnt paste to my blog. After 8 months this is the first time I am logging into my blogger.
I am into a production support & enhancement project now. Going to work on MCMS 2002 (Microsoft Content Management Server 2002). I hope MCMS is interesting.
:-) Will keep posting stuff on MCMS from now onwards.
In my office, firewall do blocks blogger.com website. Hence couldnt login & couldnt paste to my blog. After 8 months this is the first time I am logging into my blogger.
I am into a production support & enhancement project now. Going to work on MCMS 2002 (Microsoft Content Management Server 2002). I hope MCMS is interesting.
:-) Will keep posting stuff on MCMS from now onwards.
Subscribe to:
Posts (Atom)