Category: ASP.NET

  • Creating an RDLC report in Asp.Net

    Step 1.  Create a new website and Add DataSet to the Website Right Click on the project, Add new item Dataset, and name it as Employees.xsd. Step 2. Adding DataTable to the DataSet Our next step would be to add a DataTable to the Type DataSet. Step 3. Adding Columns or fields to DataTable In…

  • Using XMPP and Openfire server in ASP.NET C# – Part -2

    Roster in XMPP Roster are the contacts of  user (contact list). Roster Handlers in AgsXmpp Let us discuss, the handlers other than the mentioned in part -1 i.e., (loggedin, loginfailed) are mentioned below ·         OnRosterItem ·         OnRosterEnd ·         OnRosterStart Let us recap part -1 (login part (we need here that code snippet for initializing the…

  • SQL injection attack and prevention using stored procedure

    What is SQL Injection Attack? SQL Injection is one of the many web attack mechanisms (hacking technique) used by hackers to steal data from organizations. It is perhaps one of the most common application layer attack techniques. Improper coding of your web applications that allows hacker to inject SQL commands into say a login form…

  • How to implement multiple service contract in a single WCF service.

    First lets us create one service by using “class library project”. STEP1: Create class library project Step2: Delete class1.cs file which is auto generated. Step3: Add wcf service for this project. Right click on right click on class library project->Add->new Item(click)->select wcf service from installed templates and rename is as ” Multipleservicecontrats.cs” Click add button…

  • Entity Framework Code First

    Code First development with Entity Framework New approaches to modeling for Entity Framework 4.1. Code First Model First Database first Let's go through Code First implementation in this blog.   Introduction In Code First approach, you avoid working with visual model designer (EDMX) completely. You write your POCO classes first and then create database from…

  • Telerik RAD (Rapid Application Development) Controls for ASP.NET AJAX

    Introduction: Telerik provides a ultimate toolbox for developers which includes Web UI Controls, Desktop UI Controls, Mobile UI Controls, VisualStudio Productivity Tools HTML5/JavaScript widgets, Data tools, Functional testing and Unit Testing. In this blog I am explaining about one of the WEB UI Control Toolkit i.e ASP.NET AJAX. ASP.NET AJAX development toolset supports ASP.NET 3.5…