subnus

Stories kicked by subnus

Tips for Managing ASP.NET MVC Views(michaelhamrah.com)

submitted by trimalchiotrimalchio(425) 3 years, 3 months ago

The author gives some tips on managing asp.net mvc views and organizing files withing an asp.net mvc project. Includes suggestions on keeping code out of views. read more...

1 comment |category: |Views: 407

tags: another

xVal - a validation framework for ASP.NET MVC(blog.codeville.net)

submitted by MarwanMarwan(850) 3 years, 4 months ago

xVal lets you link up your choice of server-side validation mechanism with your choice of client-side validation library. It guides you to fit them both into ASP.NET MVC conventions, so everything plays nicely with model binding and errors registered in ModelState. read more...

1 comment |category: |Views: 297

tags: another

Silverlight now included in Windows Live downloads(blogs.msdn.com)

submitted by igoroigoro(815) 3 years, 4 months ago

Exciting news for those of us writing Silverlight applications: Windows Live downloads now include Silverlight in the installation. read more...

add a comment |category: |Views: 4

tags: another

Generic Method Overloading Selection Pitfall(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 4 months ago

Recently I ran into a very unexpected behavior when working with an overloaded generic method. Basically, the selection process for overloaded versions of generic methods is different than their non-generic counterparts. Please be aware of this issue! read more...

add a comment |category: |Views: 255

tags: another

My baseline ASP.Net MVC modifications(ayende.com)

submitted by adminjewadminjew(1490) 3 years, 4 months ago

We start by killing ViewData. I don't want it, and I want to fail hard if someone is trying to use it read more...

add a comment |category: |Views: 14

tags: another

Introducing a new large scale ASP.NET MVC project framework: Unifico(codeplex.com)

submitted by dvogtdvogt(120) 3 years, 4 months ago

Written in C# against MVC Beta and ASP.NET 3.5.1 the code currently recreates the account ‘component’ of the MVC example template with a simple SQL Repository. The ASP.NET Membership Provider is completely replaced with a component written against the Unifico Framework’s pattern. In this example several things are achieved: * A Service Oriented Architecture (SOA) ready to be remoted through Windows Communication Foundation while using StructureMap to provide dependency injection from WCF. * A repository based data source also protected with dependency injection that is exposed through in a pipes and filters manor. LINQ to SQL is used within a particular repository implementation, but is in no way exposed to the service. * A Model View Controller (MVC) pattern is also used. The only objects returned from a service are models, and all controller activity is within the service itself. Virtual Paths are used to store the views within the component’s assembly. * Utility methods have been developed to provide paging across the service interfaces while leaving the ‘control’ in the hands of the service. The paging methods support multiple filters and multiple sorts within any paging method for a general service. * The framework supports unit testing, however unit tests need to be added specifically for the account service. A project has been setup to show where this is done. * ‘Form’ Models are used for requests to a service to allow all validation for a request to occur within the service. The responsibility of form validation is retained within a service in this manor, and prevents outside code from creating models. read more...

2 comments |category: |Views: 510

tags: another

Alt.NET Podcast Episode 13: Ruby on Rails(altnetpodcast.com)

submitted by blowmageblowmage(455) 3 years, 4 months ago

Brian Eng and Jeff Cohen from the Softies on Rails blog, and James Avery discuss the Ruby on Rails web framework and what Alt.NET can learn from it. read more...

add a comment |category: |Views: 186

tags: another

Compressing JS files as part of your build process(codebetter.com)

submitted by johnsheehanjohnsheehan(4785) 3 years, 4 months ago

Ideally, we want to develop using readable JavaScript files (even 3rd party files) and deploy compressed/obfuscated code. Our solution has simply been to apply a post-build task to our project. Here's what we did read more...

1 comment |category: |Views: 382

tags: another

Mohammad Azam and Keyvan Nayyeri podcast on ASP.NET MVC(highoncoding.com)

submitted by sharplifesharplife(4570) 3 years, 4 months ago

Azam Sharp has recorded a podcast featuring Keyvan Nayyeri and has talked to him about ASP.NET MVC and how it can benefit us in our web development. read more...

add a comment |category: |Views: 19

tags: another

Using JsonResult in ASP.NET MVC AJAX(nayyeri.net)

submitted by mosessaurmosessaur(5424) 3 years, 5 months ago

In ASP.NET MVC you can write action methods that return a variety of types to be used in your views to obtain data for AJAX interactions. Most common types are string and ActionResult, but there is also an option called JsonResult which returns its values as JSON serialized data. The returned data can be used easily in client-side as appropriate. read more...

add a comment |category: |Views: 586

tags: another

BlogEngine.NET Backup Manager(blog.sb2.fr)

submitted by ethilikethilik(1855) 3 years, 5 months ago

A simple Backup Manager for BlogEngine.NET in order to perform some entire Weblog Backups. read more...

add a comment |category: |Views: 256

tags: another

Holiday Goodie Bag: Free C# and VB Coding Standards Reference Document(notsotrivial.net)

submitted by leedumondleedumond(2144) 3 years, 5 months ago

Clint Edmonson presents his latest incarnations of his C# and VB.NET reference coding standards in .doc format, suitable for print/distribution to your development staff. You may not agree 100% with the standards presented, but these very well-though out documents will at least give you a head start towards documenting your own. read more...

add a comment |category: |Views: 21

tags: another

Encosia Best of 2005, 5 most popular posts(encosia.com)

submitted by mosessaurmosessaur(5424) 3 years, 5 months ago

Reviewing Dave's stats for the year, you might think the only topic Dave wrote about is jQuery. Of the posts he has written in 2008, 80% of the most popular posts have been jQuery related. read more...

4 comments |category: |Views: 262

tags: another

Url Rewrite ASP.NET 2.0 and HttpUnhandledException(apijunkie.com)

submitted by APIJunkieAPIJunkie(539) 3 years, 5 months ago

I was really surprised to discover this bug a couple of days back while working on an ASP.Net 2.0 web site. I spent several hours barking up the wrong code tree since I was convinced it had to do with some recent code changes I made. But as it turns out this problem is as old as the server itself and for some reason has not been fixed by any .Net patches. read more...

add a comment |category: |Views: 25

tags: another

Editing a variable-length list of items in ASP.NET MVC(blog.codeville.net)

submitted by desmonddesmond(2014) 3 years, 5 months ago

It’s always awkward to create the right UI for variable-length lists, because you don’t know how many input controls to render. How would you do it with ASP.NET MVC? Steven Sanderson shows a fairly elegant technique, including a live demo. read more...

add a comment |category: |Views: 296

tags: another

Generic Repository(codebetter.com)

submitted by brandewinderbrandewinder(530) 3 years, 5 months ago

The purpose behind the repository pattern is to provide a layer of abstraction between your domain and data layer. For smaller projects, this typically isn't needed. However, larger projects can really benefit from a broker that specifically handles the back and forth between the two layers. With repositories your domain objects aren't burdened with infrastructure details and can therefore better focus on domain-specific behavior. read more...

add a comment |category: |Views: 1227

tags: another