Tag | MVC Posts

As the technical editor for the UK MSDN Flash I get surprisingly free rein to decide what content to place in it . I suspect one day they will notice – but I will enjoy it while it lasts. Every 3 months or so I do a special edition of the Flash, and this week I chose to go with “Open Source Frameworks and Libraries”. I have written before on Microsoft and Open Source and the rosy future I see ahead and I decided it was time (long overdue?) to give some of the great OSS for .NET developers wider visibility. ...
Microsoft Community in Bangladesh proudly presents Microsoft Day @ Dhaka. This is a special day dedicated to all Microsoft technology professionals and students in Bangladesh. We will be having the best Microsoft community technologists from Bangladesh - Microsoft Most Valuable Professionals (MVPs) delivering sessions at the event. This technology marathon is a great opportunity to learn from the best and network with each other. Both Microsoft developers and networking professionals would find the ...
I've been working with MVC for a little bit lately, and I've run into a really bizarre problem. I'm hoping someone can help me figure it out. Everything "appears" to work fine when the page first loads. I have a dropdown with three values and a chart which displays some data based on the value selected in the dropdown. Making a selection from the dropdown causes a roundtrip to the server. (This is good) I can SEE new data if I step through the code in my View. (This is good) The dropdown displays ...
Am 23. Juni 2009 ab 19:00 Uhr wird das kommende Treffen der dodned User Group Franken stattfinden. Der Vortrag von Albert Weinert: Das ASP.NET MVC Framework Das ASP.NET MVC ist eine weitere Säule des ASP.NET Framework. Lauffähig ab .net 3.5 bringt es einen anderen Ansatz in die Web-Entwicklung. Seperation-Of-Concerns ist das große Leitbild unter welchem ASP.NET MVC entwickelt worden und und wie man dafür entwickelt. Gegenüber ASP.NET WebForms ist eine ganz andere Entwicklungsart, dieser Vortrag bringt ...
MVC seems all the rage these days. And while there are many good things it brings to the table, it seams it takes us a step back in terms of I18N. For instance, if you want to use the special aspx attribute meta:resourceKey="foo", you won't always be able to do so. The following would work fine: 1: <asp:Label runat="server" ID="_QueryPrompt" Text="Enter Query" meta:resourcekey="_QueryPro... />&nbsp; But we're out of luck with buttons: 1: <asp:Button runat="server" ID="btn" Text="Run" ...
The LiveMeeting Q&A session with ScottGu was, as usual, very exciting. As promised, here are some of the highlights from his answers. Microsoft’s Development Process In terms of the development process at Microsoft, Scott said that more projects will be developed with openness, transparency, more frequent releases, relying on customers’ feedback and with OSI open source licenses as in the case of ASP.NET MVC. Silverlight In regards to Silverlight 3 release date, it might be around the July 10th. ...
We had a great time last night hosting our first ever Geek Dinner at the King’s Head Pub! Phil Mok from Protegra presented on his recent work with the Microsoft MVC framework and we all enjoyed some good food and drinks. Thanks to all that came out, and thanks to Wrox and Phil Haack for hooking us up with some MVC books to give away ...
Often when creating web applications, it’s common for us to want to submit or post forms to the server by using a hyperlink rather than an HTML submit button. It might be visually more appealing/consistent or whatever your reason might be to have your buttons look like this: The Cancel button is easy because we can just use a normal Hmtl.ActionLink helper to redirect to whatever our cancel page is. But what to do for the Save link given that we don’t have anything in MVC out of the box that is analogous ...
As a developer I’ve become used to multiple monitors to increase my productivity. Debugging applications is much easier when one monitor is running Visual Studio and a second monitor is displaying the application being debugged, or SQL Management Studio, or your Locals window. When I plugged my latest HP 6910p laptop into the docking station I was amazed to find that it supported dual external displays; both the DVI and analogue VGA ports can be active simultaneously. It’s a real advantage to get ...
In this Issue: David Hill, Jesse Liberty, Gabriel Shenker and Ray Houston, Nikhil Kothari, and Krish Shoutouts: The Expression Team Blog has a great post up on SketchFlow, and links out to other good sources as well: SketchFlow: Rapid prototyping that works From SilverlightCream.com: Prism Quick Start KitDavid Hill has put together a "Quick Start Kit" for Prism. Where to get it, how to install it, and what to push/press/whatever to get something cooking.What’s New In Silverlight 3Jesse Liberty has ...
I’ve not blogged much recently, for the simple reason that I’m not doing much development in my new job. I’ve done a couple of weeks of new development using C'# 3.0 in the last six months, but mostly I seem to be supporting legacy apps, planning and carrying out deployments and analysing data. I don’t mind this at the moment, but I have to say I was very pleased when Amazon finally sent me a copy of Steve Sanderson’s “Pro ASP.NET MVC Framework”. I needed a developer fix, and I’m getting it here. ...
Note: This is a reminder/update from a previous post. We’ve got our event listed on the NerdDinner website so interested attendees can register there! Geek Dinners have been around for a number of years, and are venues for geeks to get together and socialize in a comfortable setting. Recently Scott Hanselman, Phil Haack, Rob Conery, and Scott Guthrie released a book on the Microsoft ASP.NET MVC framework and also did a starter site focussed around the scheduling and searching of geek dinners. They ...
At Lansing GiveCamp I was chosen to lead a team tasked with creating a guest registration system for Ronald McDonald House of Mid-Michigan. Ronald McDonald House wanted to get off their current system, paper, to streamline their processes and report on their data. The event started around 7:00PM on Friday and ended with 3:00PM on Sunday. That’s 44 hours. At first it seemed too simple and I wondered if Microsoft Access wouldn’t have been sufficient for their needs. That is until Jay Harris met with ...
Geek Dinners have been around for a number of years, and are venues for geeks to get together and socialize in a comfortable setting. Recently Scott Hanselman, Phil Haack, Rob Conery, and Scott Guthrie released a book on the Microsoft ASP.NET MVC framework and also did a starter site focussed around the scheduling and searching of geek dinners. They called the site NerdDinner.com and provided a free e-tutorial on how to build it. Protegra would like to invite you to join us as we host our own Nerd ...
If you missed yesterday's event at the Wells Fargo Center in downtown Phoenix, you missed a great event. I know those events cost money and the soft drinks and swag isn't free either, so a big Thank You from me to all involved... that includes the time volunteered by the presenters in addition to the funding by Microsoft and Interface Technical Training who gave away discount coupons to everyone and one lucky winner got a free class! Tim Heuer gave a great Silverlight 3 presentation highlighting ...
Search Engine Optimization guides, recommends to have one version of a URL of the same content. Search engines may pickup www and non-www versions of URL as 2 separate URLs, i.e. http://xyz.com/page1 may be considered different to http://www.xyz.com/page1. It is a good idea to pick on of these URLs as preferred and use 301 redirects to send traffic from the other URLS to the preferred URL. Today we will pickup www version of URL as our preferred URL and look at how we can redirect the non-www version ...
I am back from delivering Tech.Ed India 2009, particularly the web platform track where I delivered three sessions across 2 days. In addition, we also had Stephen Walther from the ASP.NET Team deliver sessions on ASP.NET 4.0, ASP.NET MVC and ASP.NET AJAX. Over the next few posts, I would like to get all the content that we discussed during Tech.Ed India and possible videos so that even if you missed the action over there, you could benefit right here. To begin with, the sessions focussing on ASP.NET ...
Recently I have started playing with the Moq (pronounced "Mock-you" or just "Mock") a Mocking Library for .NET Developers, that takes full advantage of .NET 3.5 (i.e. Linq expression trees) and C# 3.0 features. Here in this post I will discuss how I have used the TryUpdateModel method in the Form POST scenario and also share how I have written a test case using Moq mocking library to deal with the TryUpdateModel<TModel>... model) method of the ASP.NET MVC controller. I have a very simple ...
Don't get this confused with the Scott Guthrie event and then be mad at yourself for missing it! On May 18th there is a FREE half-day Best of MIX Event in downtown Phoenix. Did I mention it is FREE? Come out to see Tim Heuer present on Silverlight 3, Dan Wahlin on ASP.NET MVC 1.0 and Web Forms, and Rob Bagby on Windows Azure. These are all 3 great presenters and great topics. You were going to celebrate Victoria Day anyway, so come out for an afternoon with 3 Phoenix "Rockstars" and get warmed up ...
I finally posted the code from my book ASP.NET 3.5 Social Networking on CodePlex at http://community.codeplex.c... Several people have asked for this so that we can make changes to the code and improve/expand the code base. I think I may also take the time to convert it from the MVP pattern to the latest ASP.NET MVC pattern/template as well as add test coverage the project. I also set up a forum for this at forum.socialnetworkingin.net and a separate blog at blog.socialnetworkinging.net ...
We had the first online version of the Ft Lauderdale developer group meeting tonight. Eighteen people were online but i was the only one with a web camera… I hope more start getting the video cranked up! The topic was Introduction to MVC and was suppose to be given by Jim Zimmerman out of Tampa but he called at 5:30 (for the 6:30 meeting) reporting that his laptop power brick was toast and he was out of juice. He had tried to get another one but at this point he was dead in the water because his ...
As others have pointed out Asp.Net MVC is full of magic strings. We use magic strings to...

