• Archive for December, 2015

    How to Build HTML Views using Razor View Engine in ASP.NET MVC

    by  • December 31, 2015 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET MVC • 0 Comments

    View Engine is responsible for rendering the View to the browser in the form of HTML.  By default there are two view engines in ASP.NET MVC4. First is ‘Webform’ and second is ‘Razor’. Razor is a markup syntax that lets u to embed server side code into your HTML Markup code. When a view is...

    Read more →

    How to Access Data Using Entity Framework in MVC

    by  • December 30, 2015 • Microsoft .NET Entity Framework, Microsoft ASP.NET MVC • 0 Comments

    Entity framework is an object relational mapping framework that enables .NET developers to work with the relational Data. By using entity framework, the developer can retrieve and manipulate data as strongly typed objects. Now we have a relational database named as”ElSeif” that has table “Staff” and a developer needs to retrieve staff name in...

    Read more →

    How to Make Decision in C#

    by  • December 28, 2015 • Microsoft .NET C# (C-Sharp) • 0 Comments

    Any program that does any real work will have to make decisions. These decisions are based on meeting certain conditions—or rather, running code only , when a particular condition or state is met. The central piece of decision making is a special C# statement called an if-else statement. If-statements are a key part of programming. They let you make decisions...

    Read more →

    Ajax Scripting to an MVC Project

    by  • December 23, 2015 • Microsoft .NET AJAX • 0 Comments

    This article illustrates ; how to add ajax script to an MVC Project. First i illustrate, what is ajax. Ajax (short for asynchronous JavaScript and XML) is a set of web development techniques utilizing many web technologies used on the client-side to create asynchronous Web applications. Ajax can be used in our web application projects as...

    Read more →

    ASP.NET MVC Routing

    by  • December 22, 2015 • Microsoft ASP.NET MVC • 0 Comments

    This article illustrates ; what is MVC Routing ? MVC Routing is responsible for mapping incoming browser requests (Actions) to MVC Controller. Let me explain this with the help of following diagram. When anyone sends request through a website address like www.asifpizza.com/ContactUs or www.TheWorld.com/ AboutUs as shown in the figure 1.1; The Actions ContactUs...

    Read more →