alley

Stories submitted by alley

Embedding pre-compiled Razor views in your dll(www.chrisvandesteeg.nl)

submitted by alleyalley(2840) 1 year, 6 months ago

Inspired by David Ebbo’s blog post ‘Turn your Razor helpers into reusable libraries’ I wanted to be able to embed compiled Razor views in a dll. This would allow for easy distribution of asp.net mvc ‘modules’ that have their default views embedded, but allowing you to place files in your ‘views’ folder to override those default views read more...

add a comment |category: |Views: 356

tags: another

Learning Bourne – Tiered CRUD Part I(sharplearningcurve.com)

submitted by alleyalley(2840) 2 years, 6 months ago

The first demo I thought I’d throw together is a tiered ASP.Net MVC application which uses a tender-flakey WCF service layer baked right in. I’m calling it Tiered CRUD because it’s a simple CReate Update Delete application that’s contrived as can be. You should absolutely, under no circumstances expect anything mind-blowing or spectacular about this application. It’s not trying to be best practice, it’s just demonstrating the nice stuff Bourne can do for you. read more...

add a comment |category: |Views: 9

tags: another

The Bourne Framework – A High Level Introduction(sharplearningcurve.com)

submitted by alleyalley(2840) 2 years, 6 months ago

A lot of the framework comes from Evan’s past experience with several open source projects. Most of them are fairly widely known: NHibernate FluentNhibernate NHibernateLinq StructureMap MassTransit TopShelf (part of MassTransit) log4Net The framework uses these open source libraries in order to provide out-of-the-box infrastructure for the following types of .Net applications: ASP.Net MVC WCF Windows Services read more...

add a comment |category: |Views: 30

tags: another

ASP.NET MVC, DynamicData, Domain-/RiaServices, Unity and NHibernate(chrisvandesteeg.nl)

submitted by alleyalley(2840) 2 years, 10 months ago

For this project the following (extensive) list of libraries is used (all these libraries are included in the download): * MS ASP.NET Mvc 1.0 * Microsoft .NET RIA Services July 2009 Preview * NHibernate 2.1.0CR1 * NHibernate Linq (latest trunk version) * FluentNhibernate (latest trunk version, patched to work with NHibernate 2.1.0CR1) * MS Unity 1.2 * ASP.NET Dynamic Data MVC Preview (since this project is pretty old, I had to modify it quite a bit, the source is included in the download) * I used Rob Conery’s t4 templates as the base to generate entities from the database. read more...

add a comment |category: |Views: 423

tags: another

Apps for Windows: Silverlight 3 based Twitter Client by Sobees(ithinkdiff.com)

submitted by alleyalley(2840) 2 years, 10 months ago

Apps for Windows: Silverlight 3 based Twitter Client by Sobees <Date: 2009-07-11> <Author: Imran Hussain> 13 Comments Sobees Web Alpha Silverlight 3 Sobees web is a web version of bDule – a Twitter/Facebook client for Windows with a new twist though. It’s made of Silverlight 3 and supports Silverlight out of Browser experience. read more...

add a comment |category: |Views: 13

tags: another

The ASP.NET MVC ActionController – The controllerless action(jeffreypalermo.com)

submitted by alleyalley(2840) 2 years, 11 months ago

There has been quite a bit of discussion about how controllers are really namespaces trying to get out once you use the concept on a nontrivial application. Brian Donahue’s post on The anti-controller revolution prompted me to do this little experiment. He references some twitter posts by Jimmy Bogard, one of my esteemed consultants at Headspring Systems. Chad Myers also has opined about the notion of more independent actions and has cited precedence. read more...

add a comment |category: |Views: 15

tags: another

A BuildProvider to simplify your ASP.NET MVC Actio(blogs.msdn.com)

submitted by alleyalley(2840) 2 years, 11 months ago

A BuildProvider to simplify your ASP.NET MVC Action Links read more...

add a comment |category: |Views: 12

tags: another

Scripting ASP.NET MVC Views Stored In The Database(haacked.com)

submitted by alleyalley(2840) 3 years, 1 month ago

Say you’re building a web application and you want, against your better judgment perhaps, to allow end users to easily customize the look and feel – a comment scenario within a blog engine or any hosted application read more...

add a comment |category: |Views: 154

tags: another

An Aha Moment on MVC Validation Extensibility in DefaultModelBinder (codebetter.com)