Read the full article

 

The default Asp.Net MVC View Helpers use method overloads to allow customisation of the generated output...

Read the full article

 

Critics of ASP.NET MVC often point out that view code can end up looking a bit like classic ASP spaghetti code. Two of the major offenders are conditionals and loops in the view...

Read the full article

 

The second edition of the Microsoft Belux (Belgium and Luxembourg) Architecture newsletter is out and refers to this article on Azure architecture. See : http://www.microsoft.com/be... Interested in Microsoft Architecture ? See the blog Architects Rule by Philippe Destoop, Enterprise Architect for Microsoft Belgium and Luxembourg. The Azure Services Platform is an infrastructure managed by Microsoft in their datacenters that enterprises and ISV’s ...
NOTA (2009-06-26): Existe una librería oficial de NHibernate Validator con validadores adicionales específicos para ciertos paises, NHibernate.Validator.Specif... (descargar) y ya cuenta con un validador de CUIT. Gracias Fabio Maulo por el dato. La aplicación en la que estoy trabajando está basada en ASP.net MVC y utilizamos Sharp Architecture como base. Sharp Architecture utiliza a su vez NHibernate Validator para la validación de las entidades de negocio por lo que, continuando con el tema del ...
The next Frederick .NET User Group (FredNUG) meeting will be Wednesday, May 27th at the Urbana Regional Library. We’re pleased to have Jeremy Kadlec returning to FredNUG as well as Steve Andrews who is coming to FredNUG as part of his goal of 52 (yes 52!) talks to the Developer Community this year. It will be an excellent meeting filled with valuable content! The scheduled agenda is: 6:30 PM - 7:00 PM - Intro Topic: SQL Server Dynamic Management Views with Jeremy Kadlec Speaker Bio: Jeremy Kadlec ...
In this Issue: Thanigainathan Siranjeevi, Ashish Shetty, Kirupa Chinnathambi, Mike Taulty(2), and Andrew Duthie. Shoutouts: Scott Guthrie announced: Free ASP.NET MVC “NerdDinner” Tutorial Now in HTML -- note 'Free' -- 12 parts to this Tutorial! Shawn Wildermuth announces I am on .NET Rocks! .. no not ME... Shawn! :) From SilverlightCream.com: Silverlight 3 Navigation API Thanigainathan Siranjeevi put up a nice tutorial at SilverlightShow on the NAV API in Silverlight 3B. Silverlight out-of-browser ...
Wczoraj zakonczyla sie rejestracja do konkursu o tytul Speaker Idol 2009, a zatem znamy juz nazwiska siedmiu smialków którzy zmierza sie ze soba w srodowy wieczór. Oto oni: Marcin Kruszynski – Innowacje w Silverlight 3 Michal Brzozowski – Zasada „SOLID” Wieslaw Nizio – Microsoft Excel i Windows Forms. Co wybrac Ole Automation, czy OleDb? Jakub Malinowski – CRUD UI dla danych w .Net Krystian Czepiel – Wykorzystanie Modelu MVC przy tworzeniu aplikacji ASP.NET Lukasz Podolak – Software Craftsmanship ...
Below are links to a few good MVC books…. ASP.NET MVC Framework Unleashed Professional ASP.NET MVC 1.0 ...
Below are links to a few good MVC books…. ASP.NET MVC Framework Unleashed Professional ASP.NET MVC 1.0 ...
Below are links to a few good MVC books…. ASP.NET MVC Framework Unleashed Professional ASP.NET MVC 1.0 ...
6 words: Scott Guthrie May 26 Phoenix Free Do I need to say anything else?? Oh ok, here's the rest of the info: ASP.NET MVC Presented By Scott Guthrie (ScottGu) We’ll walkthrough building an application from scratch using the recent ASP.NET MVC 1.0 release. You’ll learn what ASP.NET MVC is, the design decisions behind it, and how to build a real application with it. We’ll cover topics ranging from the basics of application creation through to concepts like unit testing and dependency injection. Silverlight ...
Of late I have been looking at Ruby which has the widely liked Model View Controller (MVC) framework Rails and I just posted on Open Source with reference to both IronRuby and our own MVC framework, the ASP.NET MVC. All serious stuff. However what follows is far from serious but is also about MVC and comes from the folks at http://railsenvy.com/. Put on the headphones and enjoy :-) Rails Envy Ad: Controller Obesity from Jason Hawkins on Vimeo. and my fave line from the second video. Priceless. “I ...
Before I joined Microsoft I worked at a software development company that focused on delivering large, mission critical systems on… Unix. My work environment included Gnu Emacs, Gnu C and C++ and Gnu Make, all products from the Free Software Foundation (FSF). My home environment was similar - a mix of PCs running early versions of Linux and BSD Unix. As a company and as individuals we were fans of the work of the FSF because not only were their products very good but as developers we also had unfettered ...
Tomorrow after work, I'm driving to Richmond to speak at the Richmond Code Camp. In the past, I didn't plan out which sessions I would attend. Instead, I just floated to whatever seemed interesting. This time, I'm taking the steps to get the most out of the conference. Here's my schedule. 8:00 - 8:45am - Auditorium - Welcome And Keynote I'm not a morning guy, particularly after driving 6 hours. However, I'll try to be on time to catch the keynote. 8:45 - 10:00am - Speakers Lounge - Preparation Before ...
Normal 0 false false false EN-GB X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... ...
Wow, what a great couple of days last week! Despite having attended Devscovery the past two years, I’m still amazed at the amount of useable content that is covered during this 3-day event. The event started with a keynote by Scott Hanselman talking about the impact of social networking on software development. While some of his points may be debated by some folks in the industry, he certainly caused many in attendance to give more thought into exercising their own personal branding. Following the ...
Relatively recently it was discovered that the MVC framework was inadvertently leading to some bad practices around deleting resources with HTTP GET requests. Specifically, HTTP best practices (and RESTful best practices) state that GET requests should never modify resources. Some people consider this a “security” hole and, while that may be true, I consider it more of a “best practices” hole. Stephen Walther has a great post on this topic here. In his post, Walther demonstrates two different alternatives ...
Florida has a very active developer community. The biggest problem we seem to have is that all of these different groups usually don't know about each and there hasn't been a "centralized clearinghouse" listing all of the technical communities. Joe Healy, one of our Florida Microsoft Developer Evangelists, maintains a list and one-page flyers for each of the main areas in Florida. I think the eventual plan is that Joe will be updating his site to take advantage of the newer version of Live Maps and ...
My journey with jQuery has actually began last month when along with ASP.NET MVC I started exploring the different features provided by jQuery and related plugins.I am simple amazed at the overall design of jQuery core and also by functionalities provided by the various plugins built around jQuery.I am planing to write a series of posts with my observations on jQuery and this happens to be the first in that series. In this post I will discuss about the magical ready() function in jQuery.I always ...
Real quick note. I got back from the Orlando Code Camp with lots of information. One of the more significant pieces of information came from someone who must remain anonymous but I can tell you that this person is close to the SharePoint 14 project. There has been rumor and wonder about whether the new SharePoint would have the ability to work with the MVC framework. From my source, the day we spoke, MVC will NOT be a part of SharePoint 14. This could change, but most likely it won’t. For me, this ...
About a year ago, I started to evaluate ASP.Net MVC, but decided to put it aside because it was still in heavy-duty development. With the official release a couple of weeks ago, I decided to check it out once again. MVC has a lot of things to offer, but there are a few critical things that we couldn’t overlook. We have a few web applications that all have quite a lot invested in server controls (both third-party and developed in-house). In ASP.Net WebForms, for something as simple as a GridView with ...
I few months back, I was having major problems with VS 2008 crashing on me left and right. After trying numerous things to resolve my problem, I finally decided to uninstall all of the .Net Frameworks and VS, then reinstall. My problems started shortly after I installed SP1 (both .Net Framework and VS 2008). I can’t say for certain that SP1 was causing my problems, but since then (after reinstalling without the service packs), I have not experienced the crashing. There are other reasons that I wanted ...

