Tuesday, 3 September 2013

Useful Links

http://www.codeproject.com/Articles/25513/Singleton-Design-Pattern-C-implementation (Singleton-Design-Pattern)
http://www.codeproject.com/Articles/28384/Design-pattern-FAQ-Part-3-Design-pattern-training (All Design Patern)

http://www.codeproject.com/Articles/639717/MVC-Interview-Questions-and-Answers-All-about-MVC (MVC)
http://www.codeproject.com/Articles/556995/Model-view-controller-MVC-Interview-questions-and  (MVC)
http://www.codeproject.com/Articles/207797/Learn-MVC-Model-View-Controller-step-by-step-in-7  (MVC)
http://www.c-sharpcorner.com/UploadFile/1492b1/mvc-3-interview-questions-and-answers/          (MVC)

http://www.c-sharpcorner.com/uploadfile/puranindia/net-framework-and-architecture/  (.Net Architecture)

http://abhijitjana.net/2010/03/14/beginner%E2%80%99s-guide-how-iis-process-asp-net-request/ (how iis works)

http://www.codeproject.com/Articles/29008/Asp-Net-Interview-Question-Part-3(Interview quesions)


What do you understand by SQL Injection attack?
Ans:- A SQL injection attack occurs when untrusted input can modify the logic of a SQL query in unexpected ways.

http://www.codeproject.com/Articles/30018/Function-Overloading-in-Web-Services(method Overoading in Webservice)

http://tympanus.net/codrops/2010/06/07/fancy-sliding-form-with-jquery/ (Beautiful Tab)

Hosting the application with Crystal Report in IIS



Hosting the Application in IIS


If Crystal Report is not Working after hosting the application in IIS

1. You need to use Web Application Project,No Website Project because Web App will combine DLL to project also.
2. Copy C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 (you'll got it when you install -CRforVS_redist_install_32bit_13_0.exe)   To your project such as  (ProjectName/crystalreportviewers13)
3. copy this below to your web.config
3.1
<configSections>
    <sectionGroup name="businessObjects">
      <sectionGroup name="crystalReports">
        <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
           <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
      </sectionGroup>
    </sectionGroup>
      </configSections>
3.2
 <businessObjects>
      <crystalReports>
        <rptBuildProvider>
          <add embedRptInResource="true" />
        </rptBuildProvider>
        <crystalReportViewer>
              <add key="ResourceUri" value="/crystalreportviewers13" />
      </crystalReportViewer>
      </crystalReports>
    </businessObjects>
3.4 Publish your web application with FTP Mode to your any folder,and copy this publish to your web server then TEST it!

If any error comes in preview.aspx then Delete all the content from that page