Archive of ‘ASP.NET’ category

What is Katana and OWIN for ASP.NET?

Katana is not a revolutionary new project in ASP.NET world. It is just a next step in ASP.NET, The points that drive to go for Katana and OWIN are, Basically ASP.NET was optimised for two types of customers one classing ASP developers and second one LOB(line of business app) developers. From the beginning it was […]

jQuery UI autocomplete in ASP.NET MVC

jQuery UI is a jQuery plug-in which contains widgets and it is tightly integrate with jQuery API. To include jQuery UI across your MVC application refer the below scripts in layout view. <script src=”~/Scripts/jquery-1.8.2.min.js”></script> <script src=”~/Scripts/jquery.unobtrusive-ajax.min.js”></script> <script src=”~/Scripts/jquery-ui-1.10.2.min.js”></script> jQuery UI can be added to your MVC application using Nuget. This post outlines using jQuery Autocomplete […]

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 […]