Thanks to everyone who attended my session today on ASP.NET MVC at Microsoft Tech Days.  You can download the code sample that was build here.  Let me know if any questions.  Thanks.

In the limelight these days you hear a lot of jabber about MVP, MVC, MVVM, MVKVM, MVMLK, MVMTV and any other MV… you can think of for ASP.NET. These architectural patterns are great but the most stable, testable and maintainable code is still written in traditional web forms development. Microsoft created web forms development to be a practical and easy to understand way to separate your concerns. By separating your business logic code into the code-behind, you make it easy for designers to run with ...
Technorati Tags: WPF,MVVM Just posting a bunch of links to some really great articles on WPF. Pay special attention to the ones on the MVVM pattern. Very powerful stuff. Dan Crevier's Blog - DataModel-View-ViewModel Pattern Part One Introduction to Attached Behaviours in WPF Tales From The Smart Client - Attached Behaviour Pattern Sample Silverlight Behaviours A Guided Tour of WPF - 5 part series covering the basics Simplifying the TreeView by Using the ViewModel Pattern Using MVC to Unit Test WPF ...
Thanks to Clint Edmonson, I got a chance to go to Mix this year. While Las Vegas was absolutely frustrating (it was the week of St. Patrick’s Day AND Spring Break week), Mix itself was outstanding. We kicked it off with a keynote from Bill Buxton. Each Mix attendee got a copy of his book on Sketching User Experiences. Bill is THE MAN when it comes to UX design, and he did not disappoint. He was energetic, animated and passionate: everything you look for in a speaker. It is always enjoyable to see ...
Note: I just updated the title for this article, sorry to all of you who were waiting for the TechDays Belgium source code and didn't realize it was here :) I just posted the source code of the demo applications I used in my MIX09 talk "Working across the client continuum". The source code is structured as follows: Read the rest of this entry » ...
Follow Me On Twitter http://twitter.com/Mohamed_... So, a very short note on my last news is that now I’m in Abu Dhabi, UAE; for a while not having a laptop, which is why I haven’t blogged since dotNETwork CodeCamp’09. Then I thought of Micro-blogging. If you know Twitter already you know what I mean, if not, think of something like facebook status; micro space to say something that’s in your mind now. A good way to say something quick and it has been popular for technical guys and even some western ...