Articles : Page 1 of 3
-
3 things that changed ASP.NET development in 2010
Dec 1023As 2010 draws to a close I thought about how I was writing code last year. I realised how much development has changed in just one year. I want to look at how my work has evolved during 2010. Entity Framework 4I really like using Entity Framework. I wasn't quite sure about it in its first version, however, since the release of Entity Framework 4 in April I fully adopted it. It solves so many problems that I feel exist in modern web development. I like stored procedures, I know a lot about usin...
-
BDD web application testing using easyB and Sahi
Nov 1008I already talked about the way we are testing our web application at Jobping in the following posts “ASP.NET MVC 2, MSpec and Watin ” and ”Automated functional tests using Watin and MSpec”. The other day I landed on the DZone page “Automated Browser Testing: What's in Your Toolkit?” In the list of around 10 tools I knew some of them but there were 3 I didn’t knew. So I decided to go on and read about those 3. In this list there were Sahi which got me with those three sentences: Powerful R...
-
IntelliSense for jQuery in Visual Studio 2010
Aug 1004I read this morning in Steve Sanderson's Pro ASP.NET MVC 2 Framework book that it is possible to get IntelliSense when using the popular JavaScript library, jQuery. Microsoft have decided to implicitly support jQuery by including some of its libraries in their sample MVC project. This is as well as their own AJAX library that comes with a lot of support for ASP.NET Web Forms specific features, which of course you won't be needing in ASP.NET MVC. Part of their support translates into workin...
-
Migrating ASP.NET MVC 2 applications to ASP.NET MVC 3 Preview 1
Jul 1028ASP.NET MVC 3 Preview 1 has just been released! More info on ScottGu's blog. Download ASP.NET MVC 3 Preview 1! I just finished up a preview of my ASP.NET MVC application conversion tool to support conversions from ASP.NET MVC 2 to ASP.NET MVC 3. The previous version of the app that converted from ASP.NET MVC 1.0 to ASP.NET MVC 2 is available here. Download The app is a single executable: Download MvcAppConverter-MVC3Preview1.zip (256 KB). Usage The only requirement for this tool ...
-
July 9th Links: ASP.NET, ASP.NET MVC, jQuery, Silverlight, WPF, VS 2010
Jul 1009Here is the latest in my link-listing series. Also check out my VS 2010 and .NET 4 series and ASP.NET MVC 2 series for other on-going blog series I’m working on. [In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] ASP.NET Extending ASP.NET Output Caching: Scott Mitchell has a nice article that discusses how to take advantage of ASP.NET 4’s extensible cache provider API to implement richer output caching mechanisms...
-
How to add an ASP.NET MVC 2 project to an existing ASP.NET Web forms application
May 1026In this 'how to' I will demonstrate how to integrate an ASP.NET MVC 2 project to an ASP.NET WebForms application that already exists. There are many weird ungoogleable issues and extra tips that haven't been covered elsewhere. I hope this guide helps you get started. 1. Add referencesRight click on your web root project in Visual Studio (2010 in my case) and add the following references: System.Web.Routing System.Web.Abstractions System.Web.Mvc 2. ConfigurationMake your web.config look like...
-
Dependency Injection in ASP.NET MVC: Views
May 1019Other posts in this series: Controllers Contextual controller injection Filters Action Results And now for a bit more controversial shift. While most folks doing DI in ASP.NET MVC see the benefit of the ability to provide injection around the controller-side of things (filters, action results, controllers etc.), I’ve also seen a lot of benefit from injection on the view side. But before delve into the how, let’s first look at the why. The responsibility of a view is to render a model...
-
Using jQuery UI Tabs with ASP.Net MVC and Ajax Form Submit
May 1019Using jQuery UI Dialog with ASP.Net and AJAX Update Panel is the most popular post in my blog. While these dialog boxes are ok, I have come to hate them. Primarily because of their over use. And the one thing I hate most about them is they take the control away from the user and forces the user to attend to the dialog box before proceeding. While this may be appropriate in certain situations, I have seen far too much abuse of the dialog boxes. And that is the reason I like jQuery UI Tabs. It doe...
-
Globalizing ASP.NET MVC Client Validation
May 1010One of my favorite features of ASP.NET MVC 2 is the support for client validation. I’ve covered a bit about validation in the following two posts: ASP.NET MVC 2 Custom Validation covers writing a custom client validator. Localizing ASP.NET MVC Validation covers localizing error messages. However, one topic I haven’t covered is how validation works with globalization. A common example of this is when validating a number, the client validation should understand that users in the US enter...
-
Globalizing ASP.NET MVC Client Validation
May 1010One of my favorite features of ASP.NET MVC 2 is the support for client validation. I’ve covered a bit about validation in the following two posts: ASP.NET MVC 2 Custom Validation covers writing a custom client validator. Localizing ASP.NET MVC Validation covers localizing error messages. However, one topic I haven’t covered is how validation works with globalization. A common example of this is when validating a number, the client validation should understand that users in the US enter...

