Tag | MVC Posts

Here's a simple way to avoid postbacks in your site, still be SEO friendly and degrade gracefully to JavaScript free browsers (and handle middle clicks and copy&paste) in ASP.NET MVC using jQuery. First, we'll create an alternate MasterPage called No.master with no content, only one ContentPlaceHolder: <asp:ContentPlaceHolder ID="MainContent" runat="server" /> Now, we're able to tell via HTTP Headers if a Request is an Ajax Request, so we'll write a new method in our Controller Base class ...
NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds. jBlogMvc is converted to be used on ASP.NET MVC Beta 1 if you haven't downloaded it yet you can find it here, to read about the changes and additions in the beta 1 I do recommend reading ScottGu's ...
Hi, I just "migrated" from ASP.Net MVC Preview 5 to ASP.Net MVC Beta. I uninstalled Preview 5 and installed the Beta. I already had checked out previous previews but spent the most time with Preview 5, and didn't want to upgrade my "Preview-5-version-of-my-te... just in case there were deprecated or new features, specially in the "New ASP.Net MVC Application" template. Gutt feeling. So I created a new Project. In Preview 5 release, the Html.ActionLink accepted a generic parameter list, with ...
The MSDN Southern Fried Roadshow is coming to Charleston on December 2, 2008 at the Embassy Suites Hotel (near the Airport)! The MSDN Southern Fried Roadshow is a free developer event with a southern flair, where you will learn about some of the latest developments in Microsoft technologies. For December, 2008 the Roadshow will be presented by Architect Evangelist Chad Brooks and Developer Evangelists Glen Gordon and Brian Hitney. Chad, Glen & Brian will be loading up a minivan with lots of goodies, ...
In this issue: Pencho Popadiyn and Lee. Enjoy a small post... if history holds, when everyone returns from PDC there will be a flood! From SilverlightCream.com: Developing Silverlight Analog Clock - pattern oriented approach Pencho Popadiyn assigned himself a task using MVC to get up to speed on various technologies and he produced an awesome analog clock... tons of informaion in this post... love it! Changing Treeview Template Lee shows how to change the Toolkit TreeView by going in through the ...
In this issue: Jeff Handley, David Anson, Jafar Husain, Justin Angel, Beatriz Stollnitz, Scott Barnes, Chris Anderson, Dave Burke, Bart Czernicki, Terence Tsang, Ben Waggoner, The Silverlight SDK, Joe Stegman, and Lee... whew! Hang in there with me, this is quite a few, especially considering it's the third post today... I'm getting slammed by all the toolkit stuff, and I'm picking through trying not to really list content, trust me! Karl Shifflett reports that XAML Power Toys 3.5 Released Updated ...
Here at PDC, Los Angeles, there is one thing for sure. ASP.NET Sessions are overflowing invariably across all days. Yes! There are way too many exciting things that I can cover over a single post and in this short duration that I wanted to keep them off until I am back. Quick announcements. ASP.NET Builds on various features such as Dynamic Data, MVC, Astora, AJAX & Futures are available at CodePlex http://codeplex.com/aspnet ASP.NET 4.0 Roadmap provided insight into the features considered for ...

Note: The Wireless network at the keynote failed miserably, so this will be posted with a delay.

Scott Guthrie about tools and app development

 New APIs for multitouch and other Windows 7 API.

Note: Lots of attention put in Win32 development with C++.

Read the rest of this entry »

