Tag | ASP.NET MVC Posts

I recently sat down with Ben Scheirman (co-author of ASP.NET MVC in Action) for my first interview on my new show DotNetRadio. It was quite a talk! We covered the following points: An introduction to Ben Scheirman and how he got into web development Bens path through various web technologies such as ColdFusion, PHP, Ruby, and ASP.NET A brief discussion on code testability Working with ASP.NET web forms using the model view presenter pattern How ASP.NET MVC simplifies the testing process Ben informs ...
I love Test Driven Development. I use this development approach wherever I can. It makes my code a lot better and gives me the confidence that I indeed have crafted a good and reliable piece of code. However, some things are quite hard to test-drive, simply because they have so many dependencies that you would need to make extensive use of a mocking framework (and probably inspecting some things via Reflector...). In such a case, you usually decide to not have unit tests, because the time and amount ...
I’m sure by now you know that the Visual Studio 2010 and .NET Framework 4 Beta has been released. If not, get it here. There are also some great training resources already available! The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including: C# 4.0 Visual Basic 10 F# Parallel Extensions Windows Communication Foundation ...
[Source: http://geekswithblogs.net/E... We had a fiddly issue with date validation in an ASP.NET MVC page failing for a valid date in Chrome, but passing in Firefox, IE etc. Tracing through our own code and xVal, the issue was narrowed down to the jQuery validation plugin (jquery.validate.js). For simple date validation, the library instantiates a date object from the given text value and lets JavaScript raise errors for invalid dates: date: function(value, element) { return this.optional(element) ...
This morning, Channel 9 launched the new Channel 9 Learning Center. From Channel 9, here’s a description of what the Learning Center is: “The Channel 9 Learning Center is the destination for free technical training on emerging Microsoft products and technologies. The Learning Center consists of a set of courses with each course including a set of videos, hands-on labs, and source code samples to get you up-to-speed quickly.” I’m pleased to say that Visual Studio 2010 is one of the first Training ...
The Beta 2 version of DPE’s Visual Studio 2010 Training Kit is now live (you can find it at http://tinyurl.com/Beta2Tra... A training kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize a variety of Visual Studio 2010 and .NET Framework 4 technologies. The Beta 2 release of the Training Kit contains 15 presentations, 19 hands-on labs, and 13 demos. Many technologies are covered in this release, including: C# 4, VB 10, F#, Parallel Extensions, ...
This morning I had the chance to speak with Ben Scheirman. We chatted for roughly an hour or so discussing how he entered into the web development industry, going on the road to teach ASP.NET MVC in its early days, his book ASP.NET MVC in Action, and his thoughts on the use of the MVC framework. We discussed some patterns and tools for testing, tools for development in general such as ReSharper, and the use of the Spark View Engine. Watch for this podcast to be posted within the next couple of days. ...
If you’re a web developer using Microsoft technologies then, unless you’ve been hiding under a rock somewhere, you’ve probably heard of ASP.NET MVC. If you’re not sure what it is, how it works, or why you would want to consider using it, you’ll find three videos on the ASP.NET MVC page that will answer most, if not all, of your questions. Video #1, titled “Why Use ASP.NET MVC?”, is a 3 minute video which provides a high-level overview of ASP.NET MVC for decision-makers. I especially like the motor ...
What is something that is longer than a magazine article and shorter than a book chapter? Give up? It's a Wrox-Blox that Wiley has available online with some going for less than $10.00. Written by the best programmers in the their fields, Wrox Blox are short informational pieces and code that will help get you up-to-speed and keep you up-to-date. Build the knowledge you need quickly on a wide variety of topics. In the DotNetNuke world, there are several of these available for you to review and stay ...
This podcast accompanies the October 8th edition of the MSDN Flash newsletter. It is an interview with Paul Jackson which is meant to be about the article he wrote on Memory Mapped Files in .NET Framework 4.0 but tends to go off in different directions – but we both certainly enjoyed doing it :-) I was interested to hear how he was getting on with Oslo and why he was revisiting ASP.NET after many years of focus on XAML. Show Notes: WebsiteSpark Program Microsoft Ajax CDN Web Platform Installer Version ...
.NET University has a variety of presentations available for download, including code examples and videos. Use the materials to learn or to present at your next DNUG meeting ;) The presentations cover a variety of different topics, so if you’ve already got a presentation planned and you just want to compare, be sure to check’em out. All the popular topics like Silverlight, WPF, WCF, LINQ, and ASP.NET MVC are covered. Instant presentations, just add presenter. http://www.dotnet-u.com Technorati Tags: ...
If you dont want to use strings but instead use strongly typed expression syntax in ASP.NET MVC, you can use the HtmlHelper<TModel> and AjaxHelper<TModel> types that are exposed on the ViewPage<TModel> base class. You can then write syntax like <ul> <%foreach (Product p in ViewData.Model.Products) { %> <li> <%=Html.ActionLink<Ca... %> </li> <%} %> </ul> instead of <ul> <%foreach ...
Wrzuta.pl, this is a polish site similar to youtube. It allows to watch movies and listen to music, but does not allow direct downloading them to disk. In this post I would like to show how to achieve that using Ext JS and MVC. Create a new ASP.NET MVC project and add there a Ext JS library. I have written here how to do that. First step is create a form where user can paste the url. Ext.onReady(function() { Ext.QuickTips.init(); var form = new Ext.form.FormPanel({ frame: true, renderTo: 'form', ...
Previously I talked about Motivations for Dependency Injection and how we should keep our objects simple. Let’s talk about how we keep our objects simple… I immediately think of one design principle that can be used to keep your objects simple: Single Responsibility Principle (SRP) A class should have one, and only one, reason to change. Shocking…isn’t it? Following that will lead you to use interfaces and keep your classes small and focused. There are a bazillion resources on SRP – have a look around ...
ASP.NET MVC Reports in ASP.NET MVC Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC Setting Up ASP.NET MVC with NUnit for Visual Studio 2008 Standard Edition ASP.NET MVC ExtJS using LINQ Using ExtJS Grid with ASP.NET Ajax WCF WebServices & C# How To Get Started With Selenium Core And ASP.NET MVC ASP.NET MVC Cheat Sheets ASP.NET How to Implement Trackback Handler in ASP.NET How to Implement Pingback Handler in ...
Well, here we are again. Last time, we talked about project structure and came up with the one we’ll use for this series. Next we’ll talk tools. We’ll talk tools like Tim Taylor talks tools: with lots of grunts for my favorites and only a little explanation about what the tools do.) This is mostly because there is LOTS of material on the interwebs about all of these tools. I tend to favor the tools that are the most widely used for two main reasons: they have been battle tested by the largest crowd ...
This is a part of EXT JS Tutorial In this article I will cover information about creating, submitting and validating a forms with Ext JS library. Submitting form to the server will be based on ASP.NET MVC page, so create a new MVC project in Visual Studio and add a EXT JS library into it. How to do it I have written here. So let’s create our first form. How to create a simple form – first example. var form = new Ext.form.FormPanel({ //(1) renderTo: Ext.getBody(), //(2) url: 'Home/SubmitForm', frame: ...
Commerce Server 2009 was the single biggest upgrade to the Microsoft e-commerce platform in nearly 10 years. A large proportion of the changes are the introduction of a single API covering the multiple business logic implementations required within an e-Commerce site. In former releases business concepts such as inventory, catalogue, order management, user profiling, and marketing had each been separated into their own domain logic and thus each had a unique API which made it difficult for new developers ...
This was originally an email I sent to .NET team in my company, then decided to share as a blog post. The problem: Let’s say you have a complex application, and this application (or part of it) runs very slowly. No bug s in results, no errors or exceptions, but it just so slow! Now you want to know which part of your code is the reason, which method(s) you need to go and modify., which methods take so long to execute or consume so much memory/CPU. How would you know that? Let’s say you want to improve ...
Goal: jQuery AutoComplete in ASP.NET MVC Framework with callback to customize result Platform/Environment: Asp.Net Mvc version 1 jQuery 1.3.2 Autocomplete - jQuery plugin 1.0.2 Quick Solution: Here I am simply returning a list of account names: $('#Name').autocomplete( $('#ajaxListMatchingAccount... { delay: 10, minChars: 3, matchSubset: 1, matchContains: 1, cacheLength: 10, autoFill: true, mustMatch: false, selectFirst: true, max: 15 } ); ajaxListMatchingAccountName... - this is a ...
In this short article I would like to show how to upload an image file to the server using Ext JS library and ASP.NET MVC. First step is create a new ASP.NET MVC project and add to him the Ext JS library. I have written here how to do it. We will use a user extension called Ext.ux.form.FileUploadField to upload a file. It is not included in the library, so add to project these files: - FileUploadField.js - FileUploadField.css Now let’s add a new form with the fileuploadfield field Ext.onReady(function() ...
This podcast accompanies the August 12th, 2009 edition of the MSDN Flash newsletter. It includes an interview with Mike Ormond discussing the new stuff in ASP.NET 4.0 plus an opportunity to ask Mike “Which are you? MVC or WebForms?”. Other areas discussed in the intro section include the RTM of Windows 7, the UK launch event of Expression 3 and Silverlight 3 plus the results of the poll of how developers scored in the Joel test. P.S. Apologies on the delay in publishing this podcast – but I did have ...
Well, I crashed and burned tonight. I knew the information, but I had one small problem, that kept my demo from working. I added the SchemaNameConvention to the Data project for handling database schemas, and added it to the Fluent NHibernate conventions list. I SHOULD NOT, however, have changed the code for getting the Id of the domain objects. What this does, is it looks at the object and determines, by domain signature attributes, which property mappings need to be mapped as an Id not a property. ...
Ext JS is a very powerful javascript UI library which allows you to create a rich internet applications. Ext JS is very easy in use, in learn and has very intuitive API. Supports all major web browsers (IE, Opera, Firefox, Safari). Starting with this post I would like to initiate a series of articles explaining the nuances of how to use a basics Ext aspects in web developments with ASP.NET MVC and how to create a great-looking user interfaces in web apps. Links to all related articles to this tutorial ...
This is a part of EXT JS Tutorial To successfully carry out everything that has been described in this article you need: Normal 0 21 false false false PL JA X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:Standardowy; 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:0cm; mso-para-margin-bottom:.000... line-height:115%; ...
Speaker Lee Brandt is a Senior Consultant with Adventure Tech Group, Inc. in Overland Park, Kansas. He has been programming professionally for over 10 years and developing solutions in .NET and C# since the early beta releases. He is an advocate for behavior-driven development, design patterns and agile methodologies. Topic Getting Started with S#arp Architecture ASP.NET MVC is all the rage lately. There are also several peripheral projects that compliment ASP.NET MVC development (MVCContrib, NHibernate, ...
In an effort to continually improve as a developer, one of the things I do is read lots of books. Recently I read Rails for .NET Developers by Jeff Cohen and Brian Eng. Overall, I would definitely recommend this book to any ASP.NET developer that wants to learn more about Rails or wants to better understand the concepts behind MVC. Given that ASP.NET MVC was heavily influenced by Ruby on Rails, I wanted to learn more about Rails so that I could have a better understanding of how MVC evolved the way ...
In my previous blog post, I have discussed about how to get asynchronous JQuery treevew to work with ASP.NET Webservices, and we identified that, to make a successful ASP.NET webservice call using JQuery the request must be POST request, the content type of the request must be “application/json; charset=utf-8”, and the data parameter of the the $.ajax() method must be passed as a string. We also looked at the tweaks that we need to do to the jquery.treeview.async.js file to get that working. However ...
I blogged a while ago about creating a series of posts on building an ASP.NET MVC application. To be honest I had already built one. It took me three months. And I haven’t touched it for about two months, so I thought at least I can share it with you geek readers. The main difference between MVC in Rails and MVC in ASP.NET is that Rails generates the infrastructure from the commands you type, as for the ASP.NET MVC part you are responsible for building the infrastructure. What do I mean when I say ...
Artykul z serii “W dzungli Codeplex” Projekt: ASP.NET MVC Starter Kit Strona domowa projektu: http://mvcmembership.codepl... Typ projektu: Biblioteki + kod zródlowy do bezposredniego uzycia + kod widoków Status projektu: Stable – 07.08.2009, nastepny release przewidywany dla ASP.NET MVC 2.0 (Preview 1/2) Zakres projektu: kontrolek i widoki w postaci platformy do zarzadzania uzytkownikami MembershipProvider i RoleProvider Platforma: ASP.NET MVC 1.0, ASP.NET MVC 2.0 Docelowe uzycie: projekty ASP.NET ...
In this Issue: Ian T. Lackey(2), Shawn Wildermuth, David Anson, Jesse Liberty(2), Scott Marlowe, Gavin Wignall, Brad Abrams, and Robby Ingebretsen. Shoutouts: John Papa's latest article is available in MSDN Magazine: Binary Encoding and Handling Faults in Silverlight 3 Stefan Olson has his own version of: Bugs fixed (or not) in Silverlight 3 RTW David Kelley has announced an MSDN Webcast: geekSpeak: Composite Application Development (Level 200) András Velvárt gave me this link which is a promo for ...
Ogloszenia techniczne dotyczace wszystkich nastepnych postów: uwagi w tekscie, których nie ma w oryginale, oznaczone sa kwadratowymi nawiasami [ ]; tlumaczenia obowiazuje disclaimer. Translation of original post by Phil Haack: / Tlumaczenie oryginalnego posta napisanego przez Phil’a Haack’a: http://haacked.com/archive/... Uwaga! Ten post zostal napisany na podstawie ASP.NET MVC 2.0 Preview 1, a wiec w przyszlosci moga sie zmienic pewne szczególy implementacyjne. ...
In this Issue: Ian T. Lackey, Brad Abrams(2), Naughton(2, 3), Sergey Barskly, René Schulte, Jobi Joy, and Jafar Husain(2). Shoutout: Funny, I was a couple days away from writing Jeff Paries asking if he was ok and yesterday he popped up: We now return to our regularly scheduled program…. ... he's been updating his book... and that's great news! If you read blogs like I do sometimes, you may miss some of the goodness on Jesse Liberty's blog yesterday/today... He is turning up the heat on the new Open ...

Microsoft has released the latest and greatest version of it’s ASP.NET MVC project. Microsoft’s Scott Guthrie has an excellent overview of the new release on his blog.

Are you using ASP.NET MVC in your current web projects? Planning to in the future?

Have a day. :-|

Translation of original post by Scott Guthrie: / Tlumaczenie oryginalnego posta napisanego przez Scott’a Guthrie: http://weblogs.asp.net/scot... Zespól ASP.NET wlasnie opublikowal pierwszy preview nowej wersji ASP.NET MVC – MVC Version 2. Mozesz pobrac go tutaj. Preview 1 dziala w srodowisku .NET 3.5 SP1 i VS 2008, i moze byc zainstalowane równolegle z ASP.NET MVC 1.0 (co oznacza, iz nie pojawi sie miedzy nimi konflikt, a dotad dzialajace ...
Today.. ASP.NET MVC Version 2.0 preview one is release. There are many new features introduced as part of this.. you can download this from Here Support of areas, strong typed UI Helpers, Data Annotation validation are couple of them and many more features are there. To know more about the new features of this, look at scottgu's blog here. In this post you can also download the example application... This Version of MVC works with .NET 3.5 SP1 and VS 2008, and can be installed side-by-side on the ...
In this Issue: Erik Mork, András Velvárt, Don Burnett, Dan Wahlin, Brad Abrams, Imran Shaik, and Andrew Myhre. Shoutout: Terence Tsang has the alpha of his Resource Directory running and I think it looks great: Silverlight Resource Directory - alpha From SilverlightCream.com: MEF and Silverlight Erik Mork's latest SparklingClient podcast is up and he's talking MEF with none other than the man you'd want to... Glenn Block! Discovering Silverlight 3 – Deep Dive into GPU Acceleration András Velvárt ...
Incorporating the jQuery Grid With ASP.NET MVC Scenario: You have an ASP.NET MVC application and don't want to custom build smart controls like the ASP.NET GridView, ListView, etc, that support sorting and paging, as well as filtering and searching for data, and all of this using Ajax. Solution: The jQuery Grid plug-in. What tools/plug-ins do I need? jQuery version 1.3 and up jqGrid version 3 and up (this post references version 3.4.4) A strong cup of coffee In the past you had to also add the jQuery ...
When I set up my first KiGG site, I was surprised to discover that I had to manually publish articles. I assumed it would be an automated process that would run once a day. Since there are times I may not be able to log into my website, I set about figuring out how to automate the process. I should note that during this process, I didn’t use best practices. I had one requirement: make a program that I can schedule to publish stories on KiGG. I wasn’t really sure what I would need to go about doing ...
Normal 0 false false false MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* 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-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} ...
Allow me to quote here some emails I sent to the the Dot NET developers group in my company, Injazat, or, as we call ourselves, Ninjazat. I thought it’ll be useful to share some with you as well. · ASP.NET MVC - 20 Hours of FREE Video Tutorials · LINQ FAQ o LINQ FAQ for Newbie’s o LINQ FAQ Part 2 · How we handle application configuration · ScottGu ASPNETMVC Session Video Available Now (Part 1/2 & 2/2) · Web Validation: Best Practices and Tutorials · Building a Single Sign On Provider Using ASPNET ...
The scenario: A web app is using the OutputCacheAttribute to set a cache duration for data that has different life spans. The IDE: ASP.NET MVC with Visual Studio 2008 The environment: Web-App on IIS The data that is being retrieved varies greatly in terms of their lifespan: Some data is very static like States, Countries Other data is more fluid, especially during end-user testing, like the load of scripts that have to be fixed occasionally and pushed to production during the day. Especially early ...
I was going to put this on twitter but it’s a bit longer to tweet. Last week I shared some videos on Google Reader and twitter from Microsoft’s MSDN Chopsticks video website. If you don’t know it, it’s a VERY nice videos website with much content on very interesting topics and very recent products as well as different experience levels of content. http://www.microsoft.com/be... Today, some other friends on twitter noticed the Chopsticks site and were wondering why it doesn’t allow ...
Summary: In this post we will discuss the tooling that is at our disposal and also some of the benefits or not so beneficial features it brings to the table. Content Introduction Tooling Benefits of using it Introduction ASP.NET MVC is Microsoft's way of getting on the MVC wagon. It offers a lot more control over the application you're building, no more WebControls ( personally I never and hope to never have to use it ), pure XHTML as W3C would have you doing anyways. At this moment, and I suspect ...
The ASP.NET MVC framework was just released as a preview when I started to write my first book (ASP.NET 3.5 Social Networking). In the early days of design decisions for my book I was faced with the problem of building with the MVP pattern or the new MVC pattern/framework. At that time there was next to nothing regarding the use of the ASP.NET MVC framework (proper or improper). Shortly after I got started with my project (which I chose to do in MVP) I was asked to do a review for the ASP.NET MVC ...
If you are the minority who have been following my blog from the beginning you would know I am an avid practitioner and developer that centre on Microsoft SharePoint, and associated technologies. So some people may be thinking why write about Commerce Server? Is there any association between this and Microsoft Office SharePoint server (MOSS)? Well the answer is yes and no. In my earlier blog I briefly introduced Commerce Server, and this is hopefully the start of my series of articles introducing ...
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 ...
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 ...
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. ...