The Repository Pattern in ASP.NET – Part 1

Paul Cociuba shows us how to implement the Repository Pattern in ASP.NET 4.5. In the last two videos of the series, we will focus on implementing the repository pattern for the sample application. This pattern is a way in which we can structure the code of the application to abstract away the data access code…


Sorting and Pagination in ASP.NET 4.5

This is part 10 of Paul Cociuba’s series on ASP.NET 4.5. In this chapter, I want to focus on how the revamped data-controls from ASP.Net 4.5 can sort and paginate data using Entity Framework context as a starting point. I will focus on the GridView controls that display both the list of categories available and…


Unobtrusive JavaScript Validation in ASP.NET

As promised, Paul Cociuba is back with part 9 of his series on ASP.NET – and this time he discusses improvements in validation controls in ASP.NET 4.5. User input validation is an essential part of any data-driven web-application, and ASP.net exposes a wide range of validation controls to help developers achieve this easily. The validation…


Dynamic Data

It is July – and for us at Microsoft that signals the end of one fiscal year and the start of a new one. It has been a bit busy for us and hence the pause in our activity. We resume now with Part 8 of Paul Cociuba’s ASP.NET series. So far in the tutorial…


ASP.NET MVC – URL routing

This is the seventh part of Paul Cociuba’s series on ASP.net 4.5. In this we will look at a feature that is more commonly associated with ASP.net MVC – URL routing. URL routing first became available in the .Net Framework 3.5, and was used heavily in the releases of the MVC out of band update….


Strongly Typed Data Binding (continued…)

Paul Cociuba is back with the 6th part of his ASP.NET 4.5 journey. As promised last time around he will look at CRUD operations using strongly typed data binding. In this video I will continue how to use strongly typed data binding features from ASP.net WebForms 4.5 to accomplish the rest of the common operations…


Tales from the field: IIS 7.x / COM+ migration tip

Jonathan Yong is back with this quick ‘tip of the day’. Relevant if you are migrating an older COM+ application to Windows 2008 or above. If you have a COM+ component which is called by classic ASP page and after you migrate the application to IIS 7.x or above, you may encounter runtime error ‘This…


Session Value Providers in MVC

MVC purists may bristle at discussion of State and many would balk at the idea of leveraging Session variables in your MVC application. However, in the real-world, State is necessary. Stateless persistence can often be achieved through use of TempData, ViewData and ViewBack but purists would stress that state should be detached. True, MVC is…


MVC and Templates with T4 and T4MVC

The Editor and Display templates in MVC are very similar to partial views. They display data based on the model provided. You may have seen DisplayFor or EditorFor when you scaffold a View in MVC. You could customize DisplayFor to display an editable form but the convention is for DisplayFor to be read-only and EditorFor…


Strongly Typed Data Binding

Paul Cociuba, continues to take us through the ASP.Net 4.5 Journey. In his fifth video, he will guide us through the “Strongly typed Data Binding”. Paul, the stage is yours… This video will continue to explore data-binding in ASP.net 4.5 by looking at improvements brought on by strongly typed data-binding. Historically, .Net languages started as…