Stories recently tagged with 'ASPNETMVC' Subscribe to this feed

KiGG Design And Architecture – Part 4 Inside Infrastructure (mosesofegypt.net)

submitted by mosessaurmosessaur(5050) 4 days, 23 hours ago

This is part 4 of this series which I don’t know when it will ends :o). In part 3 I started to to explore the Core of KiGG. In this part we are still inside the core, but we are going further deep to have a look inside the infrastructure. I’m going to talk about infrastructure for the next couple of posts or maybe more. Because actually it contains the heart of KiGG. read more...

add a comment | category: | Views: 6

tags: another

ScottGu: ASP.NET MVC 2: Model Validation (weblogs.asp.net)

published 25 days, 2 hours ago, submitted by JemmJemm(9400) 25 days, 9 hours ago

"Validating user-input and enforcing business rules/logic is a core requirement of most web applications. ASP.NET MVC 2 includes a bunch of new features that make validating user input and enforcing validation logic on models/viewmodels significantly easier. These features are designed so that the validation logic is always enforced on the server, and can optionally also be enforced on the client via JavaScript" read more...

4 comments | category: | Views: 257

tags: another

ASP.NET MVC 2 - ScottGu's Blog (weblogs.asp.net)

published 25 days, 4 hours ago, submitted by johnrummelljohnrummell(1255) 27 days, 6 hours ago

Over the last six months the ASP.NET team has been steadily releasing preview, then beta, and now release candidate builds of ASP.NET MVC 2. Given that the final release is not too far away, I thought it was a good time to start a new multi-part ASP.NET MVC 2 blog series that discusses the new features and how best to take advantage of them. read more...

5 comments | category: | Views: 296

tags: another

Ordering fields in ASP.NET MVC 2 templated helpers (blog.maartenballiauw.be)

published 28 days, 18 hours ago, submitted by maartenbamaartenba(5585) 29 days, 14 hours ago

Ever worked with the templated helpers provided by ASP.NET MVC 2? Templated helpers provide a way to automatically build UI based on a data model that is marked with attributes defined in the System.ComponentModel.DataAnnotations namespace. For example, a property in the model can be decorated with the attribute [DisplayFormat(DataFormatString = "{0:c}")], and the templated helpers will always render this field formatted as currency. If you have worked with templated helpers, you must agree: they can be useful! There’s one thing which is impossible in the current version: ordering fields. And that's what this post will accomplish. read more...

1 comment | category: | Views: 118

tags: another

Vote to help me speak at the MIX 2010 conference! (blog.maartenballiauw.be)

submitted by maartenbamaartenba(5585) 1 month, 3 days ago

Everybody knows the Microsoft MIX event, right? The one in Las Vegas? The one with all the fancy web-related stuff? Rings a bell? Ok, great. In the beginning of December 2009, Microsoft did an open call for speakers, which I answered with some session proposals. Who doesn’t want to go to Vegas, right? The open call proposals have been processed (150+ sessions submitted, wow!) and a voting has started. Go ahead and vote on your favourite sessions! There's also Elijah Manor, Justin Etheredge, K. Scott Allen, and many others who submitted good looking sessions. read more...

add a comment | category: | Views: 1

tags: another

Exposing the View Model to JavaScript in ASP.NET MVC (trycatchfail.com)

submitted by Matt_TCFMatt_TCF(390) 1 month, 17 days ago

View models make it easy to move data between your views and controllers in a strongly-typed manner, but what's the best way to leverage the view model from JavaScript? This post looks at some of the alternatives and presents a clean, simple way to convert the view model to an equivalent JavaScript object by using JSON on the master page. read more...

add a comment | category: | Views: 14

tags: another

ASP.NET MVC: Compile Your Views for Release Build Only (www.developmentalmadness.com)

submitted by atifazizatifaziz(990) 1 month, 23 days ago

Mark J. Miller shows how to setup an ASP.NET MVC application project to compile views based on WebForms engine in release builds only. You therefore get the speed during development but a final validation before release. read more...

add a comment | category: | Views: 12

tags: another

Supporting multiple submit buttons on an ASP.NET MVC view (blog.maartenballiauw.be)

published 2 months, 14 days ago, submitted by maartenbamaartenba(5585) 2 months, 14 days ago

A while ago, I was asked for advice on how to support multiple submit buttons in an ASP.NET MVC application, preferably without using any JavaScript. The idea was that a form could contain more than one submit button issuing a form post to a different controller action. The above situation can be solved in many ways, one a bit cleaner than the other. For example, one could post the form back to one action method and determine which method should be called from that action method. Good solution, however: not standardized within a project and just not that maintainable… A better solution in this case was to create an ActionNameSelectorAttribute. read more...

add a comment | category: | Views: 263

tags: another

Facebook Connect Action Filter for ASP.NET MVC (www.beefycode.com)

