Articles : Page 1 of 3
- Filter:
- MVC2
- VisualStudio
-
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...
-
London “Guathon” Event with Me on August 13th
Aug 1002The (awesome) UK developer community is holding an all day event with me in London on August 13th. The event is free to attend, and the venue will be in Central London (at the ODEON Covent Garden). The website for the event is here. Content The event will be a packed day of presentations covering VS 2010, ASP.NET 4, ASP.NET MVC, and Silverlight for Windows Phone 7. Below is the list of talks: VS 2010 and ASP.NET 4 (90 minutes) A demo heavy talk that covers some of the new features and c...
-
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 ...
-
Creating Visual Studio projects that only contain static files
May 1027Have you ever wanted to create a Visual Studio project that only contained static files and didn’t contain any code? While working on ASP.NET MVC we had a need for exactly this type of project. Most of the projects in the ASP.NET MVC solution contain code, such as managed code (C#), unit test libraries (C#), and Script# code for generating our JavaScript code. However, one of the projects, MvcFuturesFiles, contains no code at all. It only contains static files that get copied to the build...
-
My VS 2010 and ASP.NET 4 Talks Online
May 1026The past 7 years I’ve done an annual all day event in Arizona – organized by the most excellent Scott Cate (who always does a phenomenal job organizing the event and making it a great one). Earlier this month I visited and presented 4+ hours of content covering VS 2010, ASP.NET 4 and ASP.NET MVC 2. The talks are demo-heavy and show off a ton of new features. NextSlide.com – a .NET shop local to Arizona who has a great product for sharing presentations – volunteered to record the talks and p...
-
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...
-
May 20th Links: ASP.NET MVC, ASP.NET, .NET 4, VS 2010, Silverlight
May 1021Here 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 MVC How to Localize an ASP.NET MVC Application: Michael Ceranski has a good blog post that describes how to localize ASP.NET MVC 2 applications. ASP.NET MVC with jTemplates Part 1 and Part 2...
-
April 30th Links: ASP.NET, ASP.NET MVC, Visual Studio 2010
Apr 1030Here is the latest in my link-listing series. [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 Data Web Control Enhancements in ASP.NET 4.0: Scott Mitchell has a good article that summarizes some of the nice improvements coming to the ASP.NET 4 data controls. Refreshing an ASP.NET AJAX UpdatePanel with JavaScript: Scott Mitchell has another nice article in his series on using ASP.NET AJAX that demo...
-
New <%: %> Syntax for HTML Encoding Output in ASP.NET 4 (and ASP.NET MVC 2)
Apr 1007[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] This is the nineteenth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release. Today’s post covers a small, but very useful, new syntax feature being introduced with ASP.NET 4 – which is the ability to automatically HTML encode output within code nuggets. This helps protect your applications and sites against cross-site script injection (XS...
-
Optional Parameters and Named Arguments in C# 4 (and a cool scenario w/ ASP.NET MVC 2)
Apr 1002[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] This is the seventeenth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release. Today’s post covers two new language feature being added to C# 4.0 – optional parameters and named arguments – as well as a cool way you can take advantage of optional parameters (both in VB and C#) with ASP.NET MVC 2. Optional Parameters in C# 4.0 C# 4.0 now ...