submitted by alleyalley(2840) 3 years, 1 month ago

It is obvious that I don't like using IDataErrorInfo for use with a validation framework, like the Validation Application Block, so what is this validation extensibility API that scott mysteriously speaks of? read more...

add a comment |category: |Views: 204

tags: another

Making Unity work more like the others(chrisvandesteeg.nl)

submitted by alleyalley(2840) 3 years, 1 month ago

I love MS Unity as an IoC container, it has some great features. Though I found it to function incorrectly at two points (it’s not that the path chosen by the Unity team is incorrect, I just want/excpect it to act differently). The first thing that bothered me was the fact that Unity throws an exception when Resolve<T> is not able to resolve the given type: I’d prefer it to return null instead, hence most containers do that. The second, even more irritating point, was that ResolveAll<T> only returned the named instances/types instead of all registered types read more...

1 comment |category: |Views: 188

tags: another

The Weekly Source Code 39 - Commodore 64 Emulator in Silverlight 3(hanselman.com)

submitted by alleyalley(2840) 3 years, 1 month ago

I had the pleasure of interviewing Pete Brown this last week and talking about the Silverlight 3 Commodore 64 Emulator he's been working on. He just launched the CodePlex site a few minutes ago (my time), but I've had the code for a while to play with. You can read Tim Heuer's blog post for details on how to get started with Silverlight 3 Beta and the tools you'd need or see some video of the emulator in action. read more...

add a comment |category: |Views: 11

tags: another

Fluent NHibernate’s AutoPersistenceModel: I Love it!(chrisvandesteeg.nl)

submitted by alleyalley(2840) 3 years, 5 months ago

I checked out the latest version of Fluent NHibernate today and noticed the AutoPersistenceModel. I looked at the unit-tests to see what it’s supposed to do and I loved what I saw… read more...

1 comment |category: |Views: 460

tags: another

Grouping Controllers with ASP.NET MVC(haacked.com)

submitted by alleyalley(2840) 3 years, 6 months ago

question that often comes up is how do you group controllers when building a large application with ASP.NET MVC. Often, the question is phrased as whether or not ASP.NET MVC supports “Areas”, a feature of Monorail. According to the Monorail documentation, MonoRail supports the concept of areas, which are logical groups of controllers. All controllers belong to an area. The default area is an empty (unnamed) one read more...

1 comment |category: |Views: 200

tags: another

App Areas in ASP.NET MVC, take 2(blog.codeville.net)

submitted by alleyalley(2840) 3 years, 6 months ago

So the discussion continues: How do you partition an ASP.NET MVC application into separate “areas” or “modules” (e.g., blog module, e-commerce module, forums module), then compose a finished app from those areas or modules? read more...

add a comment |category: |Views: 18

tags: another

ASP.NET MVC Storefront Part 23: WebForms and Dynamic Data(blog.wekeroad.com)

submitted by alleyalley(2840) 3 years, 6 months ago

A few months back I got to talking to J Sawyer who is a Developer Evangelist in the Texas area about the work I've been doing with the MVC Storefront. Before I worked at Microsoft, J was my "main man" with the Commerce Starter Kit - the very first Open Source project I ever worked on. During the course of the conversation J asked me if I had any plans to do any "WebForm-y" stuff; and I said "no" since this was supposed to be an ASP.NET MVC project. But then I started thinking... ASP.NET 3.0 doesn't have any Starter Kits out there (that I know of) and it's time we had one :). If I've done my job right - J should be able to take the back-end goodness (Services, Data Access, Unit Tests, etc) and put them behind an ASP.NET WebForms site. And he did! And thus CSK 3.0 is born. read more...

add a comment |category: |Views: 26

tags: another

ASP.NET MVC: Simplified Localization via ViewEngines(blog.eworldui.net)

submitted by alleyalley(2840) 3 years, 7 months ago

Thanks to Brad, he identified a few areas that made things MUCH simpler from my prior implementation. Notably, while you still have your ViewEngine specify "here's your view's path" there's no longer a need for having a new helper, derived classes, etc. This implementation goes back to the simplified HtmlHelper extension in which you can use in any ViewEngine regardless. It also allows you to "replace" the implementation by just changing the namespace, just as you can do with Html and Ajax. read more...

add a comment |category: |Views: 393

tags: another