submitted by beefarinobeefarino(110) 2 months, 21 days ago

One of Facebook Connect's basic features is to provide user identity to other web applications via the "Connect Button". Adding this feature to your ASP.NET site is already well documented by Clarity Consulting and others; here I will show you how I'm seamlessly folding this feature into the ASP.NET MVC request-handling pipeline using a custom Facebook Connect ActionFilterAttribute. read more...

add a comment | category: | Views: 22

tags: another

Localize ASP.NET MVC 2 DataAnnotations validation messages (blog.maartenballiauw.be)

published 3 months, 3 days ago, submitted by maartenbamaartenba(5585) 3 months, 4 days ago

Living in a country where there are there are three languages being used, almost every application you work on requires some form of localization. In an earlier blog post, I already mentioned ASP.NET MVC 2’s DataAnnotations support for doing model validation. Ever since, I was wondering if it would be possible to use resource files or something to do localization of error messages. Here's how! read more...

add a comment | category: | Views: 330

tags: another

MvcMaps Preview 1 – A Unified Bing/Google Maps API for ASP.NET MVC (pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.1k) 3 months, 6 days ago

I spent some time lately working on bringing some of the concepts of Web.Maps.VE to ASP.NET MVC. The concepts I’m referring to are Simplicity and Ease of Development in making the implementation of mapping within ASP.NET MVC applications as simple as possible along with the Flexibility and Customizability of the Base Mapping API itself. Then I thought, Since I’m building an abstraction layer to simplify Bing Maps development, why not implement it in a flexible manor as to be able to support other Mapping API’s as well? The result of such an effort in a nice Unified API that allows virtually the same code to be written when implementing either Bing Maps or Google Maps. In fact, all you need to do to change your application over to using one mapping provider instead of the other is to just change a single line of code. read more...

add a comment | category: | Views: 22

tags: another

ASP.NET MVC View Model Patterns (geekswithblogs.net)

submitted by johnrummelljohnrummell(1255) 3 months, 12 days ago

Since MVC has been released I have observed much confusion about how best to construct view models. Sometimes this confusion is not without good reason since there does not seem to be a ton of information out there on best practice recommendations. Additionally, there is not a “one size fits all” solution that acts as the silver bullet. In this post, I’ll describe a few of the main patterns that have emerged and the pros/cons of each. It is important to note that many of these patterns have emerged from people solving real-world issues. read more...

add a comment | category: | Views: 61

tags: another

Recording of my session at Remix 2009 - ASP.NET MVC (blog.maartenballiauw.be)

submitted by maartenbamaartenba(5585) 3 months, 17 days ago

Session recording of my remix09 talk: ASP.NET MVC Wisdom Abstract: "Building a Twitter clone in 60 minutes, featuring what's new in ASP.NET MVC 2 preview 1 and focusing on some of the core ASP.NET MVC features like security and routing." read more...

add a comment | category: | Views: 24

tags: another

Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier (weblogs.asp.net)

submitted by crpietschmanncrpietschmann(11.1k) 3 months, 24 days ago

The ASP.NET team today released a significant new update of the Microsoft Ajax Library (Preview 6). This update includes a bunch of new capabilities and improvements to our client-side AJAX library, and can be used with any version of ASP.NET (including ASP.NET 2.0, 3.5 and 4.0), and can be used in both ASP.NET Web Forms and ASP.NET MVC projects. Today’s release includes the following feature improvements: * Better Imperative Syntax: A new, simplified, code syntax for creating client controls. * Client Script Loader: A new client-side script loader that can dynamically load all of the JavaScript files required by a client control or library automatically, and executes the scripts in the right order. * Better jQuery Integration: All Microsoft Ajax controls are now automatically exposed as jQuery plug-ins. read more...

add a comment | category: | Views: 18

tags: another

A Simple ScriptManager for ASP.NET MVC (pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.1k) 3 months, 25 days ago

The ASP.NET AJAX ScriptManager makes it really easy to include JavaScript references and register JavaScript blocks into the rendered Page output of an ASP.NET WebForms application. However nice the ScriptManager control is, it’s still just a WebForms control for use with ASP.NET AJAX; thus it’s use isn’t really supported with ASP.NET MVC. Also, to make things just a little more difficult, ASP.NET MVC doesn’t have it’s own “ScriptManager” implementation. This brings me to the point of posting this… I have worked out a really simple “ScriptManager” component for use with ASP.NET MVC, and I think it works really nice to help simplify the effort of including JavaScript blocks and references in a page read more...

add a comment | category: | Views: 25

tags: another

My ASP.NET MVC stack and why I chosen it (codeclimber.net.nz)

published 3 months, 25 days ago, submitted by keyvankeyvan(4040) 3 months, 25 days ago

In this post Simone Chiaretta talks about the tools, components, and technologies he uses along with ASP.NET MVC to build web applications. read more...

add a comment | category: | Views: 569

tags: another