Posts Tagged ‘ASP.NET 4.5’

Visual Studio 2013 and ASP.NET Preview

Visual Studio 2013 preview was announced in TechEd 2013 by Brain Harry. This post outlines the new features in Visual Studio 2013 preview project templates, Scaffolding update and Web tooling features. When you create a new project in Visual Studio 2013 then you can see only one entry under web category in new project dialog […]

Using ListView Control in ASP.NET 4.5

ASP.NET ListView Control has a great features that GridView and Repeater controls had control over the markup. The ListView Control allows you to display the data in various formats including grid format, bulleted list format and in flow format. You will be having the better control on HTML and CSS to format the data. This […]

Validation Components in ASP.NET MVC

Validating the user input and showing a user-friendly error message is an important step in Web Application development. ASP.NET MVC framework provides validation features which helps developer to validate model values. The validation features in MVC allows you to write the validation using attributes which is called data annotations. This post outlines the data annotation […]

Using Caching in ASP.NET Web Applications

Caching is a way which you can use to improve the performance of an ASP.NET Web applications. Caching is a location where you can store the data and access quickly. You have to use caching carefully and this post explains different caching mechanisms that available in ASP.NET web applications.The three ways that you can use […]

Seeding a Database in Entity Framework

The code-first approach of Entity Framework creates the database in LocalDB instance of SQL Server Express. The Entity Framework uses the model’s property names and data types to create the tables.Entity Framework uses EdmMetadata table to synchronize model classes with the database schema. To keep the database in sync with the model you need to […]

Scaffolding in ASP.NET MVC4

What is Scaffolding? Scaffolding in ASP.NET MVC generates the code for create, read, update and delete operations in your application. This post outlines the different Scaffolding templates available in MVC4. If you do not like the default scaffolding then you can customise the code generation.You need a model to start working with scaffolding so build […]

Filtering the Data with Data Source Controls in ASP.NET

ASP.NET comes with Data Source Controls (SqlDataSource,EntityDataSource,LinqDataSource and ObjectDataSource) which allows you to bind the data to your data-bound controls. The SelectParameters element in Data Source controls enables you to supply values at run time for filtering the data. This post outlines the steps to using the Filters with Data Source controls. The Possible sources […]

Adaptive Rendering in ASP.NET 4.5

Adaptive Rendering also called responsive design taking the advantage of existing HTML markup and CSS to use inside the ASP.NET Web applications. This post outlines about Adaptive Rendering, display modes and out of the box ASP.NET MVC mobile template.What is unique about .NET 4.5 application templates that ships out-of-the box uses a technique called responsive […]

Tracing in ASP.NET

ASP.NET Tracing can be used to investigate the behaviour of the site at run time. Usually to know the value of a particular variable at runtime, you may thought of printing them on screen by assigning text to a control. ASP.NET Framework built-in feature tracing can be used to know the values at runtime without […]