NOTICE: Due to a scheduling conflicts as Halloween activities the October meeting has been moved 1 week to Wednesday, November 5th. Sorry for any inconvenience. .Net User Group Meeting location: At Lamar Advertising Wednesday, November 5th, 2008 5:45 PM - 8:15 PM Sponsored by: Portico Learning Solutions Presenter Jeremy Beckham BIO: Jeremy is a Senior Developer for High Power Consulting, Inc. and has over 5 years of experience in .Net and SQL Server development. He's worked on projects ranging from ...
I checked out Phil Haack’s MVC presentation this afternoon, and I’ve gotta say that Phil did a phenomenal job communicating the story behind the product. From establishing why the framework was created, how it fits in the ASP.NET strategy going forward, and explaining the how’s and why’s to an audience that more than likely was comprised of webform devs. Phil did a great example app as well, mimicking stackoverflow.com and providing a great real world example. However, as a great follow up, Jeff ...
Went to the ASP.NET Roadmap session…nothing really earth shattering, but some good improvements coming with ASP.NET 4.0. They’re focusing on four themes for the next version: - Best platform for standards (HTML, CSS, Ajax) - Great Line of Business Platform - Support Pattern Based Dev (MVC) - Re-Invest in the Core So knowing that, what are some things we can expect? Here are some highlights: Client ID’s will now be manageable by developers (you give a custom prefix, but an appendix will still be applied ...
This session is by Scott Hunter, Program Manager at MSFT In July 2007 - ASP.NET Futures was released That was followined by an Extensions Preview of ASP.NET 3.5 in Dec 07 Then in March 08 - we started doing some new stuff - ASP.NET 3.5 SP1 - MVC and more The ASP.NET will continue to release out-of-bound items. CodePlex is the main driver for that. www.codeplex.com/aspnet - This is where you will find the interim drops. Currently there are ~1,000 downloads today If you want to see all the latest and ...
In this issue: Cote, Ivan Dragoev, Hannah Watkins, Fons Sonnemans, Bart Czernicki, Jeff Prosise, Dave Burke, Adam Kinney, Manish Dalal, Mike Snow, Jeff Wilcox, Karl Shifflett, Terence Tsang, and Imran Shaik Laurence Moroney announces <3 your web, Vegas style, it’s MIX time again – MIX09 now open for registration…. Jeff Prosise announced his Deep Zoom Demo Updated for RTW . Matt Casto Announced Cleveland Silverlight Firestarter From SilverlightCream.com: RIA Weekly #27 - Silverlight 2.0 with Brad ...
Just like Tina belted out on the theme song for Mad Max: Beyond Thunderdome, Jeremy Miller has stood on the top of the Code Better mountain and belted out “We don’t need another out of the box web solution!” Actually, his recent post outlines the opinions that he and Chad Myers have formed while working with the ASP.NET MVC framework. In the post, Jeremy gives some pretty honest thoughts on the failings of the framework as a whole as well as the positives and benefits of the individual components. ...
I decided to completely redesign my website www.galasoft.ch (yes, it's about time, I know). For this process, I decided to inspire myself (loosely) from my good friend Robby Ingebretsen's site, which is both simple and beautiful. Read the rest of this entry » ...
Ann Arbor Day of .NET is a blast. Here's just a quick update to share my code and slides from my talk, Browser Magic with jQuery. Slides Demo 1 (Filtering a table of Northwind Products) Demo 2 (Adding AJAX to an existing MVC application) I swear I'll actually update this blog with more in depth posts about my demos within the week ...
If you follow the GWB blogs, chances are you’ll get tired of hearing this. However, the ASP.NET MVC Beta has been released, and I think a good amount of people are very excited for its release. I remember our BRDNUG meeting on the ASP.NET MVC, and how it was hard to tell anyone what would work for which preview version because of the vast differences and changes that occurred between the early previews and the later previews. Now that we have a beta, we should see a lot more stable MVC. From the ...
Although I haven`t noticed any announced from the big names yet (see update 2 below), ASP.NET MVC BETA release is already online and available for download. ASP.NET official MVC page and CodePlex site are not yet updated. Will keep you updated when the announcements come. Udpate 1: You can find screenshots for the new release with some info in this blog post. Update 2: Announcements have arrived :) [MUST READ] Scott Guthrie has posted his announcement, with so many interesting details and how-to ...
Micrsoft's ASP.NET MVC is in BETA phase now. Link: http://www.microsoft.com/do... New features: MvcFutures.dll is not included in the beta (as it wouldn't be included in the final release) The Beta installer installs the ASP.NET MVC assemblies (System.Web.Mvc.dll, System.Web.Routing.dll, and System.Web.Abstractions.dll) into the GAC. New Simple Membership Features in the Default Project Template New Filter ...
In the Baton Rouge Area with as open Tuesday afternoon? Check out the SQL Server Users Group Meeting this week. Location: At Lamar Advertising Thursday, October 23, 2008 5:45 PM - 8:00 PM Sponsored By: FuelTrac Presenter: Mike Huguet BIO Mike is an Enterprise Solutions Architect for Sparkhound, Inc. with over 9 years of experience in developing business solutions for Enterprise, Mid-market, and governmental customers. Five of those years have been as a consultant working with clients such as Jiffy ...
Manning Publications has a program called MEAP. MEAP stands for Manning Early Access Program - basically buying a book as a PDF before the paper version is published, in fact, before it is even finished. Good for new technologies like ASP.NET MVC of Silverlight. Now I know that electronic versions have a marginal cost compared to paper versions, but Manning are taking this to extreme levels; In April, I bought the MEAP title, The Art of Unit Testing, $24.99 By August, the completion of The Art Of ...
NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds. What about new features this part will cover : Configuration is saved in the database. Managing Posts (Editing, Deleting). Posts are now paged. Some jquery magic is used. So, lets have a tour in ...
(Sorry A blog post in Dutch about a software conference in the Netherlands) Vandaag (Maandag 6 okt) waren we met z'n 3 afgereisd naar het pittoreske Noordwijkerhout waar de SDN Conference werd gehouden, oftewel SDC. Op de SDC waren sessies over bijv .NET, Information worker, DotNetNuke, Delphi, Database, Architecture en User eXperience. De sessie waar ik vooral naar toe was gegaan waren de .NET/Architecture sessies. Voor vandaag stonden voor mij de volgende sessies op het programma. Ik zal niet te ...
Guild Meeting, featuring Jeff Brand When: October 7, 2008 at 6:00 PM. Where: New Horizons of Minnesota (4510 West 77th Street - Edina, MN 55435) Topic: ASP.NET MVC Overview This session will introduce attendees to the Microsoft ASP.NET MVC Framework. It will compare MVC to existing ASP.NET Web Forms and show the basics of creating an ASP.NET MVC application. Demos will be used to show how to create a simple product catalog web site. Speaker Bio: Jeff Brand is a .NET Developer in Microsoft's Developer ...
NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds. In this part of the series, I build the administration area of the blog engine I am building using the ASP.NET MVC and jQuery, in this part I will cover more basic features used in any blog engine, ...
Several weeks ago (before the release of the CTP5 of MVC) I posted a way to leverage the EntLib Validation Application Block with MVC. Since then CTP5 has been released and this finally includes a mechanism for reporting validations. It is important to note that it does not include the mechanism for *how* to do validation but rather how to *report* validations. This is actually a great thing because, first off, it allows the flexibility to utilize whatever validation framework you please rather than ...

This Tuesday I'll be giving a presentation on ASP.NET MVC and Unit Testing at the CMAP main meeting: http://www.cmap-online.org/Meetings/Details/2008-10-07.aspx .

I came across JQuery some time back and i can say Wow !! It is a Javascript full on Library. Its great to here that microsoft will be shipping with ASP.NET MVC and will be coming with Visual Studio later you can read more here at Scott's site And as i understood you can use it together with Ajax Control Toolkit etc.. Sweet and Enjoy ...
Wow, the ASP.NET MVC team just keeps getting it right! I am truly shocked that Microsoft is going to take advantage of a well-known, well-tested open source framework instead of trying to (poorly) invent their own... (cough... ASP.NET Ajax) Scott Gu - jQuery and Microsoft : http://weblogs.asp.net/scot... ...
The news took the community by surprise and the reactions are overwhelmingly positive: Microsoft is going to ship jQuery with the ASP.NET MVC framework (very soon) and with Visual Studio (in a near future). For more details, ScottGu and Scott Hanselman are talking about that in a very complete way. Read the rest of this entry » ...
The Heartland Developers Conference has come to Minneapolis and things start kicking off tonight with the pre-conference party, down at the Hyatt Regency in downtown Minneapolis. I attended the HDC last year in Omaha as a representative of Magenic and enjoyed it so much I decided to speak at the event this year (both in Minneapolis and Omaha.) I'm speaking on Monday and my time slot has some pretty tough competition with Andrew Troelson discussing LINQ Query Internals and Amanda Laucher discussing ...
The jQuery Javascript library has gotten a significant amount of attention from Microsoft developers this year in large part to its nice fit with the new ASP.NET MVC framework. I myself was totally new to jQuery and I started using it with MVC because I wanted to see what the big deal was. Sure enough, I became a true believer like many others. And I found myself suddenly having "JavaScript envy" because I couldn't do all the cool jQuery stuff in traditional ASP.NET (i.e., non-MVC) web applications. ...
Martin Mihaylov on the DataGrid, Bill Reis with Text, Scott Barnes Introduces Project Nexus, Jose Fajardo on Expression Design, Terence Tsang with an Image Carousel, and Adam Kinney on Shidonni. Adam Kinney blogged about posting at least once a day to PDC, and Bill Reiss took up that challenge as well, so expect to see some good stuff from the both of them! Oh, and thanks for the shout-out, Bill! On another note, Bill has his RSS feed now provided by FeedBurner, so you need to swap your URI. Steve ...
Phillydotnet.org 3rd code camp for 2008 will be held at the DeVry University campus in Fort Washington, PA on Saturday, October 11 from 8:30-5:00. Please register on our web site.-->Detailed directions are on the DeVry web site. sold out. There will be another Code Camp in May.--> Lots of code, just say no to slides! 8 hours 50 sessions (8:30, 10:00, 12:30, 2:00, 3:30) 10 tracks including new IT Infrastructure and Enterprise 500 seats with tables (laptops welcome) Free breakfast, lunch, and afternoon ...
Since .NET 2.0 Asp.net webforms has protected the programmer from cross-site scripting by validating all input sent to the server. Unfortunately, this does not happen in Asp.net mvc. I tested my application by typing 'alert("xss");' surrounded by script tags in the first name textbox. The form saved successfully and I got a javascript alert box with the message "xss". In asp.net mvc it is the programmers responsibility to validate all input. Calling Request.ValidateInput() in a controller tells the ...
http://codebetter.com/blogs... I felt that a pointer to this article is worth while. I have spent a fair bit of time trying to determine what my preference was between MVP and MVC. I tend to lean more towards the MVP side and this article mentions directly why I like it so much more. MVC tears out the state awareness that the standard ASP.NET web forms come with. I spent so many years in ASP classic wiring up form and query string variables ...
The Columbia Enterprise Developers Guild will be meeting today at Midlands Tech NE Campus Auditorium at 6:00 pm. Brian Hitney will be presenting on the ASP.NET MVC Framework. Meeting Summary When: September 10th, 2008 @ 6:00 PM Where: Midlands Tech NE Campus Auditorium Who: Brian Hitney What: MVC Framework Technical Sponsor: TEKsystems Agenda 6:00 Pizza and Networking 6:30 Announcements 6:45 Sponsors 7:00 Presentation 8:30 Closing and SWAG Handouts Topic – Model View Controller Framework The ASP.NET ...
This is a simple technique I recently started using to clean up MVC views. Here was my first attempt at rendering a list of alerts: <table class="tabTable"> <tr> <th></th><th... TYPE</th><th>WH... </tr> <% foreach (FleetAlertDTO alert in ViewData.Model) { %> <%= Html.RenderUserControl("~/V... alert) %> <% } %> </table> I didn't like it because ...
The other night at our local development group, the Charlotte based Enterprise Developers Guild, Brian Hitney from Microsoft gave and Overview of Microsoft ASP.NET MVC. This is my first time seeing the MVC pattern from Microsoft. This is the take away Items from this talk which may be helpful to those that are new to the MVC concept. Routing Before discussing the structure of the MVC pattern, it is important to understand how pages are routed through the MVC. Using a Routing table, links are directed ...
When: September 11, 2008 - starting at 6PM Where: Benefit Focus, Daniel Island Brian Hitney from Microsoft will be presenting on using ASP.NET Model-View-Controller Framework. In this talk, we'll look at the new Model-View-Controller (or MVC) framework coming in ASP.NET. We'll discuss some topics like REST, and we'll go over how MVC works (such as URL routing and controllers). We'll also talk about why and in what situations the MVC framework might be useful over traditional ASP.NET Webforms development. ...
See www.visug.be ALT.NET Overview on Thursday, September 11, 2008 18:30 Compuware Zaventemby Yves Goeleven For the past year the alt.net movement has been stirring up the Microsoft community around the globe. Now it's getting hold of the Belgian community as well.In this session I would like to present to you what the core values of the alt.net movement are, what principles, concepts and tools we hope to promote and to booth I would like to introduce the brand new 'Dutch alt.net user group'. ASP.NET ...
I'm starting to really enjoy what RoR offers out of the box. This framework is really designed around the application lifecycle we all try to reinvent on every project. Rails Rails is the framework for web development over a database. Compare it to asp.net on dotnet. However, Rails is much more than a web UI. Read on... Ease of development When creating any kind of object, extra files are being generated as well, like helper classes, test classes, database migration scripts, fixtures, ... Most of ...
Design Patterns Via C# 3.0 View SlideShare presentation or Upload your own. (tags: design patterns) Yesterday was my 2 part session about Design Patterns as part of dotNETwork 7th gathering. Thank you all guys for being there, There was so much interesting stuff about the audience. The conversation we all had even before the session starts, the interaction with all parts of the session, and the great questions. Thank you all. You can find the slides for the 2 parts combined in single downloadable ...
dotNETwork, the most active offline user group in Egypt is having its 7th gathering next Saturday, August 30, which will have two parallel tracks for the first time in the group gathering. BizTalk Introduction, and C# 3.0 Design Patterns, which I will be delivering! If I were you to attend the event, it would have been a hard choice too (unless you go simply for BizTalk) ! BizTalk beginner introduction as a topic was not delivered in public sessions before. The only BiTalk sessions I know of were ...
This next post might be rather obvious to most of you, but I figured I wasn't the only one that didn't know how to do this. I was recently working with a new ASP.NET MVC project and got tired of typing out the fully qualified class names. This seems like something that would be rather common, but a quick Google search didn't turn up anything useful. I figured that there had to be a way to import a namespace, so intellisense to the rescue, I noticed that there was an <%Import %> directive. Sure ...
Very Quick Note: Visual Studio 2008 Service Pack 1 was released finally (in combination with .NET Framework 3.5 Service Pack 1 of course). To sum up for some people, note that VS 2008 SP1 includes ADO.NET Entity framework (and its designer) as well as ADO.NET Data Services, but NOT ASP.NEt MVC framework (but does include ASP.NET Dynamic Data & ASP.NET AJAX history control and script combining). It also includes some WCF enhancements as well as major VS performance and scalability fixes. ISO Donwload ...
1. IIS 7 Allows Multiple Web Sites On XP IIS was limited to one web site. To develop multiple web site one had to use virtual directories or develop solely with Cassini (VS Web server). The problem with both of the aforementioned strategies is that they create a significant difference between the development and production web servers. I prefer to develop with IIS, and Vista allows me to do that. 2. IIS 7 Plays Well with Asp.Net MVC I love Asp.Net MVC but it really does not work well without IIS ...
I noticed today that Microsoft is about to release a new preview release of the ASP.NET MVC framework, so I thought I'd say something about that today. For those who haven't really used an MVC framework before, in short, its a flexible architecture that allows you to structure your code in such way as to keep clearly defined layers: a model (database access), a controller (business logic) and a view (a way to view the results of the execution of said logic). I've played around with other MVC frameworks ...
Introduction In Egyptian Developers Conference (EDC) 2008 this April, my geek network noticed a very nice, cute, and sweet little girl with me that I was very proud to introduce not just as one of the cleverest developers in SilverKey, but also as my life mate, my fiancée. Not sure if any of you noticed that by then, although being engaged, we were not wearing rings, yet! Well, WE DID FEW HOURS AGO! Yes, I now wear a ring with Mona's name on it. What a pleasure that is? To understand, you just need ...