Showing posts with label class. Show all posts
Showing posts with label class. Show all posts

Saturday, February 8, 2014

Url rewriting in ASP.NET using C#

In web tech URL rewriting is a vital thing for SEO(Search Engine Optimization). Not only for SEO its also important for the security reason. So we will take a look over this URL rewriting in ASP.NET using C# and Global.asax. Its nothing but a class inheriting System.Web.HttpApplication

Open a project and make some page according to your requirement and add a Global.asax file along with this project. To add this go to Add New Item and add Global.asax.

In the Global.asax.cs file you can see there are pre-written  seven methods named..

Friday, February 7, 2014

3 Tier Architecture in ASP.NET C#

For the beginners its an astonishing phrase "3 tier architecture". For me it was same as yours now. But when I get that it seems the easiest thing in .NET. Its all about creating instances for classes and using those instances call the methods present in the class.

Three important layer of this architecture are
  1. Client Layer (class file of aspx page)
  2. Business Logic Layer(BLL) (normal class file)
  3. Data Access Layer(DAL) (normal class file)
 From front end we are getting the data and pass it through BLL and DAL to database. DAL is the end point where the application is connected with database.

Popular Posts

Pageviews