-
|
Daily tech links for .net and related technologies - November 21-23, 2009 Web Development ASP.NET MVC: Creating reports using Chart control T4MVC 2.5.01: added support for Html.RenderAction and Html.Action Web Application Configuration Analyzer (WACA) The Search Developer Story in SharePoint 2010 – Query Interfaces Using the Microsoft Ajax Library 3.5 with the CDN Microsoft AJAX Library Preview 6 & Data Binding Web Design User Interface Design Is Not About Lorem Ipsum And Pretty Boxes The Ultimate...( read more ) Read More...
|
-
|
ASP.NET Chart control is powerful control you can use to add charting support to your web applications. Although chart controls are mainly used with ASP.NET forms it is not very hard to use them also in ASP.NET MVC applications . In this posting I will show you how to use ASP.NET Chart control in ASP.NET MVC application and I will illustrate how to do it easily so you don’t mess up your views. Before we start coding I want to make some notes about my solution: this solution is pretty new and it is sure that one can improve the code provided here, using this solution I’m trying to generalize in-place reporting for MVC applications, also I’m trying to keep my views as clean as possible – chart definitions are not small if you have more complex...
|
-
|
To get the latest build of T4MVC: Go to download page on CodePlex MVC 2 Beta introduces two nice helpers called Html.RenderAction and Html.Action. Phil Haack described them in detail on his blog , so you may want to read through that before Read More......( read more ) Read More...
|
-
|
Wow, what a week of innovation for the Microsoft Web Platform. This week we released a ton of new software which, if you haven’t already, you’ve got to check out. Here is a quick overview: IIS Search Engine Optimization v1 final release Read More......( read more ) Read More...
|
-
|
First of all I'd like to remark that I'm not following PoEA Repository pattern. I just like this name! =) Repository and Dao interfaces still remains hot topic today. While developing my last ASP.NET MVC application I've created my own interface, which I think suits best for me. public interface IRepository { IQueryable<T> CreateQuery<T>() where T : class; void Execute(Action<IPersister> action); } public interface IPersister { void Delete<T>(); void SaveOrUpdate<T>(); } The most thing I like here is that I can hide transaction management in execute method implementation by wrapping Execute method delegate in "using transaction block" with try. Sketch implementation of Execute method. void...
|
-
|
To get the latest build of T4MVC: Go to download page on CodePlex T4MVC build 2.5.00 brings a couple of fun new features that I’ll describe in this post. I can’t take too much credit for them as they came from users who suggested them to Read More......( read more ) Read More...
|
-
|
Dear readers, as you know that we have released our beta few weeks back, we are currently looking for your feedback on the existing features as well as the features that you would like to see in our next release. This is a very short survey only 4/5 screens to complete, click here to submit your valuable feedback . Thanks in advance for your precious time. Read More...
|
-
|
In an earlier post I talked about writing a Transaction attribute for MVC using NHibernate (though it isn’t really NHibernate specific). The basic idea is that when an action marked with [Transaction] is executing (OnActionExecuting) you begin a transaction, and some time later (I use OnActionExecuted, but Kazi Manzur Rashid makes a good argument for OnResultExecuted ) you commit that transaction if there was no error, or rollback if there was an error. With that in mind, the implementation details aren’t really important because my motivation in this post is to make every action transactional by default. Most of the actions on any real site will require retrieving, updating, saving or removing data so as a best practice I...
|
-
|
I’m pretty much a Web Forms kinda guy but a few months ago I decided to write a talk for the Fall 2009 Microsoft ASP.NET Connections conference (part of DevConnections conferences) that was an introduction to ASP.NET MVC for a Web Forms person (yes, this is not really equivalent to a Dummy so to speak, but the Dummies title sounded “funner”). Anyway, like always (for me anyway), back in April when I proposed the talk, I thought I’d have plenty of time to really dig into MVC. Of course, that was before I agreed to author a 12 chapter training class on SQL Server 2008 Reporting Services amongst other things. Still I did manage to dig into ASP.NET MVC and though I was worried a bit about pulling off the talk. I think it went rather well and represents...
|
-
|
Data validation is important topic in applications. There are many validation frameworks available and there should be one that you are happy with. I am currently playing with Enterprise Library 4.1 Validation Application Block and I am integrating it to my ASP.NET MVC application. In this posting I will show you how to use validation block in your ASP.NET MVC application. Note. This posting gives you first ideas about validation and shows you how to get things done quick and dirty. For production-ready validation there more steps to follow and I will introduce these steps in my future postings. Stay tuned! Introduction Shortly, you can create ASP.NET MVC views that craete and initialize objects for you. I assume you know this feature and you...
|